Lines Matching refs:bot_status
78 struct bulk_cs_wrap *csw = &fu->bot_status.csw; in bot_enqueue_sense_code()
85 fu->bot_status.req->context = cmd; in bot_enqueue_sense_code()
86 ret = usb_ep_queue(fu->ep_in, fu->bot_status.req, GFP_ATOMIC); in bot_enqueue_sense_code()
117 struct bulk_cs_wrap *csw = &fu->bot_status.csw; in bot_send_bad_status()
151 struct bulk_cs_wrap *csw = &fu->bot_status.csw; in bot_send_status()
168 fu->bot_status.req->context = cmd; in bot_send_status()
170 ret = usb_ep_queue(fu->ep_in, fu->bot_status.req, GFP_KERNEL); in bot_send_status()
324 fu->bot_status.req = usb_ep_alloc_request(fu->ep_in, GFP_KERNEL); in bot_prepare_reqs()
325 if (!fu->bot_status.req) in bot_prepare_reqs()
328 fu->bot_status.req->buf = &fu->bot_status.csw; in bot_prepare_reqs()
329 fu->bot_status.req->length = US_BULK_CS_WRAP_LEN; in bot_prepare_reqs()
330 fu->bot_status.req->complete = bot_status_complete; in bot_prepare_reqs()
331 fu->bot_status.csw.Signature = cpu_to_le32(US_BULK_CS_SIGN); in bot_prepare_reqs()
350 usb_ep_free_request(fu->ep_in, fu->bot_status.req); in bot_prepare_reqs()
379 usb_ep_free_request(fu->ep_in, fu->bot_status.req); in bot_cleanup_old_alt()
386 fu->bot_status.req = NULL; in bot_cleanup_old_alt()