cbw 97 drivers/mmc/host/ushc.c struct ushc_cbw *cbw; cbw 277 drivers/mmc/host/ushc.c ushc->cbw->cmd_idx = cpu_to_le16(req->cmd->opcode); cbw 279 drivers/mmc/host/ushc.c ushc->cbw->block_size = cpu_to_le16(req->data->blksz); cbw 281 drivers/mmc/host/ushc.c ushc->cbw->block_size = 0; cbw 282 drivers/mmc/host/ushc.c ushc->cbw->arg = cpu_to_le32(req->cmd->arg); cbw 405 drivers/mmc/host/ushc.c kfree(ushc->cbw); cbw 484 drivers/mmc/host/ushc.c ushc->cbw = kzalloc(sizeof(struct ushc_cbw), GFP_KERNEL); cbw 485 drivers/mmc/host/ushc.c if (ushc->cbw == NULL) { cbw 489 drivers/mmc/host/ushc.c ushc->cbw->signature = USHC_CBW_SIGNATURE; cbw 492 drivers/mmc/host/ushc.c ushc->cbw, sizeof(struct ushc_cbw), cbw 2079 drivers/usb/gadget/function/f_mass_storage.c struct bulk_cb_wrap *cbw = req->buf; cbw 2088 drivers/usb/gadget/function/f_mass_storage.c cbw->Signature != cpu_to_le32( cbw 2092 drivers/usb/gadget/function/f_mass_storage.c le32_to_cpu(cbw->Signature)); cbw 2111 drivers/usb/gadget/function/f_mass_storage.c if (cbw->Lun >= ARRAY_SIZE(common->luns) || cbw 2112 drivers/usb/gadget/function/f_mass_storage.c cbw->Flags & ~US_BULK_FLAG_IN || cbw->Length <= 0 || cbw 2113 drivers/usb/gadget/function/f_mass_storage.c cbw->Length > MAX_COMMAND_SIZE) { cbw 2116 drivers/usb/gadget/function/f_mass_storage.c cbw->Lun, cbw->Flags, cbw->Length); cbw 2130 drivers/usb/gadget/function/f_mass_storage.c common->cmnd_size = cbw->Length; cbw 2131 drivers/usb/gadget/function/f_mass_storage.c memcpy(common->cmnd, cbw->CDB, common->cmnd_size); cbw 2132 drivers/usb/gadget/function/f_mass_storage.c if (cbw->Flags & US_BULK_FLAG_IN) cbw 2136 drivers/usb/gadget/function/f_mass_storage.c common->data_size = le32_to_cpu(cbw->DataTransferLength); cbw 2139 drivers/usb/gadget/function/f_mass_storage.c common->lun = cbw->Lun; cbw 2144 drivers/usb/gadget/function/f_mass_storage.c common->tag = cbw->Tag; cbw 1202 drivers/usb/gadget/function/f_tcm.c struct bulk_cb_wrap *cbw = cmdbuf; cbw 1208 drivers/usb/gadget/function/f_tcm.c if (cbw->Signature != cpu_to_le32(US_BULK_CB_SIGN)) { cbw 1217 drivers/usb/gadget/function/f_tcm.c cmd_len = cbw->Length; cbw 1227 drivers/usb/gadget/function/f_tcm.c cmd = usbg_get_cmd(fu, tv_nexus, cbw->Tag); cbw 1232 drivers/usb/gadget/function/f_tcm.c memcpy(cmd->cmd_buf, cbw->CDB, cmd_len); cbw 1234 drivers/usb/gadget/function/f_tcm.c cmd->bot_tag = cbw->Tag; cbw 1236 drivers/usb/gadget/function/f_tcm.c cmd->unpacked_lun = cbw->Lun; cbw 1237 drivers/usb/gadget/function/f_tcm.c cmd->is_read = cbw->Flags & US_BULK_FLAG_IN ? 1 : 0; cbw 1238 drivers/usb/gadget/function/f_tcm.c cmd->data_len = le32_to_cpu(cbw->DataTransferLength);