Lines Matching refs:creq
3280 const struct usb_ctrlrequest *creq) in ffs_func_setup() argument
3287 pr_vdebug("creq->bRequestType = %02x\n", creq->bRequestType); in ffs_func_setup()
3288 pr_vdebug("creq->bRequest = %02x\n", creq->bRequest); in ffs_func_setup()
3289 pr_vdebug("creq->wValue = %04x\n", le16_to_cpu(creq->wValue)); in ffs_func_setup()
3290 pr_vdebug("creq->wIndex = %04x\n", le16_to_cpu(creq->wIndex)); in ffs_func_setup()
3291 pr_vdebug("creq->wLength = %04x\n", le16_to_cpu(creq->wLength)); in ffs_func_setup()
3306 switch (creq->bRequestType & USB_RECIP_MASK) { in ffs_func_setup()
3308 ret = ffs_func_revmap_intf(func, le16_to_cpu(creq->wIndex)); in ffs_func_setup()
3314 ret = ffs_func_revmap_ep(func, le16_to_cpu(creq->wIndex)); in ffs_func_setup()
3323 ret = le16_to_cpu(creq->wIndex); in ffs_func_setup()
3329 ffs->ev.setup = *creq; in ffs_func_setup()
3334 return creq->wLength == 0 ? USB_GADGET_DELAYED_STATUS : 0; in ffs_func_setup()
3338 const struct usb_ctrlrequest *creq, in ffs_func_req_match() argument
3346 switch (creq->bRequestType & USB_RECIP_MASK) { in ffs_func_req_match()
3349 le16_to_cpu(creq->wIndex)) >= 0); in ffs_func_req_match()
3352 le16_to_cpu(creq->wIndex)) >= 0); in ffs_func_req_match()