Lines Matching full:csw
72 /* CSW completed, wait for next CBW */ in bot_status_complete()
78 struct bulk_cs_wrap *csw = &fu->bot_status.csw; in bot_enqueue_sense_code() local
83 csw->Tag = cmd->bot_tag; in bot_enqueue_sense_code()
84 csw->Status = csw_stat; in bot_enqueue_sense_code()
117 struct bulk_cs_wrap *csw = &fu->bot_status.csw; in bot_send_bad_status() local
121 csw->Residue = cpu_to_le32(cmd->data_len); in bot_send_bad_status()
151 struct bulk_cs_wrap *csw = &fu->bot_status.csw; in bot_send_status() local
158 * the pipe and then send the csw with reside set. in bot_send_status()
165 csw->Tag = cmd->bot_tag; in bot_send_status()
166 csw->Residue = cpu_to_le32(0); in bot_send_status()
167 csw->Status = US_BULK_STAT_OK; in bot_send_status()
193 /* Read request completed, now we have to send the CSW */
328 fu->bot_status.req->buf = &fu->bot_status.csw; in bot_prepare_reqs()
331 fu->bot_status.csw.Signature = cpu_to_le32(US_BULK_CS_SIGN); in bot_prepare_reqs()