Lines Matching refs:bot_status
76 struct bulk_cs_wrap *csw = &fu->bot_status.csw; in bot_enqueue_sense_code()
83 fu->bot_status.req->context = cmd; in bot_enqueue_sense_code()
84 ret = usb_ep_queue(fu->ep_in, fu->bot_status.req, GFP_ATOMIC); in bot_enqueue_sense_code()
115 struct bulk_cs_wrap *csw = &fu->bot_status.csw; in bot_send_bad_status()
149 struct bulk_cs_wrap *csw = &fu->bot_status.csw; in bot_send_status()
166 fu->bot_status.req->context = cmd; in bot_send_status()
168 ret = usb_ep_queue(fu->ep_in, fu->bot_status.req, GFP_KERNEL); in bot_send_status()
321 fu->bot_status.req = usb_ep_alloc_request(fu->ep_in, GFP_KERNEL); in bot_prepare_reqs()
322 if (!fu->bot_status.req) in bot_prepare_reqs()
325 fu->bot_status.req->buf = &fu->bot_status.csw; in bot_prepare_reqs()
326 fu->bot_status.req->length = US_BULK_CS_WRAP_LEN; in bot_prepare_reqs()
327 fu->bot_status.req->complete = bot_status_complete; in bot_prepare_reqs()
328 fu->bot_status.csw.Signature = cpu_to_le32(US_BULK_CS_SIGN); in bot_prepare_reqs()
347 usb_ep_free_request(fu->ep_in, fu->bot_status.req); in bot_prepare_reqs()
376 usb_ep_free_request(fu->ep_in, fu->bot_status.req); in bot_cleanup_old_alt()
383 fu->bot_status.req = NULL; in bot_cleanup_old_alt()