Lines Matching refs:bcb
204 struct bulk_cb_wrap *bcb = (struct bulk_cb_wrap *)us->iobuf; in rts51x_bulk_transport() local
212 bcb->Signature = cpu_to_le32(US_BULK_CB_SIGN); in rts51x_bulk_transport()
213 bcb->DataTransferLength = cpu_to_le32(buf_len); in rts51x_bulk_transport()
214 bcb->Flags = (dir == DMA_FROM_DEVICE) ? US_BULK_FLAG_IN : 0; in rts51x_bulk_transport()
215 bcb->Tag = ++us->tag; in rts51x_bulk_transport()
216 bcb->Lun = lun; in rts51x_bulk_transport()
217 bcb->Length = cmd_len; in rts51x_bulk_transport()
220 memset(bcb->CDB, 0, sizeof(bcb->CDB)); in rts51x_bulk_transport()
221 memcpy(bcb->CDB, cmd, bcb->Length); in rts51x_bulk_transport()
225 bcb, cbwlen, NULL); in rts51x_bulk_transport()
294 struct bulk_cb_wrap *bcb = (struct bulk_cb_wrap *) us->iobuf; in rts51x_bulk_transport_special() local
301 bcb->Signature = cpu_to_le32(US_BULK_CB_SIGN); in rts51x_bulk_transport_special()
302 bcb->DataTransferLength = cpu_to_le32(buf_len); in rts51x_bulk_transport_special()
303 bcb->Flags = (dir == DMA_FROM_DEVICE) ? US_BULK_FLAG_IN : 0; in rts51x_bulk_transport_special()
304 bcb->Tag = ++us->tag; in rts51x_bulk_transport_special()
305 bcb->Lun = lun; in rts51x_bulk_transport_special()
306 bcb->Length = cmd_len; in rts51x_bulk_transport_special()
309 memset(bcb->CDB, 0, sizeof(bcb->CDB)); in rts51x_bulk_transport_special()
310 memcpy(bcb->CDB, cmd, bcb->Length); in rts51x_bulk_transport_special()
314 bcb, cbwlen, NULL); in rts51x_bulk_transport_special()