cmdbuf 154 drivers/gpu/drm/drm_mipi_dbi.c u8 *cmdbuf; cmdbuf 158 drivers/gpu/drm/drm_mipi_dbi.c cmdbuf = kmemdup(&cmd, 1, GFP_KERNEL); cmdbuf 159 drivers/gpu/drm/drm_mipi_dbi.c if (!cmdbuf) cmdbuf 163 drivers/gpu/drm/drm_mipi_dbi.c ret = dbi->command(dbi, cmdbuf, data, len); cmdbuf 166 drivers/gpu/drm/drm_mipi_dbi.c kfree(cmdbuf); cmdbuf 316 drivers/gpu/drm/etnaviv/etnaviv_buffer.c struct etnaviv_cmdbuf *cmdbuf) cmdbuf 332 drivers/gpu/drm/etnaviv/etnaviv_buffer.c link_target = etnaviv_cmdbuf_get_va(cmdbuf, cmdbuf 334 drivers/gpu/drm/etnaviv/etnaviv_buffer.c link_dwords = cmdbuf->size / 8; cmdbuf 420 drivers/gpu/drm/etnaviv/etnaviv_buffer.c link_target = etnaviv_cmdbuf_get_va(cmdbuf, cmdbuf 437 drivers/gpu/drm/etnaviv/etnaviv_buffer.c CMD_LINK(cmdbuf, return_dwords, return_target); cmdbuf 465 drivers/gpu/drm/etnaviv/etnaviv_buffer.c etnaviv_cmdbuf_get_va(cmdbuf, &gpu->mmu_context->cmdbuf_mapping), cmdbuf 466 drivers/gpu/drm/etnaviv/etnaviv_buffer.c cmdbuf->vaddr); cmdbuf 470 drivers/gpu/drm/etnaviv/etnaviv_buffer.c cmdbuf->vaddr, cmdbuf->size, 0); cmdbuf 86 drivers/gpu/drm/etnaviv/etnaviv_cmdbuf.c struct etnaviv_cmdbuf *cmdbuf, u32 size) cmdbuf 90 drivers/gpu/drm/etnaviv/etnaviv_cmdbuf.c cmdbuf->suballoc = suballoc; cmdbuf 91 drivers/gpu/drm/etnaviv/etnaviv_cmdbuf.c cmdbuf->size = size; cmdbuf 112 drivers/gpu/drm/etnaviv/etnaviv_cmdbuf.c cmdbuf->suballoc_offset = granule_offs * SUBALLOC_GRANULE; cmdbuf 113 drivers/gpu/drm/etnaviv/etnaviv_cmdbuf.c cmdbuf->vaddr = suballoc->vaddr + cmdbuf->suballoc_offset; cmdbuf 118 drivers/gpu/drm/etnaviv/etnaviv_cmdbuf.c void etnaviv_cmdbuf_free(struct etnaviv_cmdbuf *cmdbuf) cmdbuf 120 drivers/gpu/drm/etnaviv/etnaviv_cmdbuf.c struct etnaviv_cmdbuf_suballoc *suballoc = cmdbuf->suballoc; cmdbuf 121 drivers/gpu/drm/etnaviv/etnaviv_cmdbuf.c int order = order_base_2(ALIGN(cmdbuf->size, SUBALLOC_GRANULE) / cmdbuf 126 drivers/gpu/drm/etnaviv/etnaviv_cmdbuf.c cmdbuf->suballoc_offset / SUBALLOC_GRANULE, cmdbuf 39 drivers/gpu/drm/etnaviv/etnaviv_cmdbuf.h struct etnaviv_cmdbuf *cmdbuf, u32 size); cmdbuf 40 drivers/gpu/drm/etnaviv/etnaviv_cmdbuf.h void etnaviv_cmdbuf_free(struct etnaviv_cmdbuf *cmdbuf); cmdbuf 78 drivers/gpu/drm/etnaviv/etnaviv_drv.h unsigned int event, struct etnaviv_cmdbuf *cmdbuf); cmdbuf 137 drivers/gpu/drm/etnaviv/etnaviv_dump.c mmu_size + gpu->buffer.size + submit->cmdbuf.size; cmdbuf 179 drivers/gpu/drm/etnaviv/etnaviv_dump.c submit->cmdbuf.vaddr, submit->cmdbuf.size, cmdbuf 180 drivers/gpu/drm/etnaviv/etnaviv_dump.c etnaviv_cmdbuf_get_va(&submit->cmdbuf, cmdbuf 101 drivers/gpu/drm/etnaviv/etnaviv_gem.h struct etnaviv_cmdbuf cmdbuf; cmdbuf 381 drivers/gpu/drm/etnaviv/etnaviv_gem_submit.c if (submit->cmdbuf.suballoc) cmdbuf 382 drivers/gpu/drm/etnaviv/etnaviv_gem_submit.c etnaviv_cmdbuf_free(&submit->cmdbuf); cmdbuf 531 drivers/gpu/drm/etnaviv/etnaviv_gem_submit.c ret = etnaviv_cmdbuf_init(priv->cmdbuf_suballoc, &submit->cmdbuf, cmdbuf 574 drivers/gpu/drm/etnaviv/etnaviv_gem_submit.c memcpy(submit->cmdbuf.vaddr, stream, args->stream_size); cmdbuf 1320 drivers/gpu/drm/etnaviv/etnaviv_gpu.c submit->cmdbuf.user_size = submit->cmdbuf.size - 8; cmdbuf 1322 drivers/gpu/drm/etnaviv/etnaviv_gpu.c event[0], &submit->cmdbuf); cmdbuf 95 drivers/gpu/drm/gma500/accel_2d.c static int psbfb_2d_submit(struct drm_psb_private *dev_priv, uint32_t *cmdbuf, cmdbuf 114 drivers/gpu/drm/gma500/accel_2d.c PSB_WSGX32(*cmdbuf++, PSB_SGX_2D_SLAVE_PORT + i); cmdbuf 916 drivers/gpu/drm/savage/savage_state.c const drm_savage_cmd_header_t *cmdbuf; cmdbuf 919 drivers/gpu/drm/savage/savage_state.c cmdbuf = start; cmdbuf 920 drivers/gpu/drm/savage/savage_state.c while (cmdbuf < end) { cmdbuf 922 drivers/gpu/drm/savage/savage_state.c cmd_header = *cmdbuf; cmdbuf 923 drivers/gpu/drm/savage/savage_state.c cmdbuf++; cmdbuf 938 drivers/gpu/drm/savage/savage_state.c &cmd_header, (const uint16_t *)cmdbuf, cmdbuf 940 drivers/gpu/drm/savage/savage_state.c cmdbuf += j; cmdbuf 946 drivers/gpu/drm/savage/savage_state.c &cmd_header, (const uint16_t *)cmdbuf, cmdbuf 949 drivers/gpu/drm/savage/savage_state.c cmdbuf += j; cmdbuf 972 drivers/gpu/drm/savage/savage_state.c drm_savage_cmdbuf_t *cmdbuf = data; cmdbuf 985 drivers/gpu/drm/savage/savage_state.c if (cmdbuf->dma_idx >= dma->buf_count) { cmdbuf 988 drivers/gpu/drm/savage/savage_state.c cmdbuf->dma_idx, dma->buf_count - 1); cmdbuf 991 drivers/gpu/drm/savage/savage_state.c dmabuf = dma->buflist[cmdbuf->dma_idx]; cmdbuf 1001 drivers/gpu/drm/savage/savage_state.c if (cmdbuf->size) { cmdbuf 1002 drivers/gpu/drm/savage/savage_state.c kcmd_addr = kmalloc_array(cmdbuf->size, 8, GFP_KERNEL); cmdbuf 1006 drivers/gpu/drm/savage/savage_state.c if (copy_from_user(kcmd_addr, cmdbuf->cmd_addr, cmdbuf 1007 drivers/gpu/drm/savage/savage_state.c cmdbuf->size * 8)) cmdbuf 1012 drivers/gpu/drm/savage/savage_state.c cmdbuf->cmd_addr = kcmd_addr; cmdbuf 1014 drivers/gpu/drm/savage/savage_state.c if (cmdbuf->vb_size) { cmdbuf 1015 drivers/gpu/drm/savage/savage_state.c kvb_addr = memdup_user(cmdbuf->vb_addr, cmdbuf->vb_size); cmdbuf 1021 drivers/gpu/drm/savage/savage_state.c cmdbuf->vb_addr = kvb_addr; cmdbuf 1023 drivers/gpu/drm/savage/savage_state.c if (cmdbuf->nbox) { cmdbuf 1024 drivers/gpu/drm/savage/savage_state.c kbox_addr = kmalloc_array(cmdbuf->nbox, sizeof(struct drm_clip_rect), cmdbuf 1031 drivers/gpu/drm/savage/savage_state.c if (copy_from_user(kbox_addr, cmdbuf->box_addr, cmdbuf 1032 drivers/gpu/drm/savage/savage_state.c cmdbuf->nbox * sizeof(struct drm_clip_rect))) { cmdbuf 1036 drivers/gpu/drm/savage/savage_state.c cmdbuf->box_addr = kbox_addr; cmdbuf 1049 drivers/gpu/drm/savage/savage_state.c while (i < cmdbuf->size) { cmdbuf 1051 drivers/gpu/drm/savage/savage_state.c cmd_header = *(drm_savage_cmd_header_t *)cmdbuf->cmd_addr; cmdbuf 1052 drivers/gpu/drm/savage/savage_state.c cmdbuf->cmd_addr++; cmdbuf 1062 drivers/gpu/drm/savage/savage_state.c if (i + j > cmdbuf->size) { cmdbuf 1073 drivers/gpu/drm/savage/savage_state.c first_draw_cmd = cmdbuf->cmd_addr - 1; cmdbuf 1074 drivers/gpu/drm/savage/savage_state.c cmdbuf->cmd_addr += j; cmdbuf 1081 drivers/gpu/drm/savage/savage_state.c cmdbuf->cmd_addr - 1, cmdbuf 1082 drivers/gpu/drm/savage/savage_state.c dmabuf, cmdbuf->vb_addr, cmdbuf->vb_size, cmdbuf 1083 drivers/gpu/drm/savage/savage_state.c cmdbuf->vb_stride, cmdbuf 1084 drivers/gpu/drm/savage/savage_state.c cmdbuf->nbox, cmdbuf->box_addr); cmdbuf 1096 drivers/gpu/drm/savage/savage_state.c if (i + j > cmdbuf->size) { cmdbuf 1104 drivers/gpu/drm/savage/savage_state.c (const uint32_t *)cmdbuf->cmd_addr); cmdbuf 1105 drivers/gpu/drm/savage/savage_state.c cmdbuf->cmd_addr += j; cmdbuf 1109 drivers/gpu/drm/savage/savage_state.c if (i + 1 > cmdbuf->size) { cmdbuf 1117 drivers/gpu/drm/savage/savage_state.c cmdbuf->cmd_addr, cmdbuf 1118 drivers/gpu/drm/savage/savage_state.c cmdbuf->nbox, cmdbuf 1119 drivers/gpu/drm/savage/savage_state.c cmdbuf->box_addr); cmdbuf 1120 drivers/gpu/drm/savage/savage_state.c cmdbuf->cmd_addr++; cmdbuf 1124 drivers/gpu/drm/savage/savage_state.c ret = savage_dispatch_swap(dev_priv, cmdbuf->nbox, cmdbuf 1125 drivers/gpu/drm/savage/savage_state.c cmdbuf->box_addr); cmdbuf 1143 drivers/gpu/drm/savage/savage_state.c dev_priv, first_draw_cmd, cmdbuf->cmd_addr, dmabuf, cmdbuf 1144 drivers/gpu/drm/savage/savage_state.c cmdbuf->vb_addr, cmdbuf->vb_size, cmdbuf->vb_stride, cmdbuf 1145 drivers/gpu/drm/savage/savage_state.c cmdbuf->nbox, cmdbuf->box_addr); cmdbuf 1154 drivers/gpu/drm/savage/savage_state.c if (dmabuf && cmdbuf->discard) { cmdbuf 291 drivers/gpu/drm/tegra/drm.c u32 cmdbuf, target; cmdbuf 294 drivers/gpu/drm/tegra/drm.c err = get_user(cmdbuf, &src->cmdbuf.handle); cmdbuf 298 drivers/gpu/drm/tegra/drm.c err = get_user(dest->cmdbuf.offset, &src->cmdbuf.offset); cmdbuf 314 drivers/gpu/drm/tegra/drm.c dest->cmdbuf.bo = host1x_bo_lookup(file, cmdbuf); cmdbuf 315 drivers/gpu/drm/tegra/drm.c if (!dest->cmdbuf.bo) cmdbuf 381 drivers/gpu/drm/tegra/drm.c struct drm_tegra_cmdbuf cmdbuf; cmdbuf 386 drivers/gpu/drm/tegra/drm.c if (copy_from_user(&cmdbuf, user_cmdbufs, sizeof(cmdbuf))) { cmdbuf 395 drivers/gpu/drm/tegra/drm.c if (cmdbuf.words > CDMA_GATHER_FETCHES_MAX_NB) { cmdbuf 400 drivers/gpu/drm/tegra/drm.c bo = host1x_bo_lookup(file, cmdbuf.handle); cmdbuf 406 drivers/gpu/drm/tegra/drm.c offset = (u64)cmdbuf.offset + (u64)cmdbuf.words * sizeof(u32); cmdbuf 420 drivers/gpu/drm/tegra/drm.c host1x_job_add_gather(job, bo, cmdbuf.words, cmdbuf.offset); cmdbuf 437 drivers/gpu/drm/tegra/drm.c obj = host1x_to_tegra_bo(reloc->cmdbuf.bo); cmdbuf 445 drivers/gpu/drm/tegra/drm.c if (reloc->cmdbuf.offset & 3 || cmdbuf 446 drivers/gpu/drm/tegra/drm.c reloc->cmdbuf.offset >= obj->gem.size) { cmdbuf 337 drivers/gpu/drm/via/via_dma.c drm_via_cmdbuffer_t *cmdbuf = data; cmdbuf 342 drivers/gpu/drm/via/via_dma.c DRM_DEBUG("buf %p size %lu\n", cmdbuf->buf, cmdbuf->size); cmdbuf 344 drivers/gpu/drm/via/via_dma.c ret = via_dispatch_cmdbuffer(dev, cmdbuf); cmdbuf 373 drivers/gpu/drm/via/via_dma.c drm_via_cmdbuffer_t *cmdbuf = data; cmdbuf 378 drivers/gpu/drm/via/via_dma.c DRM_DEBUG("buf %p size %lu\n", cmdbuf->buf, cmdbuf->size); cmdbuf 380 drivers/gpu/drm/via/via_dma.c ret = via_dispatch_pci_cmdbuffer(dev, cmdbuf); cmdbuf 191 drivers/gpu/host1x/job.c struct host1x_bo *cmdbuf = g->bo; cmdbuf 202 drivers/gpu/host1x/job.c if (cmdbuf != reloc->cmdbuf.bo) cmdbuf 207 drivers/gpu/host1x/job.c reloc->cmdbuf.offset / sizeof(u32) + cmdbuf 212 drivers/gpu/host1x/job.c if (last_page != reloc->cmdbuf.offset >> PAGE_SHIFT) { cmdbuf 214 drivers/gpu/host1x/job.c host1x_bo_kunmap(cmdbuf, last_page, cmdbuf 217 drivers/gpu/host1x/job.c cmdbuf_page_addr = host1x_bo_kmap(cmdbuf, cmdbuf 218 drivers/gpu/host1x/job.c reloc->cmdbuf.offset >> PAGE_SHIFT); cmdbuf 219 drivers/gpu/host1x/job.c last_page = reloc->cmdbuf.offset >> PAGE_SHIFT; cmdbuf 227 drivers/gpu/host1x/job.c target = cmdbuf_page_addr + (reloc->cmdbuf.offset & ~PAGE_MASK); cmdbuf 233 drivers/gpu/host1x/job.c host1x_bo_kunmap(cmdbuf, last_page, cmdbuf_page_addr); cmdbuf 238 drivers/gpu/host1x/job.c static bool check_reloc(struct host1x_reloc *reloc, struct host1x_bo *cmdbuf, cmdbuf 243 drivers/gpu/host1x/job.c if (reloc->cmdbuf.bo != cmdbuf || reloc->cmdbuf.offset != offset) cmdbuf 260 drivers/gpu/host1x/job.c struct host1x_bo *cmdbuf; cmdbuf 279 drivers/gpu/host1x/job.c if (!check_reloc(fw->reloc, fw->cmdbuf, fw->offset)) cmdbuf 379 drivers/gpu/host1x/job.c fw->cmdbuf = g->bo; cmdbuf 151 drivers/hid/i2c-hid/i2c-hid-core.c u8 *cmdbuf; /* Command buffer */ cmdbuf 216 drivers/hid/i2c-hid/i2c-hid-core.c union command *cmd = (union command *)ihid->cmdbuf; cmdbuf 568 drivers/hid/i2c-hid/i2c-hid-core.c kfree(ihid->cmdbuf); cmdbuf 571 drivers/hid/i2c-hid/i2c-hid-core.c ihid->cmdbuf = NULL; cmdbuf 589 drivers/hid/i2c-hid/i2c-hid-core.c ihid->cmdbuf = kzalloc(sizeof(union command) + args_len, GFP_KERNEL); cmdbuf 591 drivers/hid/i2c-hid/i2c-hid-core.c if (!ihid->inbuf || !ihid->rawbuf || !ihid->argsbuf || !ihid->cmdbuf) { cmdbuf 54 drivers/hwmon/pmbus/max31785.c unsigned char cmdbuf[1]; cmdbuf 62 drivers/hwmon/pmbus/max31785.c .len = sizeof(cmdbuf), cmdbuf 63 drivers/hwmon/pmbus/max31785.c .buf = cmdbuf, cmdbuf 73 drivers/hwmon/pmbus/max31785.c cmdbuf[0] = reg; cmdbuf 130 drivers/iio/light/vl6180.c __be16 cmdbuf = cpu_to_be16(cmd); cmdbuf 132 drivers/iio/light/vl6180.c { .addr = client->addr, .len = sizeof(cmdbuf), .buf = (u8 *) &cmdbuf }, cmdbuf 124 drivers/input/serio/libps2.c if (maxbytes > sizeof(ps2dev->cmdbuf)) { cmdbuf 126 drivers/input/serio/libps2.c maxbytes = sizeof(ps2dev->cmdbuf); cmdbuf 193 drivers/input/serio/libps2.c if (ps2dev->cmdbuf[1] == 0xaa) { cmdbuf 204 drivers/input/serio/libps2.c if (!ps2_is_keyboard_id(ps2dev->cmdbuf[1])) { cmdbuf 235 drivers/input/serio/libps2.c if (receive > sizeof(ps2dev->cmdbuf)) { cmdbuf 253 drivers/input/serio/libps2.c ps2dev->cmdbuf[(receive - 1) - i] = param[i]; cmdbuf 299 drivers/input/serio/libps2.c param[i] = ps2dev->cmdbuf[(receive - 1) - i]; cmdbuf 463 drivers/input/serio/libps2.c ps2dev->cmdbuf[--ps2dev->cmdcnt] = data; cmdbuf 176 drivers/media/dvb-frontends/stb6100.c u8 cmdbuf[MAX_XFER_SIZE]; cmdbuf 180 drivers/media/dvb-frontends/stb6100.c .buf = cmdbuf, cmdbuf 184 drivers/media/dvb-frontends/stb6100.c if (1 + len > sizeof(cmdbuf)) { cmdbuf 196 drivers/media/dvb-frontends/stb6100.c memcpy(&cmdbuf[1], buf, len); cmdbuf 197 drivers/media/dvb-frontends/stb6100.c cmdbuf[0] = start; cmdbuf 59 drivers/media/dvb-frontends/stv6110.c u8 cmdbuf[MAX_XFER_SIZE]; cmdbuf 63 drivers/media/dvb-frontends/stv6110.c .buf = cmdbuf, cmdbuf 69 drivers/media/dvb-frontends/stv6110.c if (1 + len > sizeof(cmdbuf)) { cmdbuf 79 drivers/media/dvb-frontends/stv6110.c memcpy(&cmdbuf[1], buf, len); cmdbuf 80 drivers/media/dvb-frontends/stv6110.c cmdbuf[0] = start; cmdbuf 928 drivers/media/rc/mceusb.c u8 cmdbuf[3] = { MCE_CMD_PORT_IR, MCE_CMD_SETIRTXPORTS, 0x00 }; cmdbuf 935 drivers/media/rc/mceusb.c cmdbuf[2] = ir->tx_mask; cmdbuf 936 drivers/media/rc/mceusb.c mce_command_out(ir, cmdbuf, sizeof(cmdbuf)); cmdbuf 1030 drivers/media/rc/mceusb.c unsigned char cmdbuf[4] = { MCE_CMD_PORT_IR, cmdbuf 1038 drivers/media/rc/mceusb.c cmdbuf[2] = MCE_CMD_SIG_END; cmdbuf 1039 drivers/media/rc/mceusb.c cmdbuf[3] = MCE_IRDATA_TRAILER; cmdbuf 1041 drivers/media/rc/mceusb.c mce_command_out(ir, cmdbuf, sizeof(cmdbuf)); cmdbuf 1049 drivers/media/rc/mceusb.c cmdbuf[2] = prescaler; cmdbuf 1050 drivers/media/rc/mceusb.c cmdbuf[3] = divisor; cmdbuf 1055 drivers/media/rc/mceusb.c mce_command_out(ir, cmdbuf, sizeof(cmdbuf)); cmdbuf 1069 drivers/media/rc/mceusb.c u8 cmdbuf[4] = { MCE_CMD_PORT_IR, MCE_CMD_SETIRTIMEOUT, 0, 0 }; cmdbuf 1075 drivers/media/rc/mceusb.c cmdbuf[2] = units >> 8; cmdbuf 1076 drivers/media/rc/mceusb.c cmdbuf[3] = units; cmdbuf 1078 drivers/media/rc/mceusb.c mce_command_out(ir, cmdbuf, sizeof(cmdbuf)); cmdbuf 1094 drivers/media/rc/mceusb.c unsigned char cmdbuf[3] = { MCE_CMD_PORT_IR, cmdbuf 1101 drivers/media/rc/mceusb.c cmdbuf[2] = 2; /* port 2 is short range receiver */ cmdbuf 1104 drivers/media/rc/mceusb.c cmdbuf[2] = 1; /* port 1 is long range receiver */ cmdbuf 1106 drivers/media/rc/mceusb.c mce_command_out(ir, cmdbuf, sizeof(cmdbuf)); cmdbuf 1120 drivers/media/rc/mceusb.c unsigned char cmdbuf[3] = { MCE_CMD_PORT_IR, cmdbuf 1128 drivers/media/rc/mceusb.c cmdbuf[2] = 2; /* port 2 is short range receiver */ cmdbuf 1129 drivers/media/rc/mceusb.c mce_command_out(ir, cmdbuf, sizeof(cmdbuf)); cmdbuf 1139 drivers/media/rc/mceusb.c cmdbuf[2] = 1; /* port 1 is long range receiver */ cmdbuf 1140 drivers/media/rc/mceusb.c mce_command_out(ir, cmdbuf, sizeof(cmdbuf)); cmdbuf 1473 drivers/media/rc/mceusb.c unsigned char cmdbuf[3] = { MCE_CMD_PORT_SYS, cmdbuf 1497 drivers/media/rc/mceusb.c cmdbuf[2] = i; cmdbuf 1498 drivers/media/rc/mceusb.c mce_command_out(ir, cmdbuf, sizeof(cmdbuf)); cmdbuf 120 drivers/media/usb/gspca/kinect.c static int send_cmd(struct gspca_dev *gspca_dev, uint16_t cmd, void *cmdbuf, cmdbuf 142 drivers/media/usb/gspca/kinect.c memcpy(obuf+sizeof(*chdr), cmdbuf, cmd_len); cmdbuf 267 drivers/media/usb/s2255/s2255drv.c __le32 *cmdbuf; cmdbuf 990 drivers/media/usb/s2255/s2255drv.c __le32 *buffer = dev->cmdbuf; cmdbuf 1038 drivers/media/usb/s2255/s2255drv.c __le32 *buffer = dev->cmdbuf; cmdbuf 1506 drivers/media/usb/s2255/s2255drv.c kfree(dev->cmdbuf); cmdbuf 2121 drivers/media/usb/s2255/s2255drv.c __le32 *buffer = dev->cmdbuf; cmdbuf 2151 drivers/media/usb/s2255/s2255drv.c __le32 *buffer = dev->cmdbuf; cmdbuf 2219 drivers/media/usb/s2255/s2255drv.c dev->cmdbuf = kzalloc(S2255_CMDBUF_SIZE, GFP_KERNEL); cmdbuf 2220 drivers/media/usb/s2255/s2255drv.c if (dev->cmdbuf == NULL) { cmdbuf 2334 drivers/media/usb/s2255/s2255drv.c kfree(dev->cmdbuf); cmdbuf 2269 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c transfer->cmdbuf[0] = cmd; cmdbuf 2271 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c memcpy(&transfer->cmdbuf[1], addr, naddr); cmdbuf 2273 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c sg_init_one(&transfer->sgl, transfer->cmdbuf, naddr + 1); cmdbuf 109 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.h u8 cmdbuf[8]; cmdbuf 900 drivers/net/wireless/marvell/libertas/cmd.c if (!cmdnode->cmdbuf->size) { cmdbuf 907 drivers/net/wireless/marvell/libertas/cmd.c if (le16_to_cpu(cmdnode->cmdbuf->command) == CMD_802_11_PS_MODE) { cmdbuf 908 drivers/net/wireless/marvell/libertas/cmd.c struct cmd_ds_802_11_ps_mode *psm = (void *)cmdnode->cmdbuf; cmdbuf 916 drivers/net/wireless/marvell/libertas/cmd.c if (le16_to_cpu(cmdnode->cmdbuf->command) == CMD_802_11_WAKEUP_CONFIRM) cmdbuf 929 drivers/net/wireless/marvell/libertas/cmd.c le16_to_cpu(cmdnode->cmdbuf->command)); cmdbuf 942 drivers/net/wireless/marvell/libertas/cmd.c cmd = cmdnode->cmdbuf; cmdbuf 959 drivers/net/wireless/marvell/libertas/cmd.c lbs_deb_hex(LBS_DEB_CMD, "DNLD_CMD", (void *) cmdnode->cmdbuf, cmdsize); cmdbuf 997 drivers/net/wireless/marvell/libertas/cmd.c memset(cmdnode->cmdbuf, 0, LBS_CMD_BUFFER_SIZE); cmdbuf 1132 drivers/net/wireless/marvell/libertas/cmd.c cmdarray[i].cmdbuf = kzalloc(LBS_CMD_BUFFER_SIZE, GFP_KERNEL); cmdbuf 1133 drivers/net/wireless/marvell/libertas/cmd.c if (!cmdarray[i].cmdbuf) { cmdbuf 1172 drivers/net/wireless/marvell/libertas/cmd.c if (cmdarray[i].cmdbuf) { cmdbuf 1173 drivers/net/wireless/marvell/libertas/cmd.c kfree(cmdarray[i].cmdbuf); cmdbuf 1174 drivers/net/wireless/marvell/libertas/cmd.c cmdarray[i].cmdbuf = NULL; cmdbuf 1257 drivers/net/wireless/marvell/libertas/cmd.c cmd = cmdnode->cmdbuf; cmdbuf 1537 drivers/net/wireless/marvell/libertas/cmd.c memcpy(cmdnode->cmdbuf, in_cmd, in_cmd_size); cmdbuf 1540 drivers/net/wireless/marvell/libertas/cmd.c cmdnode->cmdbuf->command = cpu_to_le16(command); cmdbuf 1541 drivers/net/wireless/marvell/libertas/cmd.c cmdnode->cmdbuf->size = cpu_to_le16(in_cmd_size); cmdbuf 1542 drivers/net/wireless/marvell/libertas/cmd.c cmdnode->cmdbuf->result = 0; cmdbuf 24 drivers/net/wireless/marvell/libertas/cmd.h struct cmd_header *cmdbuf; cmdbuf 84 drivers/net/wireless/marvell/libertas/cmdresp.c curcmd = le16_to_cpu(priv->cur_cmd->cmdbuf->command); cmdbuf 92 drivers/net/wireless/marvell/libertas/cmdresp.c if (resp->seqnum != priv->cur_cmd->cmdbuf->seqnum) { cmdbuf 96 drivers/net/wireless/marvell/libertas/cmdresp.c le16_to_cpu(priv->cur_cmd->cmdbuf->seqnum)); cmdbuf 553 drivers/net/wireless/marvell/libertas/main.c le16_to_cpu(cmdnode->cmdbuf->command)); cmdbuf 737 drivers/net/wireless/marvell/libertas/main.c le16_to_cpu(priv->cur_cmd->cmdbuf->command)); cmdbuf 215 drivers/net/wireless/marvell/libertas_tf/cmd.c if (!cmdnode->cmdbuf->size) { cmdbuf 226 drivers/net/wireless/marvell/libertas_tf/cmd.c le16_to_cpu(cmdnode->cmdbuf->command)); cmdbuf 244 drivers/net/wireless/marvell/libertas_tf/cmd.c cmd = cmdnode->cmdbuf; cmdbuf 253 drivers/net/wireless/marvell/libertas_tf/cmd.c lbtf_deb_hex(LBTF_DEB_CMD, "DNLD_CMD", (void *) cmdnode->cmdbuf, cmdsize); cmdbuf 286 drivers/net/wireless/marvell/libertas_tf/cmd.c memset(cmdnode->cmdbuf, 0, LBS_CMD_BUFFER_SIZE); cmdbuf 462 drivers/net/wireless/marvell/libertas_tf/cmd.c cmdarray[i].cmdbuf = kzalloc(LBS_CMD_BUFFER_SIZE, GFP_KERNEL); cmdbuf 463 drivers/net/wireless/marvell/libertas_tf/cmd.c if (!cmdarray[i].cmdbuf) { cmdbuf 506 drivers/net/wireless/marvell/libertas_tf/cmd.c kfree(cmdarray[i].cmdbuf); cmdbuf 507 drivers/net/wireless/marvell/libertas_tf/cmd.c cmdarray[i].cmdbuf = NULL; cmdbuf 587 drivers/net/wireless/marvell/libertas_tf/cmd.c cmd = cmdnode->cmdbuf; cmdbuf 633 drivers/net/wireless/marvell/libertas_tf/cmd.c memcpy(cmdnode->cmdbuf, in_cmd, in_cmd_size); cmdbuf 637 drivers/net/wireless/marvell/libertas_tf/cmd.c cmdnode->cmdbuf->command = cpu_to_le16(command); cmdbuf 638 drivers/net/wireless/marvell/libertas_tf/cmd.c cmdnode->cmdbuf->size = cpu_to_le16(in_cmd_size); cmdbuf 639 drivers/net/wireless/marvell/libertas_tf/cmd.c cmdnode->cmdbuf->seqnum = cpu_to_le16(priv->seqnum); cmdbuf 640 drivers/net/wireless/marvell/libertas_tf/cmd.c cmdnode->cmdbuf->result = 0; cmdbuf 732 drivers/net/wireless/marvell/libertas_tf/cmd.c curcmd = le16_to_cpu(priv->cur_cmd->cmdbuf->command); cmdbuf 740 drivers/net/wireless/marvell/libertas_tf/cmd.c if (resp->seqnum != priv->cur_cmd->cmdbuf->seqnum) { cmdbuf 331 drivers/net/wireless/marvell/libertas_tf/libertas_tf.h struct cmd_header *cmdbuf; cmdbuf 143 drivers/net/wireless/marvell/libertas_tf/main.c le16_to_cpu(priv->cur_cmd->cmdbuf->command)); cmdbuf 268 drivers/platform/olpc/olpc-ec.c char cmdbuf[64]; cmdbuf 273 drivers/platform/olpc/olpc-ec.c size = simple_write_to_buffer(cmdbuf, sizeof(cmdbuf), ppos, buf, size); cmdbuf 275 drivers/platform/olpc/olpc-ec.c m = sscanf(cmdbuf, "%x:%u %x %x %x %x %x", &ec_cmd_int[0], cmdbuf 123 drivers/scsi/megaraid/megaraid_ioctl.h uint64_t cmdbuf; cmdbuf 3594 drivers/scsi/megaraid/megaraid_mbox.c mbox64 = (mbox64_t *)(unsigned long)kioc->cmdbuf; cmdbuf 3694 drivers/scsi/megaraid/megaraid_mbox.c mbox64 = (mbox64_t *)(unsigned long)kioc->cmdbuf; cmdbuf 3904 drivers/scsi/megaraid/megaraid_mbox.c uioc->cmdbuf = (uint64_t)(unsigned long)mbox64; cmdbuf 454 drivers/scsi/megaraid/megaraid_mm.c mbox64 = (mbox64_t *)((unsigned long)kioc->cmdbuf); cmdbuf 617 drivers/scsi/megaraid/megaraid_mm.c memset((caddr_t)(unsigned long)kioc->cmdbuf, 0, sizeof(mbox64_t)); cmdbuf 844 drivers/scsi/megaraid/megaraid_mm.c mbox64 = (mbox64_t *)(unsigned long)kioc->cmdbuf; cmdbuf 969 drivers/scsi/megaraid/megaraid_mm.c kioc->cmdbuf = (uint64_t)(unsigned long)(mbox_list + i); cmdbuf 1745 drivers/staging/isdn/gigaset/bas-gigaset.c struct cmdbuf_t *cb = cs->cmdbuf; cmdbuf 1752 drivers/staging/isdn/gigaset/bas-gigaset.c cs->cmdbuf = cb->next; cmdbuf 1753 drivers/staging/isdn/gigaset/bas-gigaset.c cs->cmdbuf->prev = NULL; cmdbuf 1754 drivers/staging/isdn/gigaset/bas-gigaset.c cs->curlen = cs->cmdbuf->len; cmdbuf 1756 drivers/staging/isdn/gigaset/bas-gigaset.c cs->cmdbuf = NULL; cmdbuf 1813 drivers/staging/isdn/gigaset/bas-gigaset.c if (cs->cmdbuf == NULL) { cmdbuf 1822 drivers/staging/isdn/gigaset/bas-gigaset.c if (atwrite_submit(cs, cs->cmdbuf->buf, cs->cmdbuf->len) >= 0) cmdbuf 1830 drivers/staging/isdn/gigaset/bas-gigaset.c if (cs->cmdbuf != NULL) cmdbuf 1931 drivers/staging/isdn/gigaset/bas-gigaset.c while (cs->cmdbuf != NULL) cmdbuf 1941 drivers/staging/isdn/gigaset/bas-gigaset.c while ((cb = cs->cmdbuf) != NULL && (ucs->basstate & BS_ATREADY)) { cmdbuf 2018 drivers/staging/isdn/gigaset/bas-gigaset.c cs->cmdbuf = cb; cmdbuf 2031 drivers/staging/isdn/gigaset/bas-gigaset.c while (cs->cmdbuf != NULL) cmdbuf 731 drivers/staging/isdn/gigaset/common.c cs->cmdbuf = cs->lastcmdbuf = NULL; cmdbuf 834 drivers/staging/isdn/gigaset/common.c cb = cs->cmdbuf; cmdbuf 840 drivers/staging/isdn/gigaset/common.c cs->cmdbuf = cs->lastcmdbuf = NULL; cmdbuf 432 drivers/staging/isdn/gigaset/gigaset.h struct cmdbuf_t *cmdbuf, *lastcmdbuf; cmdbuf 110 drivers/staging/isdn/gigaset/ser-gigaset.c cb = cs->cmdbuf; cmdbuf 133 drivers/staging/isdn/gigaset/ser-gigaset.c cs->cmdbuf = cb = cb->next; cmdbuf 208 drivers/staging/isdn/gigaset/ser-gigaset.c while ((cb = cs->cmdbuf) != NULL) { cmdbuf 209 drivers/staging/isdn/gigaset/ser-gigaset.c cs->cmdbuf = cb->next; cmdbuf 214 drivers/staging/isdn/gigaset/ser-gigaset.c cs->cmdbuf = cs->lastcmdbuf = NULL; cmdbuf 252 drivers/staging/isdn/gigaset/ser-gigaset.c cs->cmdbuf = cb; cmdbuf 313 drivers/staging/isdn/gigaset/usb-gigaset.c if (cs->cmdbuf) { /* commands to send? */ cmdbuf 425 drivers/staging/isdn/gigaset/usb-gigaset.c struct cmdbuf_t *cb = cs->cmdbuf; cmdbuf 437 drivers/staging/isdn/gigaset/usb-gigaset.c cs->cmdbuf = cb->next; cmdbuf 438 drivers/staging/isdn/gigaset/usb-gigaset.c if (cs->cmdbuf) { cmdbuf 439 drivers/staging/isdn/gigaset/usb-gigaset.c cs->cmdbuf->prev = NULL; cmdbuf 440 drivers/staging/isdn/gigaset/usb-gigaset.c cs->curlen = cs->cmdbuf->len; cmdbuf 451 drivers/staging/isdn/gigaset/usb-gigaset.c cb = cs->cmdbuf; cmdbuf 503 drivers/staging/isdn/gigaset/usb-gigaset.c cs->cmdbuf = cb; cmdbuf 1093 drivers/usb/gadget/function/f_tcm.c void *cmdbuf, unsigned int len) cmdbuf 1095 drivers/usb/gadget/function/f_tcm.c struct command_iu *cmd_iu = cmdbuf; cmdbuf 1200 drivers/usb/gadget/function/f_tcm.c void *cmdbuf, unsigned int len) cmdbuf 1202 drivers/usb/gadget/function/f_tcm.c struct bulk_cb_wrap *cbw = cmdbuf; cmdbuf 174 include/linux/host1x.h } cmdbuf; cmdbuf 43 include/linux/libps2.h u8 cmdbuf[8]; cmdbuf 98 include/trace/events/host1x.h u32 words, u32 offset, void *cmdbuf), cmdbuf 100 include/trace/events/host1x.h TP_ARGS(name, bo, words, offset, cmdbuf), cmdbuf 107 include/trace/events/host1x.h __field(bool, cmdbuf) cmdbuf 108 include/trace/events/host1x.h __dynamic_array(u32, cmdbuf, words) cmdbuf 112 include/trace/events/host1x.h if (cmdbuf) { cmdbuf 113 include/trace/events/host1x.h memcpy(__get_dynamic_array(cmdbuf), cmdbuf+offset, cmdbuf 116 include/trace/events/host1x.h __entry->cmdbuf = cmdbuf; cmdbuf 126 include/trace/events/host1x.h __print_hex(__get_dynamic_array(cmdbuf), cmdbuf 127 include/trace/events/host1x.h __entry->cmdbuf ? __entry->words * 4 : 0)) cmdbuf 340 include/uapi/drm/tegra_drm.h } cmdbuf; cmdbuf 1185 kernel/debug/kdb/kdb_main.c char *cmdbuf; cmdbuf 1297 kernel/debug/kdb/kdb_main.c cmdbuf = cmd_cur; cmdbuf 1298 kernel/debug/kdb/kdb_main.c *cmdbuf = '\0'; cmdbuf 1314 kernel/debug/kdb/kdb_main.c cmdbuf = kdb_getstr(cmdbuf, CMD_BUFLEN, kdb_prompt_str); cmdbuf 1315 kernel/debug/kdb/kdb_main.c if (*cmdbuf != '\n') { cmdbuf 1316 kernel/debug/kdb/kdb_main.c if (*cmdbuf < 32) { cmdbuf 1323 kernel/debug/kdb/kdb_main.c if (!handle_ctrl_cmd(cmdbuf)) cmdbuf 1325 kernel/debug/kdb/kdb_main.c cmdbuf = cmd_cur; cmdbuf 1338 kernel/debug/kdb/kdb_main.c diag = kdb_parse(cmdbuf); cmdbuf 1340 kernel/debug/kdb/kdb_main.c drop_newline(cmdbuf); cmdbuf 1341 kernel/debug/kdb/kdb_main.c kdb_printf("Unknown kdb command: '%s'\n", cmdbuf);