Lines Matching refs:bot_status
72 struct bulk_cs_wrap *csw = &fu->bot_status.csw; in bot_enqueue_sense_code()
88 fu->bot_status.req->context = cmd; in bot_enqueue_sense_code()
89 ret = usb_ep_queue(fu->ep_in, fu->bot_status.req, GFP_ATOMIC); in bot_enqueue_sense_code()
120 struct bulk_cs_wrap *csw = &fu->bot_status.csw; in bot_send_bad_status()
154 struct bulk_cs_wrap *csw = &fu->bot_status.csw; in bot_send_status()
171 fu->bot_status.req->context = cmd; in bot_send_status()
173 ret = usb_ep_queue(fu->ep_in, fu->bot_status.req, GFP_KERNEL); in bot_send_status()
326 fu->bot_status.req = usb_ep_alloc_request(fu->ep_in, GFP_KERNEL); in bot_prepare_reqs()
327 if (!fu->bot_status.req) in bot_prepare_reqs()
330 fu->bot_status.req->buf = &fu->bot_status.csw; in bot_prepare_reqs()
331 fu->bot_status.req->length = US_BULK_CS_WRAP_LEN; in bot_prepare_reqs()
332 fu->bot_status.req->complete = bot_status_complete; in bot_prepare_reqs()
333 fu->bot_status.csw.Signature = cpu_to_le32(US_BULK_CS_SIGN); in bot_prepare_reqs()
352 usb_ep_free_request(fu->ep_in, fu->bot_status.req); in bot_prepare_reqs()
381 usb_ep_free_request(fu->ep_out, fu->bot_status.req); in bot_cleanup_old_alt()
388 fu->bot_status.req = NULL; in bot_cleanup_old_alt()