Lines Matching refs:bcb
213 struct bulk_cb_wrap *bcb = (struct bulk_cb_wrap *)us->iobuf; in rts51x_bulk_transport() local
221 bcb->Signature = cpu_to_le32(US_BULK_CB_SIGN); in rts51x_bulk_transport()
222 bcb->DataTransferLength = cpu_to_le32(buf_len); in rts51x_bulk_transport()
223 bcb->Flags = (dir == DMA_FROM_DEVICE) ? US_BULK_FLAG_IN : 0; in rts51x_bulk_transport()
224 bcb->Tag = ++us->tag; in rts51x_bulk_transport()
225 bcb->Lun = lun; in rts51x_bulk_transport()
226 bcb->Length = cmd_len; in rts51x_bulk_transport()
229 memset(bcb->CDB, 0, sizeof(bcb->CDB)); in rts51x_bulk_transport()
230 memcpy(bcb->CDB, cmd, bcb->Length); in rts51x_bulk_transport()
234 bcb, cbwlen, NULL); in rts51x_bulk_transport()
300 struct bulk_cb_wrap *bcb = (struct bulk_cb_wrap *) us->iobuf; in rts51x_bulk_transport_special() local
307 bcb->Signature = cpu_to_le32(US_BULK_CB_SIGN); in rts51x_bulk_transport_special()
308 bcb->DataTransferLength = cpu_to_le32(buf_len); in rts51x_bulk_transport_special()
309 bcb->Flags = (dir == DMA_FROM_DEVICE) ? US_BULK_FLAG_IN : 0; in rts51x_bulk_transport_special()
310 bcb->Tag = ++us->tag; in rts51x_bulk_transport_special()
311 bcb->Lun = lun; in rts51x_bulk_transport_special()
312 bcb->Length = cmd_len; in rts51x_bulk_transport_special()
315 memset(bcb->CDB, 0, sizeof(bcb->CDB)); in rts51x_bulk_transport_special()
316 memcpy(bcb->CDB, cmd, bcb->Length); in rts51x_bulk_transport_special()
320 bcb, cbwlen, NULL); in rts51x_bulk_transport_special()