Searched refs:bot_status (Results 1 - 2 of 2) sorted by relevance

/linux-4.1.27/drivers/usb/gadget/legacy/
H A Dtcm_usb_gadget.h111 struct bot_status { struct
138 struct bot_status bot_status; member in struct:f_uas
H A Dtcm_usb_gadget.c78 struct bulk_cs_wrap *csw = &fu->bot_status.csw; bot_enqueue_sense_code()
94 fu->bot_status.req->context = cmd; bot_enqueue_sense_code()
95 ret = usb_ep_queue(fu->ep_in, fu->bot_status.req, GFP_ATOMIC); bot_enqueue_sense_code()
126 struct bulk_cs_wrap *csw = &fu->bot_status.csw; bot_send_bad_status()
160 struct bulk_cs_wrap *csw = &fu->bot_status.csw; bot_send_status()
177 fu->bot_status.req->context = cmd; bot_send_status()
179 ret = usb_ep_queue(fu->ep_in, fu->bot_status.req, GFP_KERNEL); bot_send_status()
332 fu->bot_status.req = usb_ep_alloc_request(fu->ep_in, GFP_KERNEL); bot_prepare_reqs()
333 if (!fu->bot_status.req) bot_prepare_reqs()
336 fu->bot_status.req->buf = &fu->bot_status.csw; bot_prepare_reqs()
337 fu->bot_status.req->length = US_BULK_CS_WRAP_LEN; bot_prepare_reqs()
338 fu->bot_status.req->complete = bot_status_complete; bot_prepare_reqs()
339 fu->bot_status.csw.Signature = cpu_to_le32(US_BULK_CS_SIGN); bot_prepare_reqs()
358 usb_ep_free_request(fu->ep_in, fu->bot_status.req); bot_prepare_reqs()
387 usb_ep_free_request(fu->ep_out, fu->bot_status.req); bot_cleanup_old_alt()
394 fu->bot_status.req = NULL; bot_cleanup_old_alt()

Completed in 101 milliseconds