Searched refs:USB_PKT_LEN (Results 1 – 3 of 3) sorted by relevance
/linux-4.1.27/drivers/input/misc/ |
D | cm109.c | 88 enum { USB_PKT_LEN = sizeof(struct cm109_ctl_packet) }; enumerator 487 USB_PKT_LEN, USB_CTRL_SET_TIMEOUT); in cm109_toggle_buzzer_sync() 645 usb_free_coherent(dev->udev, USB_PKT_LEN, in cm109_usb_cleanup() 648 usb_free_coherent(dev->udev, USB_PKT_LEN, in cm109_usb_cleanup() 698 dev->irq_data = usb_alloc_coherent(udev, USB_PKT_LEN, in cm109_usb_probe() 703 dev->ctl_data = usb_alloc_coherent(udev, USB_PKT_LEN, in cm109_usb_probe() 724 if (ret != USB_PKT_LEN) in cm109_usb_probe() 726 ret, USB_PKT_LEN); in cm109_usb_probe() 730 USB_PKT_LEN, in cm109_usb_probe() 742 dev->ctl_req->wLength = cpu_to_le16(USB_PKT_LEN); in cm109_usb_probe() [all …]
|
D | yealink.c | 268 for(i=0; i<USB_PKT_LEN-1; i++) in yealink_cmd() 847 usb_free_coherent(yld->udev, USB_PKT_LEN, yld->ctl_data, yld->ctl_dma); in usb_cleanup() 848 usb_free_coherent(yld->udev, USB_PKT_LEN, yld->irq_data, yld->irq_dma); in usb_cleanup() 894 yld->irq_data = usb_alloc_coherent(udev, USB_PKT_LEN, in usb_probe() 899 yld->ctl_data = usb_alloc_coherent(udev, USB_PKT_LEN, in usb_probe() 920 if (ret != USB_PKT_LEN) in usb_probe() 922 ret, USB_PKT_LEN); in usb_probe() 926 USB_PKT_LEN, in usb_probe() 939 yld->ctl_req->wLength = cpu_to_le16(USB_PKT_LEN); in usb_probe() 942 (void *)yld->ctl_req, yld->ctl_data, USB_PKT_LEN, in usb_probe()
|
D | yealink.h | 36 #define USB_PKT_LEN sizeof(struct yld_ctl_packet) macro
|