Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/input/joystick/iforce/
Diforce-usb.c12 struct iforce_usb { struct
25 struct iforce_usb *iforce_usb = container_of(iforce, struct iforce_usb, in __iforce_usb_xmit() argument
38 ((char *)iforce_usb->out->transfer_buffer)[0] = iforce->xmit.buf[iforce->xmit.tail]; in __iforce_usb_xmit()
43 iforce_usb->out->transfer_buffer_length = n + 1; in __iforce_usb_xmit()
44 iforce_usb->out->dev = iforce_usb->usbdev; in __iforce_usb_xmit()
50 memcpy(iforce_usb->out->transfer_buffer + 1, in __iforce_usb_xmit()
54 memcpy(iforce_usb->out->transfer_buffer + 1 + c, in __iforce_usb_xmit()
60 if ( (n=usb_submit_urb(iforce_usb->out, GFP_ATOMIC)) ) { in __iforce_usb_xmit()
62 dev_warn(&iforce_usb->intf->dev, in __iforce_usb_xmit()
81 struct iforce_usb *iforce_usb = container_of(iforce, struct iforce_usb, in iforce_usb_get_id() local
[all …]