/linux-2.6.39/drivers/staging/keucr/ |
D | smilsub.c | 254 struct bulk_cb_wrap *bcb = (struct bulk_cb_wrap *) us->iobuf; in Ssfdc_D_ReadSect() local 269 memset(bcb, 0, sizeof(struct bulk_cb_wrap)); in Ssfdc_D_ReadSect() 270 bcb->Signature = cpu_to_le32(US_BULK_CB_SIGN); in Ssfdc_D_ReadSect() 271 bcb->DataTransferLength = 0x200; in Ssfdc_D_ReadSect() 272 bcb->Flags = 0x80; in Ssfdc_D_ReadSect() 273 bcb->CDB[0] = 0xF1; in Ssfdc_D_ReadSect() 274 bcb->CDB[1] = 0x02; in Ssfdc_D_ReadSect() 275 bcb->CDB[4] = (BYTE)addr; in Ssfdc_D_ReadSect() 276 bcb->CDB[3] = (BYTE)(addr/0x0100); in Ssfdc_D_ReadSect() 277 bcb->CDB[2] = Media.Zone/2; in Ssfdc_D_ReadSect() [all …]
|
D | init.c | 52 struct bulk_cb_wrap *bcb = (struct bulk_cb_wrap *) us->iobuf; in ENE_Read_BYTE() local 55 memset(bcb, 0, sizeof(struct bulk_cb_wrap)); in ENE_Read_BYTE() 56 bcb->Signature = cpu_to_le32(US_BULK_CB_SIGN); in ENE_Read_BYTE() 57 bcb->DataTransferLength = 0x01; in ENE_Read_BYTE() 58 bcb->Flags = 0x80; in ENE_Read_BYTE() 59 bcb->CDB[0] = 0xED; in ENE_Read_BYTE() 60 bcb->CDB[2] = (BYTE)(index>>8); in ENE_Read_BYTE() 61 bcb->CDB[3] = (BYTE)index; in ENE_Read_BYTE() 72 struct bulk_cb_wrap *bcb = (struct bulk_cb_wrap *) us->iobuf; in ENE_MSInit() local 84 memset(bcb, 0, sizeof(struct bulk_cb_wrap)); in ENE_MSInit() [all …]
|
D | ms.c | 12 struct bulk_cb_wrap *bcb = (struct bulk_cb_wrap *) us->iobuf; in MS_ReaderCopyBlock() local 20 memset(bcb, 0, sizeof(struct bulk_cb_wrap)); in MS_ReaderCopyBlock() 21 bcb->Signature = cpu_to_le32(US_BULK_CB_SIGN); in MS_ReaderCopyBlock() 22 bcb->DataTransferLength = 0x200*len; in MS_ReaderCopyBlock() 23 bcb->Flags = 0x00; in MS_ReaderCopyBlock() 24 bcb->CDB[0] = 0xF0; in MS_ReaderCopyBlock() 25 bcb->CDB[1] = 0x08; in MS_ReaderCopyBlock() 26 bcb->CDB[4] = (BYTE)(oldphy); in MS_ReaderCopyBlock() 27 bcb->CDB[3] = (BYTE)(oldphy>>8); in MS_ReaderCopyBlock() 28 bcb->CDB[2] = (BYTE)(oldphy>>16); in MS_ReaderCopyBlock() [all …]
|
D | msscsi.c | 125 struct bulk_cb_wrap *bcb = (struct bulk_cb_wrap *) us->iobuf; in MS_SCSI_Read() local 148 memset(bcb, 0, sizeof(struct bulk_cb_wrap)); in MS_SCSI_Read() 149 bcb->Signature = cpu_to_le32(US_BULK_CB_SIGN); in MS_SCSI_Read() 150 bcb->DataTransferLength = blenByte; in MS_SCSI_Read() 151 bcb->Flags = 0x80; in MS_SCSI_Read() 152 bcb->CDB[0] = 0xF1; in MS_SCSI_Read() 153 bcb->CDB[1] = 0x02; in MS_SCSI_Read() 154 bcb->CDB[5] = (BYTE)(bn); in MS_SCSI_Read() 155 bcb->CDB[4] = (BYTE)(bn>>8); in MS_SCSI_Read() 156 bcb->CDB[3] = (BYTE)(bn>>16); in MS_SCSI_Read() [all …]
|
D | transport.c | 551 struct bulk_cb_wrap *bcb = (struct bulk_cb_wrap *) us->iobuf; in usb_stor_Bulk_transport() local 569 bcb->Signature = cpu_to_le32(US_BULK_CB_SIGN); in usb_stor_Bulk_transport() 570 bcb->DataTransferLength = cpu_to_le32(transfer_length); in usb_stor_Bulk_transport() 571 bcb->Flags = srb->sc_data_direction == DMA_FROM_DEVICE ? 1 << 7 : 0; in usb_stor_Bulk_transport() 572 bcb->Tag = ++us->tag; in usb_stor_Bulk_transport() 573 bcb->Lun = srb->device->lun; in usb_stor_Bulk_transport() 575 bcb->Lun |= srb->device->id << 4; in usb_stor_Bulk_transport() 576 bcb->Length = srb->cmd_len; in usb_stor_Bulk_transport() 579 memset(bcb->CDB, 0, sizeof(bcb->CDB)); in usb_stor_Bulk_transport() 580 memcpy(bcb->CDB, srb->cmnd, bcb->Length); in usb_stor_Bulk_transport() [all …]
|
/linux-2.6.39/drivers/usb/storage/ |
D | initializers.c | 65 struct bulk_cb_wrap *bcb = (struct bulk_cb_wrap*) us->iobuf; in usb_stor_ucr61s2b_init() local 73 bcb->Signature = cpu_to_le32(US_BULK_CB_SIGN); in usb_stor_ucr61s2b_init() 74 bcb->Tag = 0; in usb_stor_ucr61s2b_init() 75 bcb->DataTransferLength = cpu_to_le32(0); in usb_stor_ucr61s2b_init() 76 bcb->Flags = bcb->Lun = 0; in usb_stor_ucr61s2b_init() 77 bcb->Length = sizeof(init_string) - 1; in usb_stor_ucr61s2b_init() 78 memset(bcb->CDB, 0, sizeof(bcb->CDB)); in usb_stor_ucr61s2b_init() 79 memcpy(bcb->CDB, init_string, sizeof(init_string) - 1); in usb_stor_ucr61s2b_init() 81 res = usb_stor_bulk_transfer_buf(us, us->send_bulk_pipe, bcb, in usb_stor_ucr61s2b_init()
|
D | ene_ub6250.c | 193 struct bulk_cb_wrap *bcb = (struct bulk_cb_wrap *) us->iobuf; in ene_send_scsi_cmd() local 199 unsigned int transfer_length = bcb->DataTransferLength; in ene_send_scsi_cmd() 204 bcb, US_BULK_CB_WRAP_LEN, NULL); in ene_send_scsi_cmd() 358 struct bulk_cb_wrap *bcb = (struct bulk_cb_wrap *) us->iobuf; in sd_scsi_read() local 380 memset(bcb, 0, sizeof(struct bulk_cb_wrap)); in sd_scsi_read() 381 bcb->Signature = cpu_to_le32(US_BULK_CB_SIGN); in sd_scsi_read() 382 bcb->DataTransferLength = blenByte; in sd_scsi_read() 383 bcb->Flags = 0x80; in sd_scsi_read() 384 bcb->CDB[0] = 0xF1; in sd_scsi_read() 385 bcb->CDB[5] = (unsigned char)(bnByte); in sd_scsi_read() [all …]
|
D | transport.c | 1022 struct bulk_cb_wrap *bcb = (struct bulk_cb_wrap *) us->iobuf; in usb_stor_Bulk_transport() local 1038 bcb->Signature = cpu_to_le32(US_BULK_CB_SIGN); in usb_stor_Bulk_transport() 1039 bcb->DataTransferLength = cpu_to_le32(transfer_length); in usb_stor_Bulk_transport() 1040 bcb->Flags = srb->sc_data_direction == DMA_FROM_DEVICE ? 1 << 7 : 0; in usb_stor_Bulk_transport() 1041 bcb->Tag = ++us->tag; in usb_stor_Bulk_transport() 1042 bcb->Lun = srb->device->lun; in usb_stor_Bulk_transport() 1044 bcb->Lun |= srb->device->id << 4; in usb_stor_Bulk_transport() 1045 bcb->Length = srb->cmd_len; in usb_stor_Bulk_transport() 1048 memset(bcb->CDB, 0, sizeof(bcb->CDB)); in usb_stor_Bulk_transport() 1049 memcpy(bcb->CDB, srb->cmnd, bcb->Length); in usb_stor_Bulk_transport() [all …]
|
D | realtek_cr.c | 177 struct bulk_cb_wrap *bcb = (struct bulk_cb_wrap *) us->iobuf; in rts51x_bulk_transport() local 185 bcb->Signature = cpu_to_le32(US_BULK_CB_SIGN); in rts51x_bulk_transport() 186 bcb->DataTransferLength = cpu_to_le32(buf_len); in rts51x_bulk_transport() 187 bcb->Flags = (dir == DMA_FROM_DEVICE) ? 1 << 7 : 0; in rts51x_bulk_transport() 188 bcb->Tag = ++us->tag; in rts51x_bulk_transport() 189 bcb->Lun = lun; in rts51x_bulk_transport() 190 bcb->Length = cmd_len; in rts51x_bulk_transport() 193 memset(bcb->CDB, 0, sizeof(bcb->CDB)); in rts51x_bulk_transport() 194 memcpy(bcb->CDB, cmd, bcb->Length); in rts51x_bulk_transport() 198 bcb, cbwlen, NULL); in rts51x_bulk_transport()
|
/linux-2.6.39/drivers/block/ |
D | ub.c | 909 struct bulk_cb_wrap *bcb; in ub_scsi_cmd_start() local 912 bcb = &sc->work_bcb; in ub_scsi_cmd_start() 926 bcb->Signature = cpu_to_le32(US_BULK_CB_SIGN); in ub_scsi_cmd_start() 927 bcb->Tag = cmd->tag; /* Endianness is not important */ in ub_scsi_cmd_start() 928 bcb->DataTransferLength = cpu_to_le32(cmd->len); in ub_scsi_cmd_start() 929 bcb->Flags = (cmd->dir == UB_DIR_READ) ? 0x80 : 0; in ub_scsi_cmd_start() 930 bcb->Lun = (cmd->lun != NULL) ? cmd->lun->num : 0; in ub_scsi_cmd_start() 931 bcb->Length = cmd->cdb_len; in ub_scsi_cmd_start() 934 memcpy(bcb->CDB, cmd->cdb, UB_MAX_CDB_SIZE); in ub_scsi_cmd_start() 940 bcb, US_BULK_CB_WRAP_LEN, ub_urb_complete, sc); in ub_scsi_cmd_start()
|
/linux-2.6.39/drivers/video/omap/ |
D | dispc.c | 724 int ry, rcr, rcb, gy, gcr, gcb, by, bcr, bcb; in setup_color_conv_coef() member 738 MOD_REG_FLD(cf1_reg + 16, mask, CVAL(0, ct->bcb)); in setup_color_conv_coef() 744 MOD_REG_FLD(cf2_reg + 16, mask, CVAL(0, ct->bcb)); in setup_color_conv_coef()
|
/linux-2.6.39/drivers/video/omap2/dss/ |
D | dispc.c | 770 int ry, rcr, rcb, gy, gcr, gcb, by, bcr, bcb; in _dispc_setup_color_conv_coef() member 786 dispc_write_reg(DISPC_VID_CONV_COEF(0, 4), CVAL(0, ct->bcb)); in _dispc_setup_color_conv_coef() 792 dispc_write_reg(DISPC_VID_CONV_COEF(1, 4), CVAL(0, ct->bcb)); in _dispc_setup_color_conv_coef()
|