Home
last modified time | relevance | path

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

/openbmc/linux/drivers/input/misc/
H A Dcm109.c85 enum { USB_PKT_LEN = sizeof(struct cm109_ctl_packet) }; enumerator
509 USB_PKT_LEN, USB_CTRL_SET_TIMEOUT); in cm109_toggle_buzzer_sync()
669 usb_free_coherent(dev->udev, USB_PKT_LEN, dev->ctl_data, dev->ctl_dma); in cm109_usb_cleanup()
670 usb_free_coherent(dev->udev, USB_PKT_LEN, dev->irq_data, dev->irq_dma); in cm109_usb_cleanup()
723 dev->irq_data = usb_alloc_coherent(udev, USB_PKT_LEN, in cm109_usb_probe()
728 dev->ctl_data = usb_alloc_coherent(udev, USB_PKT_LEN, in cm109_usb_probe()
749 if (ret != USB_PKT_LEN) in cm109_usb_probe()
751 ret, USB_PKT_LEN); in cm109_usb_probe()
755 USB_PKT_LEN, in cm109_usb_probe()
767 dev->ctl_req->wLength = cpu_to_le16(USB_PKT_LEN); in cm109_usb_probe()
[all …]
H A Dyealink.c253 for(i=0; i<USB_PKT_LEN-1; i++) in yealink_cmd()
832 usb_free_coherent(yld->udev, USB_PKT_LEN, yld->ctl_data, yld->ctl_dma); in usb_cleanup()
833 usb_free_coherent(yld->udev, USB_PKT_LEN, yld->irq_data, yld->irq_dma); in usb_cleanup()
883 yld->irq_data = usb_alloc_coherent(udev, USB_PKT_LEN, in usb_probe()
888 yld->ctl_data = usb_alloc_coherent(udev, USB_PKT_LEN, in usb_probe()
909 if (ret != USB_PKT_LEN) in usb_probe()
911 ret, USB_PKT_LEN); in usb_probe()
915 USB_PKT_LEN, in usb_probe()
928 yld->ctl_req->wLength = cpu_to_le16(USB_PKT_LEN); in usb_probe()
931 (void *)yld->ctl_req, yld->ctl_data, USB_PKT_LEN, in usb_probe()
H A Dyealink.h22 #define USB_PKT_LEN sizeof(struct yld_ctl_packet) macro