Searched refs:USB_PKT_LEN (Results 1 – 3 of 3) sorted by relevance
/linux/drivers/input/misc/ |
H A D | cm109.c | 85 enum { USB_PKT_LEN = sizeof(struct cm109_ctl_packet) }; enumerator 504 USB_PKT_LEN, USB_CTRL_SET_TIMEOUT); in cm109_toggle_buzzer_sync() 660 usb_free_coherent(dev->udev, USB_PKT_LEN, dev->ctl_data, dev->ctl_dma); in cm109_usb_cleanup() 661 usb_free_coherent(dev->udev, USB_PKT_LEN, dev->irq_data, dev->irq_dma); in cm109_usb_cleanup() 714 dev->irq_data = usb_alloc_coherent(udev, USB_PKT_LEN, in cm109_usb_probe() 719 dev->ctl_data = usb_alloc_coherent(udev, USB_PKT_LEN, in cm109_usb_probe() 740 if (ret != USB_PKT_LEN) in cm109_usb_probe() 742 ret, USB_PKT_LEN); in cm109_usb_probe() 746 USB_PKT_LEN, in cm109_usb_probe() 758 dev->ctl_req->wLength = cpu_to_le16(USB_PKT_LEN); in cm109_usb_probe() [all …]
|
H A D | yealink.c | 255 for(i=0; i<USB_PKT_LEN-1; i++) in yealink_cmd() 800 usb_free_coherent(yld->udev, USB_PKT_LEN, yld->ctl_data, yld->ctl_dma); in usb_cleanup() 801 usb_free_coherent(yld->udev, USB_PKT_LEN, yld->irq_data, yld->irq_dma); in usb_cleanup() 847 yld->irq_data = usb_alloc_coherent(udev, USB_PKT_LEN, in usb_probe() 852 yld->ctl_data = usb_alloc_coherent(udev, USB_PKT_LEN, in usb_probe() 873 if (ret != USB_PKT_LEN) in usb_probe() 875 ret, USB_PKT_LEN); in usb_probe() 879 USB_PKT_LEN, in usb_probe() 892 yld->ctl_req->wLength = cpu_to_le16(USB_PKT_LEN); in usb_probe() 895 (void *)yld->ctl_req, yld->ctl_data, USB_PKT_LEN, in usb_probe()
|
H A D | yealink.h | 22 #define USB_PKT_LEN sizeof(struct yld_ctl_packet) macro
|