Lines Matching refs:bcb
205 struct bulk_cb_wrap *bcb = (struct bulk_cb_wrap *)us->iobuf; in rts51x_bulk_transport() local
213 bcb->Signature = cpu_to_le32(US_BULK_CB_SIGN); in rts51x_bulk_transport()
214 bcb->DataTransferLength = cpu_to_le32(buf_len); in rts51x_bulk_transport()
215 bcb->Flags = (dir == DMA_FROM_DEVICE) ? US_BULK_FLAG_IN : 0; in rts51x_bulk_transport()
216 bcb->Tag = ++us->tag; in rts51x_bulk_transport()
217 bcb->Lun = lun; in rts51x_bulk_transport()
218 bcb->Length = cmd_len; in rts51x_bulk_transport()
221 memset(bcb->CDB, 0, sizeof(bcb->CDB)); in rts51x_bulk_transport()
222 memcpy(bcb->CDB, cmd, bcb->Length); in rts51x_bulk_transport()
226 bcb, cbwlen, NULL); in rts51x_bulk_transport()
295 struct bulk_cb_wrap *bcb = (struct bulk_cb_wrap *) us->iobuf; in rts51x_bulk_transport_special() local
302 bcb->Signature = cpu_to_le32(US_BULK_CB_SIGN); in rts51x_bulk_transport_special()
303 bcb->DataTransferLength = cpu_to_le32(buf_len); in rts51x_bulk_transport_special()
304 bcb->Flags = (dir == DMA_FROM_DEVICE) ? US_BULK_FLAG_IN : 0; in rts51x_bulk_transport_special()
305 bcb->Tag = ++us->tag; in rts51x_bulk_transport_special()
306 bcb->Lun = lun; in rts51x_bulk_transport_special()
307 bcb->Length = cmd_len; in rts51x_bulk_transport_special()
310 memset(bcb->CDB, 0, sizeof(bcb->CDB)); in rts51x_bulk_transport_special()
311 memcpy(bcb->CDB, cmd, bcb->Length); in rts51x_bulk_transport_special()
315 bcb, cbwlen, NULL); in rts51x_bulk_transport_special()