Home
last modified time | relevance | path

Searched refs:bcb (Results 1 – 7 of 7) sorted by relevance

/linux-6.12.1/drivers/usb/storage/
Dene_ub6250.c492 struct bulk_cb_wrap *bcb = (struct bulk_cb_wrap *) us->iobuf; in ene_send_scsi_cmd() local
498 unsigned int transfer_length = bcb->DataTransferLength; in ene_send_scsi_cmd()
503 bcb, US_BULK_CB_WRAP_LEN, NULL); in ene_send_scsi_cmd()
675 struct bulk_cb_wrap *bcb = (struct bulk_cb_wrap *) us->iobuf; in sd_scsi_read() local
697 memset(bcb, 0, sizeof(struct bulk_cb_wrap)); in sd_scsi_read()
698 bcb->Signature = cpu_to_le32(US_BULK_CB_SIGN); in sd_scsi_read()
699 bcb->DataTransferLength = blenByte; in sd_scsi_read()
700 bcb->Flags = US_BULK_FLAG_IN; in sd_scsi_read()
701 bcb->CDB[0] = 0xF1; in sd_scsi_read()
702 bcb->CDB[5] = (unsigned char)(bnByte); in sd_scsi_read()
[all …]
Dinitializers.c53 struct bulk_cb_wrap *bcb = (struct bulk_cb_wrap*) us->iobuf; in usb_stor_ucr61s2b_init() local
61 bcb->Signature = cpu_to_le32(US_BULK_CB_SIGN); in usb_stor_ucr61s2b_init()
62 bcb->Tag = 0; in usb_stor_ucr61s2b_init()
63 bcb->DataTransferLength = cpu_to_le32(0); in usb_stor_ucr61s2b_init()
64 bcb->Flags = bcb->Lun = 0; in usb_stor_ucr61s2b_init()
65 bcb->Length = sizeof(init_string) - 1; in usb_stor_ucr61s2b_init()
66 memset(bcb->CDB, 0, sizeof(bcb->CDB)); in usb_stor_ucr61s2b_init()
67 memcpy(bcb->CDB, init_string, sizeof(init_string) - 1); in usb_stor_ucr61s2b_init()
69 res = usb_stor_bulk_transfer_buf(us, us->send_bulk_pipe, bcb, in usb_stor_ucr61s2b_init()
Drealtek_cr.c205 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()
[all …]
Dtransport.c1117 struct bulk_cb_wrap *bcb = (struct bulk_cb_wrap *) us->iobuf; in usb_stor_Bulk_transport() local
1133 bcb->Signature = cpu_to_le32(US_BULK_CB_SIGN); in usb_stor_Bulk_transport()
1134 bcb->DataTransferLength = cpu_to_le32(transfer_length); in usb_stor_Bulk_transport()
1135 bcb->Flags = srb->sc_data_direction == DMA_FROM_DEVICE ? in usb_stor_Bulk_transport()
1137 bcb->Tag = ++us->tag; in usb_stor_Bulk_transport()
1138 bcb->Lun = srb->device->lun; in usb_stor_Bulk_transport()
1140 bcb->Lun |= srb->device->id << 4; in usb_stor_Bulk_transport()
1141 bcb->Length = srb->cmd_len; in usb_stor_Bulk_transport()
1144 memset(bcb->CDB, 0, sizeof(bcb->CDB)); in usb_stor_Bulk_transport()
1145 memcpy(bcb->CDB, srb->cmnd, bcb->Length); in usb_stor_Bulk_transport()
[all …]
/linux-6.12.1/drivers/gpu/drm/xlnx/
Dzynqmp_disp.c747 u32 rcr, u32 gy, u32 bcb) in zynqmp_disp_blend_set_bg_color() argument
751 zynqmp_disp_blend_write(disp, ZYNQMP_DISP_V_BLEND_BG_CLR_2, bcb); in zynqmp_disp_blend_set_bg_color()
/linux-6.12.1/drivers/video/fbdev/omap2/omapfb/dss/
Ddispc.c239 int ry, rcr, rcb, gy, gcr, gcb, by, bcr, bcb; member
670 dispc_write_reg(DISPC_OVL_CONV_COEF(plane, 4), CVAL(0, ct->bcb)); in dispc_ovl_write_color_conv_coef()
/linux-6.12.1/drivers/gpu/drm/omapdrm/dss/
Ddispc.c854 int ry, rcb, rcr, gy, gcb, gcr, by, bcb, bcr; member
868 dispc_write_reg(dispc, DISPC_OVL_CONV_COEF(plane, 4), CVAL(0, ct->bcb)); in dispc_ovl_write_color_conv_coef()