cmd_buf 163 drivers/firmware/qcom_scm-32.c const void *cmd_buf, size_t cmd_len, void *resp_buf, cmd_buf 181 drivers/firmware/qcom_scm-32.c if (cmd_buf) cmd_buf 182 drivers/firmware/qcom_scm-32.c memcpy(qcom_scm_get_command_buffer(cmd), cmd_buf, cmd_len); cmd_buf 1250 drivers/gpu/drm/exynos/exynos_drm_g2d.c struct drm_exynos_g2d_cmd *cmd_buf; cmd_buf 1252 drivers/gpu/drm/exynos/exynos_drm_g2d.c cmd_buf = (struct drm_exynos_g2d_cmd *) cmd_buf 1253 drivers/gpu/drm/exynos/exynos_drm_g2d.c (unsigned long)req->cmd_buf; cmd_buf 1256 drivers/gpu/drm/exynos/exynos_drm_g2d.c (void __user *)cmd_buf, cmd_buf 1257 drivers/gpu/drm/exynos/exynos_drm_g2d.c sizeof(*cmd_buf) * req->cmd_buf_nr)) { cmd_buf 89 drivers/gpu/drm/tiny/gm12u320.c unsigned char *cmd_buf; cmd_buf 163 drivers/gpu/drm/tiny/gm12u320.c gm12u320->cmd_buf = kmalloc(CMD_SIZE, GFP_KERNEL); cmd_buf 164 drivers/gpu/drm/tiny/gm12u320.c if (!gm12u320->cmd_buf) cmd_buf 203 drivers/gpu/drm/tiny/gm12u320.c kfree(gm12u320->cmd_buf); cmd_buf 212 drivers/gpu/drm/tiny/gm12u320.c memcpy(gm12u320->cmd_buf, &cmd_misc, CMD_SIZE); cmd_buf 213 drivers/gpu/drm/tiny/gm12u320.c gm12u320->cmd_buf[20] = req_a; cmd_buf 214 drivers/gpu/drm/tiny/gm12u320.c gm12u320->cmd_buf[21] = req_b; cmd_buf 215 drivers/gpu/drm/tiny/gm12u320.c gm12u320->cmd_buf[22] = arg_a; cmd_buf 216 drivers/gpu/drm/tiny/gm12u320.c gm12u320->cmd_buf[23] = arg_b; cmd_buf 217 drivers/gpu/drm/tiny/gm12u320.c gm12u320->cmd_buf[24] = arg_c; cmd_buf 218 drivers/gpu/drm/tiny/gm12u320.c gm12u320->cmd_buf[25] = arg_d; cmd_buf 223 drivers/gpu/drm/tiny/gm12u320.c gm12u320->cmd_buf, CMD_SIZE, &len, CMD_TIMEOUT); cmd_buf 232 drivers/gpu/drm/tiny/gm12u320.c gm12u320->cmd_buf, MISC_VALUE_SIZE, &len, cmd_buf 243 drivers/gpu/drm/tiny/gm12u320.c gm12u320->cmd_buf, READ_STATUS_SIZE, &len, cmd_buf 364 drivers/gpu/drm/tiny/gm12u320.c memcpy(gm12u320->cmd_buf, cmd_data, CMD_SIZE); cmd_buf 365 drivers/gpu/drm/tiny/gm12u320.c gm12u320->cmd_buf[8] = block_size & 0xff; cmd_buf 366 drivers/gpu/drm/tiny/gm12u320.c gm12u320->cmd_buf[9] = block_size >> 8; cmd_buf 367 drivers/gpu/drm/tiny/gm12u320.c gm12u320->cmd_buf[20] = 0xfc - block * 4; cmd_buf 368 drivers/gpu/drm/tiny/gm12u320.c gm12u320->cmd_buf[21] = block | (frame << 7); cmd_buf 372 drivers/gpu/drm/tiny/gm12u320.c gm12u320->cmd_buf, CMD_SIZE, &len, cmd_buf 388 drivers/gpu/drm/tiny/gm12u320.c gm12u320->cmd_buf, READ_STATUS_SIZE, &len, cmd_buf 395 drivers/gpu/drm/tiny/gm12u320.c memcpy(gm12u320->cmd_buf, cmd_draw, CMD_SIZE); cmd_buf 398 drivers/gpu/drm/tiny/gm12u320.c gm12u320->cmd_buf, CMD_SIZE, &len, CMD_TIMEOUT); cmd_buf 405 drivers/gpu/drm/tiny/gm12u320.c gm12u320->cmd_buf, READ_STATUS_SIZE, &len, cmd_buf 144 drivers/i2c/busses/i2c-jz4780.c int cmd_buf[BUFSIZE]; cmd_buf 514 drivers/i2c/busses/i2c-jz4780.c src, i2c->cmd, i2c->cmd_buf[i2c->cmd], i2c->data_buf[i2c->cmd]); cmd_buf 561 drivers/i2c/busses/i2c-jz4780.c i2c->cmd, i2c->cmd_buf[i2c->cmd]); cmd_buf 98 drivers/input/misc/ims-pcu.c u8 cmd_buf[IMS_PCU_BUF_SIZE]; cmd_buf 434 drivers/input/misc/ims-pcu.c memcpy(pcu->cmd_buf, pcu->read_buf, pcu->read_pos); cmd_buf 655 drivers/input/misc/ims-pcu.c pcu->cmd_buf[0] = command; cmd_buf 657 drivers/input/misc/ims-pcu.c memcpy(&pcu->cmd_buf[1], data, len); cmd_buf 660 drivers/input/misc/ims-pcu.c IMS_PCU_CMD_BOOTLOADER, pcu->cmd_buf, len + 1, cmd_buf 666 drivers/input/misc/ims-pcu.c pcu->cmd_buf[0], error); cmd_buf 670 drivers/input/misc/ims-pcu.c if (expected_response && pcu->cmd_buf[2] != expected_response) { cmd_buf 673 drivers/input/misc/ims-pcu.c pcu->cmd_buf[2], expected_response); cmd_buf 703 drivers/input/misc/ims-pcu.c &pcu->cmd_buf[IMS_PCU_INFO_PART_OFFSET], cmd_buf 706 drivers/input/misc/ims-pcu.c &pcu->cmd_buf[IMS_PCU_INFO_DOM_OFFSET], cmd_buf 709 drivers/input/misc/ims-pcu.c &pcu->cmd_buf[IMS_PCU_INFO_SERIAL_OFFSET], cmd_buf 719 drivers/input/misc/ims-pcu.c memcpy(&pcu->cmd_buf[IMS_PCU_INFO_PART_OFFSET], cmd_buf 721 drivers/input/misc/ims-pcu.c memcpy(&pcu->cmd_buf[IMS_PCU_INFO_DOM_OFFSET], cmd_buf 723 drivers/input/misc/ims-pcu.c memcpy(&pcu->cmd_buf[IMS_PCU_INFO_SERIAL_OFFSET], cmd_buf 727 drivers/input/misc/ims-pcu.c &pcu->cmd_buf[IMS_PCU_DATA_OFFSET], cmd_buf 786 drivers/input/misc/ims-pcu.c fragment = (void *)&pcu->cmd_buf[1]; cmd_buf 799 drivers/input/misc/ims-pcu.c fragment = (void *)&pcu->cmd_buf[IMS_PCU_BL_DATA_OFFSET]; cmd_buf 848 drivers/input/misc/ims-pcu.c fragment = (void *)&pcu->cmd_buf[1]; cmd_buf 992 drivers/input/misc/ims-pcu.c get_unaligned_le16(&pcu->cmd_buf[IMS_PCU_DATA_OFFSET]); cmd_buf 1269 drivers/input/misc/ims-pcu.c result = (s16)get_unaligned_le16(pcu->cmd_buf + OFN_REG_RESULT_OFFSET); cmd_buf 1274 drivers/input/misc/ims-pcu.c *data = pcu->cmd_buf[OFN_REG_RESULT_OFFSET]; cmd_buf 1289 drivers/input/misc/ims-pcu.c result = (s16)get_unaligned_le16(pcu->cmd_buf + OFN_REG_RESULT_OFFSET); cmd_buf 1754 drivers/input/misc/ims-pcu.c struct usb_cdc_line_coding *line = (void *)pcu->cmd_buf; cmd_buf 1804 drivers/input/misc/ims-pcu.c pcu->cmd_buf[2], pcu->cmd_buf[3], pcu->cmd_buf[4], pcu->cmd_buf[5], cmd_buf 1805 drivers/input/misc/ims-pcu.c pcu->cmd_buf[6], pcu->cmd_buf[7]); cmd_buf 1816 drivers/input/misc/ims-pcu.c pcu->cmd_buf[2], pcu->cmd_buf[3], pcu->cmd_buf[4], pcu->cmd_buf[5], cmd_buf 1817 drivers/input/misc/ims-pcu.c pcu->cmd_buf[6], pcu->cmd_buf[7]); cmd_buf 1827 drivers/input/misc/ims-pcu.c "%02x", pcu->cmd_buf[IMS_PCU_DATA_OFFSET]); cmd_buf 1852 drivers/input/misc/ims-pcu.c *device_id = pcu->cmd_buf[IMS_PCU_DATA_OFFSET]; cmd_buf 1958 drivers/input/misc/ims-pcu.c get_unaligned_le32(&pcu->cmd_buf[IMS_PCU_DATA_OFFSET + 11]); cmd_buf 1960 drivers/input/misc/ims-pcu.c get_unaligned_le32(&pcu->cmd_buf[IMS_PCU_DATA_OFFSET + 15]); cmd_buf 798 drivers/input/rmi4/rmi_driver.c u8 cmd_buf = RMI_DEVICE_RESET_CMD; cmd_buf 812 drivers/input/rmi4/rmi_driver.c error = rmi_write_block(rmi_dev, cmd_addr, &cmd_buf, 1); cmd_buf 96 drivers/input/tablet/pegasus_notetaker.c u8 *cmd_buf; cmd_buf 98 drivers/input/tablet/pegasus_notetaker.c cmd_buf = kmalloc(sizeof_buf, GFP_KERNEL); cmd_buf 99 drivers/input/tablet/pegasus_notetaker.c if (!cmd_buf) cmd_buf 102 drivers/input/tablet/pegasus_notetaker.c cmd_buf[0] = NOTETAKER_REPORT_ID; cmd_buf 103 drivers/input/tablet/pegasus_notetaker.c cmd_buf[1] = len; cmd_buf 104 drivers/input/tablet/pegasus_notetaker.c memcpy(cmd_buf + 2, data, len); cmd_buf 110 drivers/input/tablet/pegasus_notetaker.c 0, 0, cmd_buf, sizeof_buf, cmd_buf 113 drivers/input/tablet/pegasus_notetaker.c kfree(cmd_buf); cmd_buf 359 drivers/input/touchscreen/wdt87xx_i2c.c u8 cmd_buf[CMD_BUF_SIZE]; cmd_buf 362 drivers/input/touchscreen/wdt87xx_i2c.c cmd_buf[CMD_REPORT_ID_OFFSET] = VND_REQ_WRITE; cmd_buf 363 drivers/input/touchscreen/wdt87xx_i2c.c cmd_buf[CMD_TYPE_OFFSET] = VND_SET_COMMAND_DATA; cmd_buf 364 drivers/input/touchscreen/wdt87xx_i2c.c put_unaligned_le16((u16)cmd, &cmd_buf[CMD_INDEX_OFFSET]); cmd_buf 371 drivers/input/touchscreen/wdt87xx_i2c.c put_unaligned_le32((value & 0xFF), &cmd_buf[CMD_LENGTH_OFFSET]); cmd_buf 375 drivers/input/touchscreen/wdt87xx_i2c.c put_unaligned_le16(CMD_SFLCK_KEY, &cmd_buf[CMD_KEY_OFFSET]); cmd_buf 379 drivers/input/touchscreen/wdt87xx_i2c.c put_unaligned_le16(CMD_SFUNL_KEY, &cmd_buf[CMD_KEY_OFFSET]); cmd_buf 385 drivers/input/touchscreen/wdt87xx_i2c.c put_unaligned_le32(value, &cmd_buf[CMD_KEY_OFFSET]); cmd_buf 389 drivers/input/touchscreen/wdt87xx_i2c.c cmd_buf[CMD_REPORT_ID_OFFSET] = 0; cmd_buf 394 drivers/input/touchscreen/wdt87xx_i2c.c return wdt87xx_set_feature(client, cmd_buf, sizeof(cmd_buf)); cmd_buf 647 drivers/input/touchscreen/wdt87xx_i2c.c u8 cmd_buf[CMD_BUF_SIZE]; cmd_buf 665 drivers/input/touchscreen/wdt87xx_i2c.c memset(cmd_buf, 0, sizeof(cmd_buf)); cmd_buf 666 drivers/input/touchscreen/wdt87xx_i2c.c cmd_buf[CMD_REPORT_ID_OFFSET] = VND_REQ_READ; cmd_buf 667 drivers/input/touchscreen/wdt87xx_i2c.c cmd_buf[CMD_TYPE_OFFSET] = VND_GET_CHECKSUM; cmd_buf 668 drivers/input/touchscreen/wdt87xx_i2c.c error = wdt87xx_set_feature(client, cmd_buf, sizeof(cmd_buf)); cmd_buf 863 drivers/iommu/amd_iommu.c target = iommu->cmd_buf + iommu->cmd_buf_tail; cmd_buf 598 drivers/iommu/amd_iommu_init.c iommu->cmd_buf = (void *)__get_free_pages(GFP_KERNEL | __GFP_ZERO, cmd_buf 601 drivers/iommu/amd_iommu_init.c return iommu->cmd_buf ? 0 : -ENOMEM; cmd_buf 628 drivers/iommu/amd_iommu_init.c BUG_ON(iommu->cmd_buf == NULL); cmd_buf 630 drivers/iommu/amd_iommu_init.c entry = iommu_virt_to_phys(iommu->cmd_buf); cmd_buf 649 drivers/iommu/amd_iommu_init.c free_pages((unsigned long)iommu->cmd_buf, get_order(CMD_BUFFER_SIZE)); cmd_buf 541 drivers/iommu/amd_iommu_types.h u8 *cmd_buf; cmd_buf 84 drivers/macintosh/smu.c struct smu_cmd_buf *cmd_buf; /* command buffer virtual */ cmd_buf 128 drivers/macintosh/smu.c smu->cmd_buf->cmd = cmd->cmd; cmd_buf 129 drivers/macintosh/smu.c smu->cmd_buf->length = cmd->data_len; cmd_buf 130 drivers/macintosh/smu.c memcpy(smu->cmd_buf->data, cmd->data_buf, cmd->data_len); cmd_buf 133 drivers/macintosh/smu.c faddr = (unsigned long)smu->cmd_buf; cmd_buf 134 drivers/macintosh/smu.c fend = faddr + smu->cmd_buf->length + 2; cmd_buf 196 drivers/macintosh/smu.c faddr = (unsigned long)smu->cmd_buf; cmd_buf 201 drivers/macintosh/smu.c if (ack != smu->cmd_buf->cmd) { cmd_buf 203 drivers/macintosh/smu.c ack, smu->cmd_buf->cmd); cmd_buf 206 drivers/macintosh/smu.c reply_len = rc == 0 ? smu->cmd_buf->length : 0; cmd_buf 216 drivers/macintosh/smu.c memcpy(cmd->reply_buf, smu->cmd_buf->data, reply_len); cmd_buf 364 drivers/macintosh/smu.c static inline void smu_fill_set_rtc_cmd(struct smu_cmd_buf *cmd_buf, cmd_buf 367 drivers/macintosh/smu.c cmd_buf->cmd = 0x8e; cmd_buf 368 drivers/macintosh/smu.c cmd_buf->length = 8; cmd_buf 369 drivers/macintosh/smu.c cmd_buf->data[0] = 0x80; cmd_buf 370 drivers/macintosh/smu.c cmd_buf->data[1] = hex2bcd(time->tm_sec); cmd_buf 371 drivers/macintosh/smu.c cmd_buf->data[2] = hex2bcd(time->tm_min); cmd_buf 372 drivers/macintosh/smu.c cmd_buf->data[3] = hex2bcd(time->tm_hour); cmd_buf 373 drivers/macintosh/smu.c cmd_buf->data[4] = time->tm_wday; cmd_buf 374 drivers/macintosh/smu.c cmd_buf->data[5] = hex2bcd(time->tm_mday); cmd_buf 375 drivers/macintosh/smu.c cmd_buf->data[6] = hex2bcd(time->tm_mon) + 1; cmd_buf 376 drivers/macintosh/smu.c cmd_buf->data[7] = hex2bcd(time->tm_year - 100); cmd_buf 510 drivers/macintosh/smu.c smu->cmd_buf = __va(smu_cmdbuf_abs); cmd_buf 38 drivers/media/dvb-frontends/or51211.c static u8 cmd_buf[] = {0x04,0x01,0x50,0x80,0x06}; // ATSC cmd_buf 182 drivers/media/dvb-frontends/or51211.c if (i2c_writebytes(state,state->config->demod_address,cmd_buf,3)) { cmd_buf 388 drivers/media/dvb-frontends/or51211.c cmd_buf,3)) { cmd_buf 159 drivers/media/usb/as102/as102_fw.c unsigned char *cmd_buf = NULL; cmd_buf 173 drivers/media/usb/as102/as102_fw.c cmd_buf = kzalloc(MAX_FW_PKT_SIZE, GFP_KERNEL); cmd_buf 174 drivers/media/usb/as102/as102_fw.c if (cmd_buf == NULL) { cmd_buf 188 drivers/media/usb/as102/as102_fw.c errno = as102_firmware_upload(bus_adap, cmd_buf, firmware); cmd_buf 212 drivers/media/usb/as102/as102_fw.c errno = as102_firmware_upload(bus_adap, cmd_buf, firmware); cmd_buf 222 drivers/media/usb/as102/as102_fw.c kfree(cmd_buf); cmd_buf 124 drivers/media/usb/pwc/pwc-ctrl.c memcpy(pdev->cmd_buf, buf, buflen); cmd_buf 1070 drivers/media/usb/pwc/pwc-if.c pdev->ctrl_buf = kmalloc(sizeof(pdev->cmd_buf), GFP_KERNEL); cmd_buf 44 drivers/media/usb/pwc/pwc-uncompress.c memcpy(raw_frame->cmd, pdev->cmd_buf, 4); cmd_buf 246 drivers/media/usb/pwc/pwc.h unsigned char cmd_buf[13]; cmd_buf 89 drivers/misc/cardreader/rtsx_usb.c ucr->cmd_buf[PACKET_TYPE] = seq_type; cmd_buf 90 drivers/misc/cardreader/rtsx_usb.c ucr->cmd_buf[5] = (u8)(len >> 8); cmd_buf 91 drivers/misc/cardreader/rtsx_usb.c ucr->cmd_buf[6] = (u8)len; cmd_buf 92 drivers/misc/cardreader/rtsx_usb.c ucr->cmd_buf[8] = (u8)(addr >> 8); cmd_buf 93 drivers/misc/cardreader/rtsx_usb.c ucr->cmd_buf[9] = (u8)addr; cmd_buf 96 drivers/misc/cardreader/rtsx_usb.c ucr->cmd_buf[STAGE_FLAG] = 0; cmd_buf 98 drivers/misc/cardreader/rtsx_usb.c ucr->cmd_buf[STAGE_FLAG] = STAGE_R; cmd_buf 113 drivers/misc/cardreader/rtsx_usb.c memcpy(ucr->cmd_buf + SEQ_WRITE_DATA_OFFSET, data, len); cmd_buf 117 drivers/misc/cardreader/rtsx_usb.c ucr->cmd_buf, cmd_len, 0, NULL, 100); cmd_buf 135 drivers/misc/cardreader/rtsx_usb.c ucr->cmd_buf, 12, 0, NULL, 100); cmd_buf 220 drivers/misc/cardreader/rtsx_usb.c ucr->cmd_buf[i++] = ((cmd_type & 0x03) << 6) | cmd_buf 222 drivers/misc/cardreader/rtsx_usb.c ucr->cmd_buf[i++] = (u8)reg_addr; cmd_buf 223 drivers/misc/cardreader/rtsx_usb.c ucr->cmd_buf[i++] = mask; cmd_buf 224 drivers/misc/cardreader/rtsx_usb.c ucr->cmd_buf[i++] = data; cmd_buf 235 drivers/misc/cardreader/rtsx_usb.c ucr->cmd_buf[CNT_H] = (u8)(ucr->cmd_idx >> 8); cmd_buf 236 drivers/misc/cardreader/rtsx_usb.c ucr->cmd_buf[CNT_L] = (u8)(ucr->cmd_idx); cmd_buf 237 drivers/misc/cardreader/rtsx_usb.c ucr->cmd_buf[STAGE_FLAG] = flag; cmd_buf 241 drivers/misc/cardreader/rtsx_usb.c ucr->cmd_buf, ucr->cmd_idx * 4 + CMD_OFFSET, cmd_buf 643 drivers/misc/cardreader/rtsx_usb.c ucr->cmd_buf = ucr->rsp_buf = ucr->iobuf; cmd_buf 120 drivers/net/can/usb/peak_usb/pcan_usb.c dev->cmd_buf[PCAN_USB_CMD_FUNC] = f; cmd_buf 121 drivers/net/can/usb/peak_usb/pcan_usb.c dev->cmd_buf[PCAN_USB_CMD_NUM] = n; cmd_buf 124 drivers/net/can/usb/peak_usb/pcan_usb.c memcpy(dev->cmd_buf + PCAN_USB_CMD_ARGS, cmd_buf 129 drivers/net/can/usb/peak_usb/pcan_usb.c dev->cmd_buf, PCAN_USB_CMD_LEN, &actual_length, cmd_buf 157 drivers/net/can/usb/peak_usb/pcan_usb.c dev->cmd_buf, PCAN_USB_CMD_LEN, &actual_length, cmd_buf 163 drivers/net/can/usb/peak_usb/pcan_usb.c memcpy(p, dev->cmd_buf + PCAN_USB_CMD_ARGS, cmd_buf 753 drivers/net/can/usb/peak_usb/pcan_usb_core.c dev->cmd_buf = kzalloc(PCAN_USB_MAX_CMD_LEN, GFP_KERNEL); cmd_buf 754 drivers/net/can/usb/peak_usb/pcan_usb_core.c if (!dev->cmd_buf) { cmd_buf 835 drivers/net/can/usb/peak_usb/pcan_usb_core.c kfree(dev->cmd_buf); cmd_buf 862 drivers/net/can/usb/peak_usb/pcan_usb_core.c kfree(dev->cmd_buf); cmd_buf 124 drivers/net/can/usb/peak_usb/pcan_usb_core.h u8 *cmd_buf; cmd_buf 352 drivers/net/can/usb/peak_usb/pcan_usb_pro.c pcan_msg_init_empty(&um, dev->cmd_buf, PCAN_USB_MAX_CMD_LEN); cmd_buf 364 drivers/net/can/usb/peak_usb/pcan_usb_pro.c pcan_msg_init_empty(&um, dev->cmd_buf, PCAN_USB_MAX_CMD_LEN); cmd_buf 385 drivers/net/can/usb/peak_usb/pcan_usb_pro.c pcan_msg_init_empty(&um, dev->cmd_buf, PCAN_USB_MAX_CMD_LEN); cmd_buf 395 drivers/net/can/usb/peak_usb/pcan_usb_pro.c pcan_msg_init_empty(&um, dev->cmd_buf, PCAN_USB_MAX_CMD_LEN); cmd_buf 405 drivers/net/can/usb/peak_usb/pcan_usb_pro.c pcan_msg_init_empty(&um, dev->cmd_buf, PCAN_USB_MAX_CMD_LEN); cmd_buf 416 drivers/net/can/usb/peak_usb/pcan_usb_pro.c pcan_msg_init_empty(&um, dev->cmd_buf, PCAN_USB_MAX_CMD_LEN); cmd_buf 430 drivers/net/can/usb/peak_usb/pcan_usb_pro.c pc = pcan_msg_init_empty(&um, dev->cmd_buf, PCAN_USB_MAX_CMD_LEN); cmd_buf 523 drivers/net/ethernet/hisilicon/hns3/hnae3.h int (*dbg_run_cmd)(struct hnae3_handle *handle, const char *cmd_buf); cmd_buf 16 drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c const char *cmd_buf) cmd_buf 32 drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c cnt = kstrtouint(&cmd_buf[11], 0, &queue_num); cmd_buf 160 drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c static int hns3_dbg_bd_info(struct hnae3_handle *h, const char *cmd_buf) cmd_buf 172 drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c cnt = sscanf(&cmd_buf[8], "%u %u", &q_num, &tx_index); cmd_buf 318 drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c char *cmd_buf, *cmd_buf_tmp; cmd_buf 333 drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c cmd_buf = kzalloc(count + 1, GFP_KERNEL); cmd_buf 334 drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c if (!cmd_buf) cmd_buf 337 drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c uncopied_bytes = copy_from_user(cmd_buf, buffer, count); cmd_buf 339 drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c kfree(cmd_buf); cmd_buf 343 drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c cmd_buf[count] = '\0'; cmd_buf 345 drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c cmd_buf_tmp = strchr(cmd_buf, '\n'); cmd_buf 348 drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c count = cmd_buf_tmp - cmd_buf + 1; cmd_buf 351 drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c if (strncmp(cmd_buf, "help", 4) == 0) cmd_buf 353 drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c else if (strncmp(cmd_buf, "queue info", 10) == 0) cmd_buf 354 drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c ret = hns3_dbg_queue_info(handle, cmd_buf); cmd_buf 355 drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c else if (strncmp(cmd_buf, "queue map", 9) == 0) cmd_buf 357 drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c else if (strncmp(cmd_buf, "bd info", 7) == 0) cmd_buf 358 drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c ret = hns3_dbg_bd_info(handle, cmd_buf); cmd_buf 360 drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c ret = handle->ae_algo->ops->dbg_run_cmd(handle, cmd_buf); cmd_buf 367 drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c kfree(cmd_buf); cmd_buf 368 drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c cmd_buf = NULL; cmd_buf 121 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c const char *cmd_buf) cmd_buf 125 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c const char *s = &cmd_buf[strlen(reg_info->reg_type) + IDX_OFFSET]; cmd_buf 180 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c static void hclge_dbg_dump_dcb(struct hclge_dev *hdev, const char *cmd_buf) cmd_buf 190 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c cnt = sscanf(cmd_buf, "%i %i %i %i %i %i", cmd_buf 280 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c static void hclge_dbg_dump_reg_cmd(struct hclge_dev *hdev, const char *cmd_buf) cmd_buf 288 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c if (!strncmp(cmd_buf, reg_info->reg_type, cmd_buf 290 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c hclge_dbg_dump_reg_common(hdev, reg_info, cmd_buf); cmd_buf 295 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c if (strncmp(cmd_buf, "dcb", 3) == 0) { cmd_buf 296 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c hclge_dbg_dump_dcb(hdev, &cmd_buf[sizeof("dcb")]); cmd_buf 553 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c const char *cmd_buf) cmd_buf 567 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c ret = kstrtouint(cmd_buf, 0, &queue_id); cmd_buf 1053 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c const char *cmd_buf) cmd_buf 1065 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c ret = sscanf(cmd_buf, "%x %x", &offset, &length); cmd_buf 1113 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c int hclge_dbg_run_cmd(struct hnae3_handle *handle, const char *cmd_buf) cmd_buf 1121 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c if (strncmp(cmd_buf, "dump fd tcam", 12) == 0) { cmd_buf 1123 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c } else if (strncmp(cmd_buf, "dump tc", 7) == 0) { cmd_buf 1125 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c } else if (strncmp(cmd_buf, DUMP_TM_MAP, strlen(DUMP_TM_MAP)) == 0) { cmd_buf 1126 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c hclge_dbg_dump_tm_map(hdev, &cmd_buf[sizeof(DUMP_TM_MAP)]); cmd_buf 1127 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c } else if (strncmp(cmd_buf, "dump tm", 7) == 0) { cmd_buf 1129 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c } else if (strncmp(cmd_buf, "dump qos pause cfg", 18) == 0) { cmd_buf 1131 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c } else if (strncmp(cmd_buf, "dump qos pri map", 16) == 0) { cmd_buf 1133 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c } else if (strncmp(cmd_buf, "dump qos buf cfg", 16) == 0) { cmd_buf 1135 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c } else if (strncmp(cmd_buf, "dump mng tbl", 12) == 0) { cmd_buf 1137 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c } else if (strncmp(cmd_buf, DUMP_REG, strlen(DUMP_REG)) == 0) { cmd_buf 1138 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c hclge_dbg_dump_reg_cmd(hdev, &cmd_buf[sizeof(DUMP_REG)]); cmd_buf 1139 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c } else if (strncmp(cmd_buf, "dump reset info", 15) == 0) { cmd_buf 1141 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c } else if (strncmp(cmd_buf, "dump m7 info", 12) == 0) { cmd_buf 1143 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c } else if (strncmp(cmd_buf, "dump ncl_config", 15) == 0) { cmd_buf 1145 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c &cmd_buf[sizeof("dump ncl_config")]); cmd_buf 1146 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c } else if (strncmp(cmd_buf, "dump mac tnl status", 19) == 0) { cmd_buf 973 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.h int hclge_dbg_run_cmd(struct hnae3_handle *handle, const char *cmd_buf); cmd_buf 583 drivers/net/ethernet/huawei/hinic/hinic_port.c struct hinic_cmdq_buf cmd_buf; cmd_buf 597 drivers/net/ethernet/huawei/hinic/hinic_port.c err = hinic_alloc_cmdq_buf(&func_to_io->cmdqs, &cmd_buf); cmd_buf 603 drivers/net/ethernet/huawei/hinic/hinic_port.c cmd_buf.size = sizeof(*indir_tbl); cmd_buf 605 drivers/net/ethernet/huawei/hinic/hinic_port.c indir_tbl = cmd_buf.buf; cmd_buf 624 drivers/net/ethernet/huawei/hinic/hinic_port.c &cmd_buf, &out_param); cmd_buf 637 drivers/net/ethernet/huawei/hinic/hinic_port.c &cmd_buf, &out_param); cmd_buf 644 drivers/net/ethernet/huawei/hinic/hinic_port.c hinic_free_cmdq_buf(&func_to_io->cmdqs, &cmd_buf); cmd_buf 684 drivers/net/ethernet/huawei/hinic/hinic_port.c struct hinic_cmdq_buf cmd_buf; cmd_buf 697 drivers/net/ethernet/huawei/hinic/hinic_port.c err = hinic_alloc_cmdq_buf(&func_to_io->cmdqs, &cmd_buf); cmd_buf 713 drivers/net/ethernet/huawei/hinic/hinic_port.c cmd_buf.size = sizeof(struct hinic_rss_context_tbl); cmd_buf 715 drivers/net/ethernet/huawei/hinic/hinic_port.c ctx_tbl = (struct hinic_rss_context_tbl *)cmd_buf.buf; cmd_buf 726 drivers/net/ethernet/huawei/hinic/hinic_port.c &cmd_buf, &out_param); cmd_buf 728 drivers/net/ethernet/huawei/hinic/hinic_port.c hinic_free_cmdq_buf(&func_to_io->cmdqs, &cmd_buf); cmd_buf 62 drivers/net/ethernet/intel/i40e/i40e_adminq.c ret_code = i40e_allocate_virt_mem(hw, &hw->aq.asq.cmd_buf, cmd_buf 254 drivers/net/ethernet/intel/i40e/i40e_adminq.c i40e_free_virt_mem(hw, &hw->aq.asq.cmd_buf); cmd_buf 19 drivers/net/ethernet/intel/i40e/i40e_adminq.h struct i40e_virt_mem cmd_buf; /* command buffer memory */ cmd_buf 53 drivers/net/ethernet/intel/i40e/i40e_adminq.h (&(((struct i40e_asq_cmd_details *)((R).cmd_buf.va))[i])) cmd_buf 704 drivers/net/ethernet/intel/i40e/i40e_debugfs.c char *cmd_buf, *cmd_buf_tmp; cmd_buf 716 drivers/net/ethernet/intel/i40e/i40e_debugfs.c cmd_buf = kzalloc(count + 1, GFP_KERNEL); cmd_buf 717 drivers/net/ethernet/intel/i40e/i40e_debugfs.c if (!cmd_buf) cmd_buf 719 drivers/net/ethernet/intel/i40e/i40e_debugfs.c bytes_not_copied = copy_from_user(cmd_buf, buffer, count); cmd_buf 721 drivers/net/ethernet/intel/i40e/i40e_debugfs.c kfree(cmd_buf); cmd_buf 724 drivers/net/ethernet/intel/i40e/i40e_debugfs.c cmd_buf[count] = '\0'; cmd_buf 726 drivers/net/ethernet/intel/i40e/i40e_debugfs.c cmd_buf_tmp = strchr(cmd_buf, '\n'); cmd_buf 729 drivers/net/ethernet/intel/i40e/i40e_debugfs.c count = cmd_buf_tmp - cmd_buf + 1; cmd_buf 732 drivers/net/ethernet/intel/i40e/i40e_debugfs.c if (strncmp(cmd_buf, "add vsi", 7) == 0) { cmd_buf 734 drivers/net/ethernet/intel/i40e/i40e_debugfs.c cnt = sscanf(&cmd_buf[7], "%i", &vsi_seid); cmd_buf 757 drivers/net/ethernet/intel/i40e/i40e_debugfs.c dev_info(&pf->pdev->dev, "'%s' failed\n", cmd_buf); cmd_buf 759 drivers/net/ethernet/intel/i40e/i40e_debugfs.c } else if (strncmp(cmd_buf, "del vsi", 7) == 0) { cmd_buf 760 drivers/net/ethernet/intel/i40e/i40e_debugfs.c cnt = sscanf(&cmd_buf[7], "%i", &vsi_seid); cmd_buf 777 drivers/net/ethernet/intel/i40e/i40e_debugfs.c } else if (strncmp(cmd_buf, "add relay", 9) == 0) { cmd_buf 781 drivers/net/ethernet/intel/i40e/i40e_debugfs.c cnt = sscanf(&cmd_buf[9], "%i %i", &uplink_seid, &vsi_seid); cmd_buf 819 drivers/net/ethernet/intel/i40e/i40e_debugfs.c } else if (strncmp(cmd_buf, "del relay", 9) == 0) { cmd_buf 821 drivers/net/ethernet/intel/i40e/i40e_debugfs.c cnt = sscanf(&cmd_buf[9], "%i", &veb_seid); cmd_buf 845 drivers/net/ethernet/intel/i40e/i40e_debugfs.c } else if (strncmp(cmd_buf, "add pvid", 8) == 0) { cmd_buf 850 drivers/net/ethernet/intel/i40e/i40e_debugfs.c cnt = sscanf(&cmd_buf[8], "%i %u", &vsi_seid, &v); cmd_buf 875 drivers/net/ethernet/intel/i40e/i40e_debugfs.c } else if (strncmp(cmd_buf, "del pvid", 8) == 0) { cmd_buf 877 drivers/net/ethernet/intel/i40e/i40e_debugfs.c cnt = sscanf(&cmd_buf[8], "%i", &vsi_seid); cmd_buf 896 drivers/net/ethernet/intel/i40e/i40e_debugfs.c } else if (strncmp(cmd_buf, "dump", 4) == 0) { cmd_buf 897 drivers/net/ethernet/intel/i40e/i40e_debugfs.c if (strncmp(&cmd_buf[5], "switch", 6) == 0) { cmd_buf 899 drivers/net/ethernet/intel/i40e/i40e_debugfs.c } else if (strncmp(&cmd_buf[5], "vsi", 3) == 0) { cmd_buf 900 drivers/net/ethernet/intel/i40e/i40e_debugfs.c cnt = sscanf(&cmd_buf[8], "%i", &vsi_seid); cmd_buf 905 drivers/net/ethernet/intel/i40e/i40e_debugfs.c } else if (strncmp(&cmd_buf[5], "veb", 3) == 0) { cmd_buf 906 drivers/net/ethernet/intel/i40e/i40e_debugfs.c cnt = sscanf(&cmd_buf[8], "%i", &vsi_seid); cmd_buf 911 drivers/net/ethernet/intel/i40e/i40e_debugfs.c } else if (strncmp(&cmd_buf[5], "vf", 2) == 0) { cmd_buf 912 drivers/net/ethernet/intel/i40e/i40e_debugfs.c cnt = sscanf(&cmd_buf[7], "%i", &vf_id); cmd_buf 917 drivers/net/ethernet/intel/i40e/i40e_debugfs.c } else if (strncmp(&cmd_buf[5], "desc", 4) == 0) { cmd_buf 919 drivers/net/ethernet/intel/i40e/i40e_debugfs.c if (strncmp(&cmd_buf[10], "rx", 2) == 0) { cmd_buf 920 drivers/net/ethernet/intel/i40e/i40e_debugfs.c cnt = sscanf(&cmd_buf[12], "%i %i %i", cmd_buf 924 drivers/net/ethernet/intel/i40e/i40e_debugfs.c } else if (strncmp(&cmd_buf[10], "tx", 2) cmd_buf 926 drivers/net/ethernet/intel/i40e/i40e_debugfs.c cnt = sscanf(&cmd_buf[12], "%i %i %i", cmd_buf 930 drivers/net/ethernet/intel/i40e/i40e_debugfs.c } else if (strncmp(&cmd_buf[10], "aq", 2) == 0) { cmd_buf 939 drivers/net/ethernet/intel/i40e/i40e_debugfs.c } else if (strncmp(&cmd_buf[5], "reset stats", 11) == 0) { cmd_buf 951 drivers/net/ethernet/intel/i40e/i40e_debugfs.c } else if (strncmp(&cmd_buf[5], "port", 4) == 0) { cmd_buf 1061 drivers/net/ethernet/intel/i40e/i40e_debugfs.c } else if (strncmp(&cmd_buf[5], "debug fwdata", 12) == 0) { cmd_buf 1070 drivers/net/ethernet/intel/i40e/i40e_debugfs.c cnt = sscanf(&cmd_buf[18], "%i %i %i", cmd_buf 1116 drivers/net/ethernet/intel/i40e/i40e_debugfs.c } else if (strncmp(cmd_buf, "pfr", 3) == 0) { cmd_buf 1120 drivers/net/ethernet/intel/i40e/i40e_debugfs.c } else if (strncmp(cmd_buf, "corer", 5) == 0) { cmd_buf 1124 drivers/net/ethernet/intel/i40e/i40e_debugfs.c } else if (strncmp(cmd_buf, "globr", 5) == 0) { cmd_buf 1128 drivers/net/ethernet/intel/i40e/i40e_debugfs.c } else if (strncmp(cmd_buf, "read", 4) == 0) { cmd_buf 1132 drivers/net/ethernet/intel/i40e/i40e_debugfs.c cnt = sscanf(&cmd_buf[4], "%i", &address); cmd_buf 1149 drivers/net/ethernet/intel/i40e/i40e_debugfs.c } else if (strncmp(cmd_buf, "write", 5) == 0) { cmd_buf 1152 drivers/net/ethernet/intel/i40e/i40e_debugfs.c cnt = sscanf(&cmd_buf[5], "%i %i", &address, &value); cmd_buf 1168 drivers/net/ethernet/intel/i40e/i40e_debugfs.c } else if (strncmp(cmd_buf, "clear_stats", 11) == 0) { cmd_buf 1169 drivers/net/ethernet/intel/i40e/i40e_debugfs.c if (strncmp(&cmd_buf[12], "vsi", 3) == 0) { cmd_buf 1170 drivers/net/ethernet/intel/i40e/i40e_debugfs.c cnt = sscanf(&cmd_buf[15], "%i", &vsi_seid); cmd_buf 1192 drivers/net/ethernet/intel/i40e/i40e_debugfs.c } else if (strncmp(&cmd_buf[12], "port", 4) == 0) { cmd_buf 1202 drivers/net/ethernet/intel/i40e/i40e_debugfs.c } else if (strncmp(cmd_buf, "send aq_cmd", 11) == 0) { cmd_buf 1209 drivers/net/ethernet/intel/i40e/i40e_debugfs.c cnt = sscanf(&cmd_buf[11], cmd_buf 1248 drivers/net/ethernet/intel/i40e/i40e_debugfs.c } else if (strncmp(cmd_buf, "send indirect aq_cmd", 20) == 0) { cmd_buf 1257 drivers/net/ethernet/intel/i40e/i40e_debugfs.c cnt = sscanf(&cmd_buf[20], cmd_buf 1314 drivers/net/ethernet/intel/i40e/i40e_debugfs.c } else if (strncmp(cmd_buf, "fd current cnt", 14) == 0) { cmd_buf 1317 drivers/net/ethernet/intel/i40e/i40e_debugfs.c } else if (strncmp(cmd_buf, "lldp", 4) == 0) { cmd_buf 1318 drivers/net/ethernet/intel/i40e/i40e_debugfs.c if (strncmp(&cmd_buf[5], "stop", 4) == 0) { cmd_buf 1343 drivers/net/ethernet/intel/i40e/i40e_debugfs.c } else if (strncmp(&cmd_buf[5], "start", 5) == 0) { cmd_buf 1369 drivers/net/ethernet/intel/i40e/i40e_debugfs.c } else if (strncmp(&cmd_buf[5], cmd_buf 1397 drivers/net/ethernet/intel/i40e/i40e_debugfs.c } else if (strncmp(&cmd_buf[5], "get remote", 10) == 0) { cmd_buf 1425 drivers/net/ethernet/intel/i40e/i40e_debugfs.c } else if (strncmp(&cmd_buf[5], "event on", 8) == 0) { cmd_buf 1436 drivers/net/ethernet/intel/i40e/i40e_debugfs.c } else if (strncmp(&cmd_buf[5], "event off", 9) == 0) { cmd_buf 1448 drivers/net/ethernet/intel/i40e/i40e_debugfs.c } else if (strncmp(cmd_buf, "nvm read", 8) == 0) { cmd_buf 1455 drivers/net/ethernet/intel/i40e/i40e_debugfs.c cnt = sscanf(&cmd_buf[8], "%hx %x %hx", cmd_buf 1511 drivers/net/ethernet/intel/i40e/i40e_debugfs.c dev_info(&pf->pdev->dev, "unknown command '%s'\n", cmd_buf); cmd_buf 1546 drivers/net/ethernet/intel/i40e/i40e_debugfs.c kfree(cmd_buf); cmd_buf 1547 drivers/net/ethernet/intel/i40e/i40e_debugfs.c cmd_buf = NULL; cmd_buf 47 drivers/net/ethernet/intel/iavf/iavf_adminq.c ret_code = iavf_allocate_virt_mem(hw, &hw->aq.asq.cmd_buf, cmd_buf 241 drivers/net/ethernet/intel/iavf/iavf_adminq.c iavf_free_virt_mem(hw, &hw->aq.asq.cmd_buf); cmd_buf 19 drivers/net/ethernet/intel/iavf/iavf_adminq.h struct iavf_virt_mem cmd_buf; /* command buffer memory */ cmd_buf 53 drivers/net/ethernet/intel/iavf/iavf_adminq.h (&(((struct iavf_asq_cmd_details *)((R).cmd_buf.va))[i])) cmd_buf 87 drivers/net/ethernet/intel/ice/ice_controlq.c cq->sq.cmd_buf = devm_kcalloc(ice_hw_to_dev(hw), cq->num_sq_entries, cmd_buf 89 drivers/net/ethernet/intel/ice/ice_controlq.c if (!cq->sq.cmd_buf) { cmd_buf 440 drivers/net/ethernet/intel/ice/ice_controlq.c if ((qi)->ring.cmd_buf) \ cmd_buf 441 drivers/net/ethernet/intel/ice/ice_controlq.c devm_kfree(ice_hw_to_dev(hw), (qi)->ring.cmd_buf); \ cmd_buf 41 drivers/net/ethernet/intel/ice/ice_controlq.h void *cmd_buf; /* command buffer memory */ cmd_buf 70 drivers/net/ethernet/intel/ice/ice_controlq.h #define ICE_CTL_Q_DETAILS(R, i) (&(((struct ice_sq_cd *)((R).cmd_buf))[i])) cmd_buf 137 drivers/net/ethernet/mellanox/mlx5/core/cmd.c return cmd->cmd_buf + (idx << cmd->log_stride); cmd_buf 1883 drivers/net/ethernet/mellanox/mlx5/core/cmd.c cmd->cmd_buf = cmd->cmd_alloc_buf; cmd_buf 1897 drivers/net/ethernet/mellanox/mlx5/core/cmd.c cmd->cmd_buf = PTR_ALIGN(cmd->cmd_alloc_buf, MLX5_ADAPTER_PAGE_SIZE); cmd_buf 117 drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c struct netxen_cmd_buffer *cmd_buf; cmd_buf 123 drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c cmd_buf = tx_ring->cmd_buf_arr; cmd_buf 125 drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c buffrag = cmd_buf->frag_array; cmd_buf 131 drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c for (j = 1; j < cmd_buf->frag_count; j++) { cmd_buf 140 drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c if (cmd_buf->skb) { cmd_buf 141 drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c dev_kfree_skb_any(cmd_buf->skb); cmd_buf 142 drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c cmd_buf->skb = NULL; cmd_buf 144 drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c cmd_buf++; cmd_buf 133 drivers/net/ethernet/qlogic/qlcnic/qlcnic_init.c struct qlcnic_cmd_buffer *cmd_buf; cmd_buf 139 drivers/net/ethernet/qlogic/qlcnic/qlcnic_init.c cmd_buf = tx_ring->cmd_buf_arr; cmd_buf 141 drivers/net/ethernet/qlogic/qlcnic/qlcnic_init.c buffrag = cmd_buf->frag_array; cmd_buf 147 drivers/net/ethernet/qlogic/qlcnic/qlcnic_init.c for (j = 1; j < cmd_buf->frag_count; j++) { cmd_buf 156 drivers/net/ethernet/qlogic/qlcnic/qlcnic_init.c if (cmd_buf->skb) { cmd_buf 157 drivers/net/ethernet/qlogic/qlcnic/qlcnic_init.c dev_kfree_skb_any(cmd_buf->skb); cmd_buf 158 drivers/net/ethernet/qlogic/qlcnic/qlcnic_init.c cmd_buf->skb = NULL; cmd_buf 160 drivers/net/ethernet/qlogic/qlcnic/qlcnic_init.c cmd_buf++; cmd_buf 122 drivers/net/ethernet/wiznet/w5100-spi.c u8 cmd_buf[4] ____cacheline_aligned; cmd_buf 190 drivers/net/ethernet/wiznet/w5100-spi.c .tx_buf = spi_priv->cmd_buf, cmd_buf 191 drivers/net/ethernet/wiznet/w5100-spi.c .len = sizeof(spi_priv->cmd_buf), cmd_buf 202 drivers/net/ethernet/wiznet/w5100-spi.c spi_priv->cmd_buf[0] = addr >> 8; cmd_buf 203 drivers/net/ethernet/wiznet/w5100-spi.c spi_priv->cmd_buf[1] = addr; cmd_buf 204 drivers/net/ethernet/wiznet/w5100-spi.c spi_priv->cmd_buf[2] = len >> 8; cmd_buf 205 drivers/net/ethernet/wiznet/w5100-spi.c spi_priv->cmd_buf[3] = len; cmd_buf 220 drivers/net/ethernet/wiznet/w5100-spi.c .tx_buf = spi_priv->cmd_buf, cmd_buf 221 drivers/net/ethernet/wiznet/w5100-spi.c .len = sizeof(spi_priv->cmd_buf), cmd_buf 232 drivers/net/ethernet/wiznet/w5100-spi.c spi_priv->cmd_buf[0] = addr >> 8; cmd_buf 233 drivers/net/ethernet/wiznet/w5100-spi.c spi_priv->cmd_buf[1] = addr; cmd_buf 234 drivers/net/ethernet/wiznet/w5100-spi.c spi_priv->cmd_buf[2] = W5200_SPI_WRITE_OPCODE | (len >> 8); cmd_buf 235 drivers/net/ethernet/wiznet/w5100-spi.c spi_priv->cmd_buf[3] = len; cmd_buf 267 drivers/net/ethernet/wiznet/w5100-spi.c u8 cmd_buf[3] ____cacheline_aligned; cmd_buf 350 drivers/net/ethernet/wiznet/w5100-spi.c .tx_buf = spi_priv->cmd_buf, cmd_buf 351 drivers/net/ethernet/wiznet/w5100-spi.c .len = sizeof(spi_priv->cmd_buf), cmd_buf 362 drivers/net/ethernet/wiznet/w5100-spi.c spi_priv->cmd_buf[0] = addr >> 8; cmd_buf 363 drivers/net/ethernet/wiznet/w5100-spi.c spi_priv->cmd_buf[1] = addr; cmd_buf 364 drivers/net/ethernet/wiznet/w5100-spi.c spi_priv->cmd_buf[2] = W5500_SPI_READ_CONTROL(addr); cmd_buf 379 drivers/net/ethernet/wiznet/w5100-spi.c .tx_buf = spi_priv->cmd_buf, cmd_buf 380 drivers/net/ethernet/wiznet/w5100-spi.c .len = sizeof(spi_priv->cmd_buf), cmd_buf 391 drivers/net/ethernet/wiznet/w5100-spi.c spi_priv->cmd_buf[0] = addr >> 8; cmd_buf 392 drivers/net/ethernet/wiznet/w5100-spi.c spi_priv->cmd_buf[1] = addr; cmd_buf 393 drivers/net/ethernet/wiznet/w5100-spi.c spi_priv->cmd_buf[2] = W5500_SPI_WRITE_CONTROL(addr); cmd_buf 431 drivers/net/wan/sdla.c struct sdla_cmd *cmd_buf; cmd_buf 439 drivers/net/wan/sdla.c cmd_buf = (struct sdla_cmd *)(dev->mem_start + (window & SDLA_ADDR_MASK)); cmd_buf 446 drivers/net/wan/sdla.c cmd_buf->cmd = cmd; cmd_buf 447 drivers/net/wan/sdla.c cmd_buf->dlci = dlci; cmd_buf 448 drivers/net/wan/sdla.c cmd_buf->flags = flags; cmd_buf 451 drivers/net/wan/sdla.c memcpy(cmd_buf->data, inbuf, inlen); cmd_buf 453 drivers/net/wan/sdla.c cmd_buf->length = inlen; cmd_buf 455 drivers/net/wan/sdla.c cmd_buf->opp_flag = 1; cmd_buf 466 drivers/net/wan/sdla.c waiting = ((volatile int)(cmd_buf->opp_flag)); cmd_buf 476 drivers/net/wan/sdla.c ret = cmd_buf->retval; cmd_buf 477 drivers/net/wan/sdla.c len = cmd_buf->length; cmd_buf 483 drivers/net/wan/sdla.c memcpy(outbuf, cmd_buf->data, *outlen); cmd_buf 488 drivers/net/wan/sdla.c memcpy(&status, cmd_buf->data, len > sizeof(status) ? sizeof(status) : len); cmd_buf 796 drivers/net/wimax/i2400m/fw.c } __packed *cmd_buf; cmd_buf 805 drivers/net/wimax/i2400m/fw.c cmd_buf = i2400m->bm_cmd_buf; cmd_buf 806 drivers/net/wimax/i2400m/fw.c memcpy(&cmd_buf->cmd, cmd, sizeof(*cmd)); cmd_buf 807 drivers/net/wimax/i2400m/fw.c cmd = &cmd_buf->cmd; cmd_buf 816 drivers/net/wimax/i2400m/fw.c cmd_buf = i2400m->bm_cmd_buf; cmd_buf 817 drivers/net/wimax/i2400m/fw.c memcpy(&cmd_buf->cmd, cmd, sizeof(*cmd)); cmd_buf 824 drivers/net/wimax/i2400m/fw.c memcpy(cmd_buf->cmd_pl, cmd_buf 827 drivers/net/wimax/i2400m/fw.c ret = i2400m_bm_cmd(i2400m, &cmd_buf->cmd, cmd_buf 828 drivers/net/wimax/i2400m/fw.c sizeof(cmd_buf->cmd) + signature_block_size, cmd_buf 1116 drivers/net/wimax/i2400m/fw.c } __packed *cmd_buf; cmd_buf 1120 drivers/net/wimax/i2400m/fw.c cmd_buf = i2400m->bm_cmd_buf; cmd_buf 1121 drivers/net/wimax/i2400m/fw.c cmd_buf->cmd.command = cmd_buf 1123 drivers/net/wimax/i2400m/fw.c cmd_buf->cmd.target_addr = 0; cmd_buf 1124 drivers/net/wimax/i2400m/fw.c cmd_buf->cmd.data_size = cpu_to_le32(sizeof(cmd_buf->cmd_pl)); cmd_buf 1125 drivers/net/wimax/i2400m/fw.c memcpy(&cmd_buf->cmd_pl, bcf_hdr, sizeof(*bcf_hdr)); cmd_buf 1126 drivers/net/wimax/i2400m/fw.c ret = i2400m_bm_cmd(i2400m, &cmd_buf->cmd, sizeof(*cmd_buf), cmd_buf 132 drivers/net/wireless/ath/ath6kl/bmi.c memset(ar->bmi.cmd_buf, 0, size); cmd_buf 144 drivers/net/wireless/ath/ath6kl/bmi.c memcpy(&(ar->bmi.cmd_buf[offset]), &cid, sizeof(cid)); cmd_buf 146 drivers/net/wireless/ath/ath6kl/bmi.c memcpy(&(ar->bmi.cmd_buf[offset]), &addr, sizeof(addr)); cmd_buf 148 drivers/net/wireless/ath/ath6kl/bmi.c memcpy(&(ar->bmi.cmd_buf[offset]), &rx_len, sizeof(rx_len)); cmd_buf 151 drivers/net/wireless/ath/ath6kl/bmi.c ret = ath6kl_hif_bmi_write(ar, ar->bmi.cmd_buf, offset); cmd_buf 157 drivers/net/wireless/ath/ath6kl/bmi.c ret = ath6kl_hif_bmi_read(ar, ar->bmi.cmd_buf, rx_len); cmd_buf 163 drivers/net/wireless/ath/ath6kl/bmi.c memcpy(&buf[len - len_remain], ar->bmi.cmd_buf, rx_len); cmd_buf 193 drivers/net/wireless/ath/ath6kl/bmi.c memset(ar->bmi.cmd_buf, 0, ar->bmi.max_data_size + header); cmd_buf 216 drivers/net/wireless/ath/ath6kl/bmi.c memcpy(&(ar->bmi.cmd_buf[offset]), &cid, sizeof(cid)); cmd_buf 218 drivers/net/wireless/ath/ath6kl/bmi.c memcpy(&(ar->bmi.cmd_buf[offset]), &addr, sizeof(addr)); cmd_buf 220 drivers/net/wireless/ath/ath6kl/bmi.c memcpy(&(ar->bmi.cmd_buf[offset]), &tx_len, sizeof(tx_len)); cmd_buf 222 drivers/net/wireless/ath/ath6kl/bmi.c memcpy(&(ar->bmi.cmd_buf[offset]), src, tx_len); cmd_buf 225 drivers/net/wireless/ath/ath6kl/bmi.c ret = ath6kl_hif_bmi_write(ar, ar->bmi.cmd_buf, offset); cmd_buf 254 drivers/net/wireless/ath/ath6kl/bmi.c memset(ar->bmi.cmd_buf, 0, size); cmd_buf 260 drivers/net/wireless/ath/ath6kl/bmi.c memcpy(&(ar->bmi.cmd_buf[offset]), &cid, sizeof(cid)); cmd_buf 262 drivers/net/wireless/ath/ath6kl/bmi.c memcpy(&(ar->bmi.cmd_buf[offset]), &addr, sizeof(addr)); cmd_buf 264 drivers/net/wireless/ath/ath6kl/bmi.c memcpy(&(ar->bmi.cmd_buf[offset]), param, sizeof(*param)); cmd_buf 267 drivers/net/wireless/ath/ath6kl/bmi.c ret = ath6kl_hif_bmi_write(ar, ar->bmi.cmd_buf, offset); cmd_buf 273 drivers/net/wireless/ath/ath6kl/bmi.c ret = ath6kl_hif_bmi_read(ar, ar->bmi.cmd_buf, sizeof(*param)); cmd_buf 279 drivers/net/wireless/ath/ath6kl/bmi.c memcpy(param, ar->bmi.cmd_buf, sizeof(*param)); cmd_buf 301 drivers/net/wireless/ath/ath6kl/bmi.c memset(ar->bmi.cmd_buf, 0, size); cmd_buf 306 drivers/net/wireless/ath/ath6kl/bmi.c memcpy(&(ar->bmi.cmd_buf[offset]), &cid, sizeof(cid)); cmd_buf 308 drivers/net/wireless/ath/ath6kl/bmi.c memcpy(&(ar->bmi.cmd_buf[offset]), &addr, sizeof(addr)); cmd_buf 311 drivers/net/wireless/ath/ath6kl/bmi.c ret = ath6kl_hif_bmi_write(ar, ar->bmi.cmd_buf, offset); cmd_buf 337 drivers/net/wireless/ath/ath6kl/bmi.c memset(ar->bmi.cmd_buf, 0, size); cmd_buf 342 drivers/net/wireless/ath/ath6kl/bmi.c memcpy(&(ar->bmi.cmd_buf[offset]), &cid, sizeof(cid)); cmd_buf 344 drivers/net/wireless/ath/ath6kl/bmi.c memcpy(&(ar->bmi.cmd_buf[offset]), &addr, sizeof(addr)); cmd_buf 347 drivers/net/wireless/ath/ath6kl/bmi.c ret = ath6kl_hif_bmi_write(ar, ar->bmi.cmd_buf, offset); cmd_buf 353 drivers/net/wireless/ath/ath6kl/bmi.c ret = ath6kl_hif_bmi_read(ar, ar->bmi.cmd_buf, sizeof(*param)); cmd_buf 358 drivers/net/wireless/ath/ath6kl/bmi.c memcpy(param, ar->bmi.cmd_buf, sizeof(*param)); cmd_buf 380 drivers/net/wireless/ath/ath6kl/bmi.c memset(ar->bmi.cmd_buf, 0, size); cmd_buf 387 drivers/net/wireless/ath/ath6kl/bmi.c memcpy(&(ar->bmi.cmd_buf[offset]), &cid, sizeof(cid)); cmd_buf 389 drivers/net/wireless/ath/ath6kl/bmi.c memcpy(&(ar->bmi.cmd_buf[offset]), &addr, sizeof(addr)); cmd_buf 391 drivers/net/wireless/ath/ath6kl/bmi.c memcpy(&(ar->bmi.cmd_buf[offset]), ¶m, sizeof(param)); cmd_buf 394 drivers/net/wireless/ath/ath6kl/bmi.c ret = ath6kl_hif_bmi_write(ar, ar->bmi.cmd_buf, offset); cmd_buf 422 drivers/net/wireless/ath/ath6kl/bmi.c memset(ar->bmi.cmd_buf, 0, size); cmd_buf 433 drivers/net/wireless/ath/ath6kl/bmi.c memcpy(&(ar->bmi.cmd_buf[offset]), &cid, sizeof(cid)); cmd_buf 435 drivers/net/wireless/ath/ath6kl/bmi.c memcpy(&(ar->bmi.cmd_buf[offset]), &tx_len, sizeof(tx_len)); cmd_buf 437 drivers/net/wireless/ath/ath6kl/bmi.c memcpy(&(ar->bmi.cmd_buf[offset]), &buf[len - len_remain], cmd_buf 441 drivers/net/wireless/ath/ath6kl/bmi.c ret = ath6kl_hif_bmi_write(ar, ar->bmi.cmd_buf, offset); cmd_buf 471 drivers/net/wireless/ath/ath6kl/bmi.c memset(ar->bmi.cmd_buf, 0, size); cmd_buf 478 drivers/net/wireless/ath/ath6kl/bmi.c memcpy(&(ar->bmi.cmd_buf[offset]), &cid, sizeof(cid)); cmd_buf 480 drivers/net/wireless/ath/ath6kl/bmi.c memcpy(&(ar->bmi.cmd_buf[offset]), &addr, sizeof(addr)); cmd_buf 483 drivers/net/wireless/ath/ath6kl/bmi.c ret = ath6kl_hif_bmi_write(ar, ar->bmi.cmd_buf, offset); cmd_buf 537 drivers/net/wireless/ath/ath6kl/bmi.c ar->bmi.cmd_buf = kzalloc(ar->bmi.max_cmd_size, GFP_KERNEL); cmd_buf 538 drivers/net/wireless/ath/ath6kl/bmi.c if (!ar->bmi.cmd_buf) cmd_buf 546 drivers/net/wireless/ath/ath6kl/bmi.c kfree(ar->bmi.cmd_buf); cmd_buf 547 drivers/net/wireless/ath/ath6kl/bmi.c ar->bmi.cmd_buf = NULL; cmd_buf 441 drivers/net/wireless/ath/ath6kl/core.h u8 *cmd_buf; cmd_buf 75 drivers/net/wireless/ath/ath9k/hif_usb.c struct cmd_buf *cmd = (struct cmd_buf *)urb->context; cmd_buf 105 drivers/net/wireless/ath/ath9k/hif_usb.c struct cmd_buf *cmd; cmd_buf 139 drivers/net/wireless/ath/ath9k/hif_usb.c struct cmd_buf *cmd = (struct cmd_buf *)urb->context; cmd_buf 187 drivers/net/wireless/ath/ath9k/hif_usb.c struct cmd_buf *cmd; cmd_buf 296 drivers/net/wireless/ath/ath9k/wmi.c u8 *cmd_buf, u32 cmd_len, cmd_buf 317 drivers/net/wireless/ath/ath9k/wmi.c if (cmd_len != 0 && cmd_buf != NULL) { cmd_buf 318 drivers/net/wireless/ath/ath9k/wmi.c skb_put_data(skb, cmd_buf, cmd_len); cmd_buf 185 drivers/net/wireless/ath/ath9k/wmi.h u8 *cmd_buf, u32 cmd_len, cmd_buf 376 drivers/net/wireless/ath/carl9170/carl9170.h __le32 cmd_buf[PAYLOAD_MAX + 1]; cmd_buf 88 drivers/net/wireless/ath/carl9170/cmd.h __ar->cmd_buf[2 * __nreg + 1] = cpu_to_le32(r); \ cmd_buf 89 drivers/net/wireless/ath/carl9170/cmd.h __ar->cmd_buf[2 * __nreg + 2] = cpu_to_le32(v); \ cmd_buf 95 drivers/net/wireless/ath/carl9170/cmd.h (u8 *) &__ar->cmd_buf[1], 0, NULL); \ cmd_buf 111 drivers/net/wireless/ath/carl9170/cmd.h (u8 *) &__ar->cmd_buf[1], 0, NULL); \ cmd_buf 140 drivers/net/wireless/ath/carl9170/rx.c ar->cmd_buf, (ar->cmd.hdr.len + 4) & 0x3f); cmd_buf 724 drivers/net/wireless/atmel/at76c50x-usb.c struct at76_command *cmd_buf = kmalloc(sizeof(struct at76_command) + cmd_buf 727 drivers/net/wireless/atmel/at76c50x-usb.c if (!cmd_buf) cmd_buf 730 drivers/net/wireless/atmel/at76c50x-usb.c cmd_buf->cmd = cmd; cmd_buf 731 drivers/net/wireless/atmel/at76c50x-usb.c cmd_buf->reserved = 0; cmd_buf 732 drivers/net/wireless/atmel/at76c50x-usb.c cmd_buf->size = cpu_to_le16(buf_size); cmd_buf 733 drivers/net/wireless/atmel/at76c50x-usb.c memcpy(cmd_buf->data, buf, buf_size); cmd_buf 735 drivers/net/wireless/atmel/at76c50x-usb.c at76_dbg_dump(DBG_CMD, cmd_buf, sizeof(struct at76_command) + buf_size, cmd_buf 741 drivers/net/wireless/atmel/at76c50x-usb.c 0, 0, cmd_buf, cmd_buf 744 drivers/net/wireless/atmel/at76c50x-usb.c kfree(cmd_buf); cmd_buf 1146 drivers/net/wireless/marvell/mwifiex/main.h void *data_buf, void *cmd_buf); cmd_buf 1149 drivers/net/wireless/marvell/mwifiex/main.h void *data_buf, void *cmd_buf); cmd_buf 1064 drivers/net/wireless/marvell/mwifiex/pcie.c if (card && card->cmd_buf) { cmd_buf 1065 drivers/net/wireless/marvell/mwifiex/pcie.c mwifiex_unmap_pci_memory(adapter, card->cmd_buf, cmd_buf 1067 drivers/net/wireless/marvell/mwifiex/pcie.c dev_kfree_skb_any(card->cmd_buf); cmd_buf 1068 drivers/net/wireless/marvell/mwifiex/pcie.c card->cmd_buf = NULL; cmd_buf 1634 drivers/net/wireless/marvell/mwifiex/pcie.c card->cmd_buf = skb; cmd_buf 1673 drivers/net/wireless/marvell/mwifiex/pcie.c cmd_buf_pa = MWIFIEX_SKB_DMA_ADDR(card->cmd_buf); cmd_buf 1693 drivers/net/wireless/marvell/mwifiex/pcie.c card->cmd_buf->len)) { cmd_buf 1739 drivers/net/wireless/marvell/mwifiex/pcie.c if (card->cmd_buf) { cmd_buf 1740 drivers/net/wireless/marvell/mwifiex/pcie.c mwifiex_unmap_pci_memory(adapter, card->cmd_buf, cmd_buf 1742 drivers/net/wireless/marvell/mwifiex/pcie.c dev_kfree_skb_any(card->cmd_buf); cmd_buf 1743 drivers/net/wireless/marvell/mwifiex/pcie.c card->cmd_buf = NULL; cmd_buf 379 drivers/net/wireless/marvell/mwifiex/pcie.h struct sk_buff *cmd_buf; cmd_buf 1197 drivers/net/wireless/marvell/mwifiex/sdio.c u8 *cmd_buf; cmd_buf 1241 drivers/net/wireless/marvell/mwifiex/sdio.c cmd_buf = adapter->upld_buf; cmd_buf 1248 drivers/net/wireless/marvell/mwifiex/sdio.c memcpy(cmd_buf, skb->data, cmd_buf 1946 drivers/net/wireless/marvell/mwifiex/sta_cmd.c void *data_buf, void *cmd_buf) cmd_buf 1948 drivers/net/wireless/marvell/mwifiex/sta_cmd.c struct host_cmd_ds_command *cmd_ptr = cmd_buf; cmd_buf 308 drivers/net/wireless/marvell/mwifiex/uap_cmd.c mwifiex_uap_bss_wpa(u8 **tlv_buf, void *cmd_buf, u16 *param_size) cmd_buf 314 drivers/net/wireless/marvell/mwifiex/uap_cmd.c struct mwifiex_uap_bss_param *bss_cfg = cmd_buf; cmd_buf 420 drivers/net/wireless/marvell/mwifiex/uap_cmd.c mwifiex_uap_bss_wep(u8 **tlv_buf, void *cmd_buf, u16 *param_size) cmd_buf 426 drivers/net/wireless/marvell/mwifiex/uap_cmd.c struct mwifiex_uap_bss_param *bss_cfg = cmd_buf; cmd_buf 480 drivers/net/wireless/marvell/mwifiex/uap_cmd.c mwifiex_uap_bss_param_prepare(u8 *tlv, void *cmd_buf, u16 *param_size) cmd_buf 497 drivers/net/wireless/marvell/mwifiex/uap_cmd.c struct mwifiex_uap_bss_param *bss_cfg = cmd_buf; cmd_buf 607 drivers/net/wireless/marvell/mwifiex/uap_cmd.c mwifiex_uap_bss_wpa(&tlv, cmd_buf, &cmd_size); cmd_buf 609 drivers/net/wireless/marvell/mwifiex/uap_cmd.c mwifiex_uap_bss_wep(&tlv, cmd_buf, &cmd_size); cmd_buf 700 drivers/net/wireless/marvell/mwifiex/uap_cmd.c static int mwifiex_uap_custom_ie_prepare(u8 *tlv, void *cmd_buf, u16 *ie_size) cmd_buf 702 drivers/net/wireless/marvell/mwifiex/uap_cmd.c struct mwifiex_ie_list *ap_ie = cmd_buf; cmd_buf 725 drivers/net/wireless/marvell/mwifiex/uap_cmd.c u32 type, void *cmd_buf) cmd_buf 740 drivers/net/wireless/marvell/mwifiex/uap_cmd.c if (mwifiex_uap_bss_param_prepare(tlv, cmd_buf, ¶m_size)) cmd_buf 746 drivers/net/wireless/marvell/mwifiex/uap_cmd.c if (mwifiex_uap_custom_ie_prepare(tlv, cmd_buf, &ie_size)) cmd_buf 781 drivers/net/wireless/marvell/mwifiex/uap_cmd.c void *data_buf, void *cmd_buf) cmd_buf 783 drivers/net/wireless/marvell/mwifiex/uap_cmd.c struct host_cmd_ds_command *cmd = cmd_buf; cmd_buf 802 drivers/net/wireless/marvell/mwifiex/uap_cmd.c if (mwifiex_cmd_issue_chan_report_request(priv, cmd_buf, cmd_buf 2300 drivers/net/wireless/realtek/rtlwifi/base.c u8 *cmd_buf = NULL; cmd_buf 2304 drivers/net/wireless/realtek/rtlwifi/base.c cmd_buf = GET_C2H_DATA_PTR(skb->data); cmd_buf 2315 drivers/net/wireless/realtek/rtlwifi/base.c rtl_tx_report_handler(hw, cmd_buf, cmd_len); cmd_buf 2319 drivers/net/wireless/realtek/rtlwifi/base.c hal_ops->c2h_ra_report_handler(hw, cmd_buf, cmd_len); cmd_buf 2325 drivers/net/wireless/realtek/rtlwifi/base.c btc_ops->btc_btinfo_notify(rtlpriv, cmd_buf, cmd_len); cmd_buf 2331 drivers/net/wireless/realtek/rtlwifi/base.c btc_ops->btc_btmpinfo_notify(rtlpriv, cmd_buf, cmd_len); cmd_buf 1029 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtcoutsrc.c u32 cmd_len, u8 *cmd_buf) cmd_buf 1035 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtcoutsrc.c cmd_len, cmd_buf); cmd_buf 1042 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtcoutsrc.c u8 cmd_buf[1] = {0}; /* port id [2:0] = 0 */ cmd_buf 1045 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtcoutsrc.c 1, cmd_buf); cmd_buf 860 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/fw.c u8 *cmd_buf, u8 cmd_len) cmd_buf 862 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/fw.c u8 rate = cmd_buf[0] & 0x3F; cmd_buf 863 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/fw.c bool collision_state = cmd_buf[3] & BIT(0); cmd_buf 162 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/fw.h u8 *cmd_buf, u8 cmd_len); cmd_buf 1893 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/fw.c u8 *cmd_buf, u8 cmd_len) cmd_buf 1896 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/fw.c u8 rate = cmd_buf[0] & 0x3F; cmd_buf 300 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/fw.h u8 *cmd_buf, u8 cmd_len); cmd_buf 2333 drivers/net/wireless/realtek/rtlwifi/wifi.h u8 *cmd_buf, u8 cmd_len); cmd_buf 1053 drivers/net/wireless/ti/wl18xx/main.c memcpy(priv->cmd_buf, buf, len); cmd_buf 1054 drivers/net/wireless/ti/wl18xx/main.c memset(priv->cmd_buf + len, 0, WL18XX_CMD_MAX_SIZE - len); cmd_buf 1056 drivers/net/wireless/ti/wl18xx/main.c return wlcore_write(wl, cmd_box_addr, priv->cmd_buf, cmd_buf 36 drivers/net/wireless/ti/wl18xx/wl18xx.h u8 cmd_buf[WL18XX_CMD_MAX_SIZE]; cmd_buf 262 drivers/ps3/ps3av.c static int ps3av_process_reply_packet(struct ps3av_send_hdr *cmd_buf, cmd_buf 276 drivers/ps3/ps3av.c memcpy(cmd_buf, recv_buf, return_len); cmd_buf 336 drivers/scsi/cxlflash/superpipe.c u8 *cmd_buf = NULL; cmd_buf 344 drivers/scsi/cxlflash/superpipe.c cmd_buf = kzalloc(CMD_BUFSIZE, GFP_KERNEL); cmd_buf 346 drivers/scsi/cxlflash/superpipe.c if (unlikely(!cmd_buf || !scsi_cmd)) { cmd_buf 360 drivers/scsi/cxlflash/superpipe.c result = scsi_execute(sdev, scsi_cmd, DMA_FROM_DEVICE, cmd_buf, cmd_buf 390 drivers/scsi/cxlflash/superpipe.c kfree(cmd_buf); cmd_buf 415 drivers/scsi/cxlflash/superpipe.c gli->max_lba = be64_to_cpu(*((__be64 *)&cmd_buf[0])); cmd_buf 416 drivers/scsi/cxlflash/superpipe.c gli->blk_len = be32_to_cpu(*((__be32 *)&cmd_buf[8])); cmd_buf 420 drivers/scsi/cxlflash/superpipe.c kfree(cmd_buf); cmd_buf 423 drivers/scsi/cxlflash/vlun.c u8 *cmd_buf = NULL; cmd_buf 436 drivers/scsi/cxlflash/vlun.c cmd_buf = kzalloc(CMD_BUFSIZE, GFP_KERNEL); cmd_buf 438 drivers/scsi/cxlflash/vlun.c if (unlikely(!cmd_buf || !scsi_cmd)) { cmd_buf 453 drivers/scsi/cxlflash/vlun.c result = scsi_execute(sdev, scsi_cmd, DMA_TO_DEVICE, cmd_buf, cmd_buf 477 drivers/scsi/cxlflash/vlun.c kfree(cmd_buf); cmd_buf 92 drivers/spi/spi-axi-spi-engine.c const uint16_t *cmd_buf; cmd_buf 296 drivers/spi/spi-axi-spi-engine.c buf = spi_engine->cmd_buf; cmd_buf 299 drivers/spi/spi-axi-spi-engine.c spi_engine->cmd_buf += m; cmd_buf 435 drivers/spi/spi-axi-spi-engine.c spi_engine->cmd_buf = p->instructions; cmd_buf 317 drivers/staging/rtl8712/rtl8712_cmd.c pcmdbuf = (__le32 *)pcmdpriv->cmd_buf; cmd_buf 59 drivers/staging/rtl8712/rtl871x_cmd.c pcmdpriv->cmd_buf = pcmdpriv->cmd_allocated_buf + CMDBUFF_ALIGN_SZ - cmd_buf 45 drivers/staging/rtl8712/rtl871x_cmd.h u8 *cmd_buf; /*shall be non-paged, and 4 bytes aligned*/ cmd_buf 186 drivers/staging/rtl8723bs/core/rtw_cmd.c pcmdpriv->cmd_buf = pcmdpriv->cmd_allocated_buf + CMDBUFF_ALIGN_SZ - ((SIZE_PTR)(pcmdpriv->cmd_allocated_buf) & (CMDBUFF_ALIGN_SZ-1)); cmd_buf 416 drivers/staging/rtl8723bs/core/rtw_cmd.c pcmdbuf = pcmdpriv->cmd_buf; cmd_buf 45 drivers/staging/rtl8723bs/include/rtw_cmd.h u8 *cmd_buf; /* shall be non-paged, and 4 bytes aligned */ cmd_buf 83 drivers/staging/uwb/i1480/dfu/dfu.c struct uwb_rccb *cmd = i1480->cmd_buf; cmd_buf 145 drivers/staging/uwb/i1480/dfu/dfu.c u32 *buf = (u32 *) i1480->cmd_buf; cmd_buf 115 drivers/staging/uwb/i1480/dfu/i1480-dfu.h void *evt_buf, *cmd_buf; cmd_buf 169 drivers/staging/uwb/i1480/dfu/mac.c if (memcmp(i1480->cmd_buf, bin + src_itr, result)) { cmd_buf 170 drivers/staging/uwb/i1480/dfu/mac.c u8 *buf = i1480->cmd_buf; cmd_buf 256 drivers/staging/uwb/i1480/dfu/mac.c u32 *buffer = (u32 *)i1480->cmd_buf; cmd_buf 280 drivers/staging/uwb/i1480/dfu/mac.c u32 *buffer = (u32 *)i1480->cmd_buf; cmd_buf 377 drivers/staging/uwb/i1480/dfu/mac.c struct uwb_rccb *cmd = (void *) i1480->cmd_buf; cmd_buf 408 drivers/staging/uwb/i1480/dfu/mac.c u32 *val = (u32 *) i1480->cmd_buf; cmd_buf 41 drivers/staging/uwb/i1480/dfu/phy.c struct i1480_cmd_mpi_write *cmd = i1480->cmd_buf; cmd_buf 89 drivers/staging/uwb/i1480/dfu/phy.c struct i1480_cmd_mpi_read *cmd = i1480->cmd_buf; cmd_buf 93 drivers/staging/uwb/i1480/dfu/phy.c memset(i1480->cmd_buf, 0x69, 512); cmd_buf 106 drivers/staging/uwb/i1480/dfu/usb.c memcpy(i1480->cmd_buf, buffer + itr, buffer_size); cmd_buf 111 drivers/staging/uwb/i1480/dfu/usb.c i1480->cmd_buf, buffer_size, 100 /* FIXME: arbitrary */); cmd_buf 156 drivers/staging/uwb/i1480/dfu/usb.c i1480->cmd_buf + itr, itr_size, cmd_buf 283 drivers/staging/uwb/i1480/dfu/usb.c struct uwb_rccb *cmd = i1480->cmd_buf; cmd_buf 365 drivers/staging/uwb/i1480/dfu/usb.c i1480->cmd_buf = kmalloc_array(2, i1480->buf_size, GFP_KERNEL); cmd_buf 366 drivers/staging/uwb/i1480/dfu/usb.c if (i1480->cmd_buf == NULL) { cmd_buf 371 drivers/staging/uwb/i1480/dfu/usb.c i1480->evt_buf = i1480->cmd_buf + i1480->buf_size; cmd_buf 398 drivers/staging/uwb/i1480/dfu/usb.c kfree(i1480->cmd_buf); cmd_buf 58 drivers/staging/uwb/whc-rc.c void *evt_buf, *cmd_buf; cmd_buf 108 drivers/staging/uwb/whc-rc.c memmove(whcrc->cmd_buf, cmd, cmd_size); cmd_buf 235 drivers/staging/uwb/whc-rc.c whcrc->cmd_buf = dma_alloc_coherent(&umc_dev->dev, PAGE_SIZE, cmd_buf 237 drivers/staging/uwb/whc-rc.c if (whcrc->cmd_buf == NULL) { cmd_buf 251 drivers/staging/uwb/whc-rc.c dma_free_coherent(&umc_dev->dev, PAGE_SIZE, whcrc->cmd_buf, cmd_buf 274 drivers/staging/uwb/whc-rc.c dma_free_coherent(&umc_dev->dev, PAGE_SIZE, whcrc->cmd_buf, cmd_buf 1115 drivers/target/sbp/sbp_target.c req->cmd_buf = kmalloc(cmd_len, GFP_KERNEL); cmd_buf 1116 drivers/target/sbp/sbp_target.c if (!req->cmd_buf) cmd_buf 1119 drivers/target/sbp/sbp_target.c memcpy(req->cmd_buf, req->orb.command_block, cmd_buf 1129 drivers/target/sbp/sbp_target.c req->cmd_buf + sizeof(req->orb.command_block), cmd_buf 1221 drivers/target/sbp/sbp_target.c if (target_submit_cmd(&req->se_cmd, sess->se_sess, req->cmd_buf, cmd_buf 1448 drivers/target/sbp/sbp_target.c kfree(req->cmd_buf); cmd_buf 219 drivers/target/sbp/sbp_target.h void *cmd_buf; cmd_buf 1047 drivers/usb/gadget/function/f_tcm.c dir = get_cmd_dir(cmd->cmd_buf); cmd_buf 1056 drivers/usb/gadget/function/f_tcm.c if (target_submit_cmd(se_cmd, tv_nexus->tvn_se_sess, cmd->cmd_buf, cmd_buf 1123 drivers/usb/gadget/function/f_tcm.c memcpy(cmd->cmd_buf, cmd_iu->cdb, cmd_len); cmd_buf 1177 drivers/usb/gadget/function/f_tcm.c dir = get_cmd_dir(cmd->cmd_buf); cmd_buf 1187 drivers/usb/gadget/function/f_tcm.c cmd->cmd_buf, cmd->sense_iu.sense, cmd->unpacked_lun, cmd_buf 1232 drivers/usb/gadget/function/f_tcm.c memcpy(cmd->cmd_buf, cbw->CDB, cmd_len); cmd_buf 68 drivers/usb/gadget/function/tcm.h u8 cmd_buf[USBG_MAX_CMD]; cmd_buf 279 include/linux/mlx5/driver.h void *cmd_buf; cmd_buf 50 include/linux/rtsx_usb.h u8 *cmd_buf; cmd_buf 132 include/linux/rtsx_usb.h ucr->cmd_buf[0] = 'R'; \ cmd_buf 133 include/linux/rtsx_usb.h ucr->cmd_buf[1] = 'T'; \ cmd_buf 134 include/linux/rtsx_usb.h ucr->cmd_buf[2] = 'C'; \ cmd_buf 135 include/linux/rtsx_usb.h ucr->cmd_buf[3] = 'R'; \ cmd_buf 142 include/linux/rtsx_usb.h ucr->cmd_buf[PACKET_TYPE] = BATCH_CMD; cmd_buf 214 include/pcmcia/cistpl.h u_char cmd_buf; cmd_buf 125 include/uapi/drm/exynos_drm.h __u64 cmd_buf; cmd_buf 1514 virt/kvm/arm/vgic/vgic-its.c u64 cmd_buf[4]; cmd_buf 1524 virt/kvm/arm/vgic/vgic-its.c cmd_buf, ITS_CMD_SIZE); cmd_buf 1533 virt/kvm/arm/vgic/vgic-its.c vgic_its_handle_command(kvm, its, cmd_buf);