Lines Matching refs:bcb
216 struct bulk_cb_wrap *bcb = (struct bulk_cb_wrap *)us->iobuf; in rts51x_bulk_transport() local
224 bcb->Signature = cpu_to_le32(US_BULK_CB_SIGN); in rts51x_bulk_transport()
225 bcb->DataTransferLength = cpu_to_le32(buf_len); in rts51x_bulk_transport()
226 bcb->Flags = (dir == DMA_FROM_DEVICE) ? US_BULK_FLAG_IN : 0; in rts51x_bulk_transport()
227 bcb->Tag = ++us->tag; in rts51x_bulk_transport()
228 bcb->Lun = lun; in rts51x_bulk_transport()
229 bcb->Length = cmd_len; in rts51x_bulk_transport()
232 memset(bcb->CDB, 0, sizeof(bcb->CDB)); in rts51x_bulk_transport()
233 memcpy(bcb->CDB, cmd, bcb->Length); in rts51x_bulk_transport()
237 bcb, cbwlen, NULL); in rts51x_bulk_transport()
303 struct bulk_cb_wrap *bcb = (struct bulk_cb_wrap *) us->iobuf; in rts51x_bulk_transport_special() local
310 bcb->Signature = cpu_to_le32(US_BULK_CB_SIGN); in rts51x_bulk_transport_special()
311 bcb->DataTransferLength = cpu_to_le32(buf_len); in rts51x_bulk_transport_special()
312 bcb->Flags = (dir == DMA_FROM_DEVICE) ? US_BULK_FLAG_IN : 0; in rts51x_bulk_transport_special()
313 bcb->Tag = ++us->tag; in rts51x_bulk_transport_special()
314 bcb->Lun = lun; in rts51x_bulk_transport_special()
315 bcb->Length = cmd_len; in rts51x_bulk_transport_special()
318 memset(bcb->CDB, 0, sizeof(bcb->CDB)); in rts51x_bulk_transport_special()
319 memcpy(bcb->CDB, cmd, bcb->Length); in rts51x_bulk_transport_special()
323 bcb, cbwlen, NULL); in rts51x_bulk_transport_special()