Home
last modified time | relevance | path

Searched refs:USB_PKT_LEN (Results 1 – 3 of 3) sorted by relevance

/Linux-v4.19/drivers/input/misc/
Dcm109.c88 enum { USB_PKT_LEN = sizeof(struct cm109_ctl_packet) }; enumerator
512 USB_PKT_LEN, USB_CTRL_SET_TIMEOUT); in cm109_toggle_buzzer_sync()
670 usb_free_coherent(dev->udev, USB_PKT_LEN, in cm109_usb_cleanup()
673 usb_free_coherent(dev->udev, USB_PKT_LEN, in cm109_usb_cleanup()
727 dev->irq_data = usb_alloc_coherent(udev, USB_PKT_LEN, in cm109_usb_probe()
732 dev->ctl_data = usb_alloc_coherent(udev, USB_PKT_LEN, in cm109_usb_probe()
753 if (ret != USB_PKT_LEN) in cm109_usb_probe()
755 ret, USB_PKT_LEN); in cm109_usb_probe()
759 USB_PKT_LEN, in cm109_usb_probe()
771 dev->ctl_req->wLength = cpu_to_le16(USB_PKT_LEN); in cm109_usb_probe()
[all …]
Dyealink.c266 for(i=0; i<USB_PKT_LEN-1; i++) in yealink_cmd()
845 usb_free_coherent(yld->udev, USB_PKT_LEN, yld->ctl_data, yld->ctl_dma); in usb_cleanup()
846 usb_free_coherent(yld->udev, USB_PKT_LEN, yld->irq_data, yld->irq_dma); in usb_cleanup()
896 yld->irq_data = usb_alloc_coherent(udev, USB_PKT_LEN, in usb_probe()
901 yld->ctl_data = usb_alloc_coherent(udev, USB_PKT_LEN, in usb_probe()
922 if (ret != USB_PKT_LEN) in usb_probe()
924 ret, USB_PKT_LEN); in usb_probe()
928 USB_PKT_LEN, in usb_probe()
941 yld->ctl_req->wLength = cpu_to_le16(USB_PKT_LEN); in usb_probe()
944 (void *)yld->ctl_req, yld->ctl_data, USB_PKT_LEN, in usb_probe()
Dyealink.h36 #define USB_PKT_LEN sizeof(struct yld_ctl_packet) macro