/Linux-v5.4/drivers/firmware/google/ |
D | gsmi.c | 94 struct gsmi_buf *data_buf; /* generic data buffer */ member 315 .data_ptr = gsmi_dev.data_buf->address, in gsmi_get_variable() 336 memset(gsmi_dev.data_buf->start, 0, gsmi_dev.data_buf->length); in gsmi_get_variable() 355 gsmi_dev.data_buf->length); in gsmi_get_variable() 359 memcpy(data, gsmi_dev.data_buf->start, *data_size); in gsmi_get_variable() 437 .data_ptr = gsmi_dev.data_buf->address, in gsmi_set_variable() 461 memset(gsmi_dev.data_buf->start, 0, gsmi_dev.data_buf->length); in gsmi_set_variable() 462 memcpy(gsmi_dev.data_buf->start, data, data_size); in gsmi_set_variable() 492 .data_ptr = gsmi_dev.data_buf->address, in eventlog_write() 504 if ((count - sizeof(u32)) > gsmi_dev.data_buf->length) in eventlog_write() [all …]
|
/Linux-v5.4/drivers/net/wireless/marvell/mwifiex/ |
D | sta_cmd.c | 287 u16 cmd_action, void *data_buf) in mwifiex_cmd_rf_tx_power() argument 1152 u16 cmd_action, void *data_buf) in mwifiex_cmd_reg_access() argument 1154 struct mwifiex_ds_reg_rw *reg_rw = data_buf; in mwifiex_cmd_reg_access() 1214 struct mwifiex_ds_read_eeprom *rd_eeprom = data_buf; in mwifiex_cmd_reg_access() 1517 struct host_cmd_ds_command *cmd, void *data_buf) in mwifiex_cmd_cfg_data() argument 1520 struct property *prop = data_buf; in mwifiex_cmd_cfg_data() 1552 u16 cmd_action, void *data_buf) in mwifiex_cmd_set_mc_policy() argument 1555 const u16 *drcs_info = data_buf; in mwifiex_cmd_set_mc_policy() 1634 u16 cmd_action, void *data_buf) in mwifiex_cmd_coalesce_cfg() argument 1638 struct mwifiex_ds_coalesce_cfg *cfg = data_buf; in mwifiex_cmd_coalesce_cfg() [all …]
|
D | sta_cmdresp.c | 169 u32 *data_buf) in mwifiex_ret_802_11_snmp_mib() argument 182 if (data_buf) in mwifiex_ret_802_11_snmp_mib() 183 *data_buf = ul_temp; in mwifiex_ret_802_11_snmp_mib() 335 static int mwifiex_get_power_level(struct mwifiex_private *priv, void *data_buf) in mwifiex_get_power_level() argument 341 if (!data_buf) in mwifiex_get_power_level() 344 pg_tlv_hdr = (struct mwifiex_types_power_group *)((u8 *)data_buf); in mwifiex_get_power_level() 733 void *data_buf) in mwifiex_ret_p2p_mode_cfg() argument 737 if (data_buf) in mwifiex_ret_p2p_mode_cfg() 738 put_unaligned_le16(le16_to_cpu(mode_cfg->mode), data_buf); in mwifiex_ret_p2p_mode_cfg() 763 void *data_buf) in mwifiex_ret_reg_access() argument [all …]
|
D | 11n_rxreorder.h | 68 void *data_buf); 74 void *data_buf);
|
D | cmdevt.c | 42 u32 cmd_no, void *data_buf, bool sync) in mwifiex_init_cmd_node() argument 52 cmd_node->data_buf = data_buf; in mwifiex_init_cmd_node() 97 cmd_node->data_buf = NULL; in mwifiex_clean_cmd_node() 559 u16 cmd_action, u32 cmd_oid, void *data_buf, bool sync) in mwifiex_send_cmd() argument 622 mwifiex_init_cmd_node(priv, cmd_node, cmd_no, data_buf, sync); in mwifiex_send_cmd() 646 cmd_oid, data_buf, in mwifiex_send_cmd() 651 cmd_oid, data_buf, in mwifiex_send_cmd() 656 ret = mwifiex_cmd_host_cmd(priv, cmd_ptr, data_buf); in mwifiex_send_cmd() 845 if (adapter->curr_cmd->data_buf) { in mwifiex_process_cmdresp() 846 hostcmd = adapter->curr_cmd->data_buf; in mwifiex_process_cmdresp()
|
D | 11h.c | 146 void *data_buf) in mwifiex_cmd_issue_chan_report_request() argument 149 struct mwifiex_radar_params *radar_params = (void *)data_buf; in mwifiex_cmd_issue_chan_report_request()
|
/Linux-v5.4/virt/kvm/arm/ |
D | mmio.c | 158 u8 data_buf[8]; in io_mem_abort() local 181 kvm_mmio_write_buf(data_buf, len, data); in io_mem_abort() 184 data_buf); in io_mem_abort() 190 data_buf); in io_mem_abort() 202 memcpy(run->mmio.data, data_buf, len); in io_mem_abort() 209 memcpy(run->mmio.data, data_buf, len); in io_mem_abort()
|
/Linux-v5.4/drivers/mtd/nand/raw/ |
D | qcom_nandc.c | 1521 static bool erased_chunk_check_and_fixup(u8 *data_buf, int data_len) in erased_chunk_check_and_fixup() argument 1531 empty1 = data_buf[3]; in erased_chunk_check_and_fixup() 1532 empty2 = data_buf[175]; in erased_chunk_check_and_fixup() 1540 data_buf[3] = 0xff; in erased_chunk_check_and_fixup() 1541 data_buf[175] = 0xff; in erased_chunk_check_and_fixup() 1548 if (memchr_inv(data_buf, 0xff, data_len)) { in erased_chunk_check_and_fixup() 1549 data_buf[3] = empty1; in erased_chunk_check_and_fixup() 1550 data_buf[175] = empty2; in erased_chunk_check_and_fixup() 1584 u8 *data_buf, u8 *oob_buf, int page, int cw) in qcom_nandc_read_cw_raw() argument 1628 read_data_dma(nandc, reg_off, data_buf, data_size1, 0); in qcom_nandc_read_cw_raw() [all …]
|
D | mxc_nand.c | 183 uint8_t *data_buf; member 615 memcpy32_fromio(host->data_buf, host->main_area0, 16); in send_read_id_v3() 629 memcpy32_fromio(host->data_buf, host->main_area0, 16); in send_read_id_v1_v2() 893 memset(host->data_buf, 0xff, mtd->writesize); in mxc_nand_write_oob() 895 return mxc_nand_write_page(chip, host->data_buf, false, page); in mxc_nand_write_oob() 909 ret = *(uint16_t *)(host->data_buf + host->buf_start); in mxc_nand_read_byte() 913 ret = *(uint8_t *)(host->data_buf + host->buf_start); in mxc_nand_read_byte() 934 memcpy(host->data_buf + col, buf, n); in mxc_nand_write_buf() 953 memcpy(buf, host->data_buf + col, n); in mxc_nand_read_buf() 1385 memcpy32_fromio(host->data_buf, host->main_area0, 512); in mxc_nand_command() [all …]
|
D | meson_nand.c | 118 u8 *data_buf; member 338 return meson_chip->data_buf + len; in meson_nfc_oob_ptr() 349 return meson_chip->data_buf + len; in meson_nfc_data_ptr() 647 ret = meson_nfc_dma_buffer_setup(nand, meson_chip->data_buf, in meson_nfc_write_page_sub() 688 memcpy(meson_chip->data_buf, buf, mtd->writesize); in meson_nfc_write_page_hwecc() 731 ret = meson_nfc_dma_buffer_setup(nand, meson_chip->data_buf, in meson_nfc_read_page_sub() 816 } else if (buf && buf != meson_chip->data_buf) { in meson_nfc_read_page_hwecc() 817 memcpy(buf, meson_chip->data_buf, mtd->writesize); in meson_nfc_read_page_hwecc() 1069 kfree(meson_chip->data_buf); in meson_nfc_free_buffer() 1083 meson_chip->data_buf = kmalloc(page_bytes, GFP_KERNEL); in meson_chip_buffer_init() [all …]
|
D | lpc32xx_slc.c | 234 uint8_t *data_buf; member 504 dma_buf = host->data_buf; in lpc32xx_xfer() 507 memcpy(host->data_buf, buf, mtd->writesize); in lpc32xx_xfer() 593 memcpy(buf, host->data_buf, mtd->writesize); in lpc32xx_xfer() 779 host->ecc_buf = (uint32_t *)(host->data_buf + LPC32XX_DMA_DATA_SIZE); in lpc32xx_nand_attach_chip() 904 host->data_buf = devm_kzalloc(&pdev->dev, host->dma_buf_len, in lpc32xx_nand_probe() 906 if (host->data_buf == NULL) { in lpc32xx_nand_probe()
|
/Linux-v5.4/drivers/mmc/core/ |
D | mmc_ops.c | 618 u8 *data_buf; in mmc_send_tuning() local 629 data_buf = kzalloc(size, GFP_KERNEL); in mmc_send_tuning() 630 if (!data_buf) in mmc_send_tuning() 652 sg_init_one(&sg, data_buf, size); in mmc_send_tuning() 669 if (memcmp(data_buf, tuning_block_pattern, size)) in mmc_send_tuning() 673 kfree(data_buf); in mmc_send_tuning() 711 u8 *data_buf; in mmc_send_bus_test() local 720 data_buf = kmalloc(len, GFP_KERNEL); in mmc_send_bus_test() 721 if (!data_buf) in mmc_send_bus_test() 731 kfree(data_buf); in mmc_send_bus_test() [all …]
|
/Linux-v5.4/arch/powerpc/platforms/pseries/ |
D | dlpar.c | 142 char *data_buf; in dlpar_configure_connector() local 150 data_buf = kzalloc(RTAS_DATA_BUF_SIZE, GFP_KERNEL); in dlpar_configure_connector() 151 if (!data_buf) in dlpar_configure_connector() 154 ccwa = (struct cc_workarea *)&data_buf[0]; in dlpar_configure_connector() 165 memcpy(rtas_data_buf, data_buf, RTAS_DATA_BUF_SIZE); in dlpar_configure_connector() 167 memcpy(data_buf, rtas_data_buf, RTAS_DATA_BUF_SIZE); in dlpar_configure_connector() 232 kfree(data_buf); in dlpar_configure_connector()
|
/Linux-v5.4/drivers/gpu/drm/tiny/ |
D | gm12u320.c | 90 unsigned char *data_buf[GM12U320_BLOCK_COUNT]; member 176 gm12u320->data_buf[i] = kzalloc(block_size, GFP_KERNEL); in gm12u320_usb_alloc() 177 if (!gm12u320->data_buf[i]) in gm12u320_usb_alloc() 180 memcpy(gm12u320->data_buf[i], hdr, DATA_BLOCK_HEADER_SIZE); in gm12u320_usb_alloc() 181 memcpy(gm12u320->data_buf[i] + in gm12u320_usb_alloc() 201 kfree(gm12u320->data_buf[i]); in gm12u320_usb_free() 317 gm12u320->data_buf[block] + dst_offset, in gm12u320_copy_fb_to_blocks() 324 gm12u320->data_buf[block] + dst_offset, in gm12u320_copy_fb_to_blocks() 380 gm12u320->data_buf[block], block_size, in gm12u320_fb_update_work()
|
/Linux-v5.4/block/ |
D | t10-pi.c | 37 pi->guard_tag = fn(iter->data_buf, iter->interval); in t10_pi_generate() 45 iter->data_buf += iter->interval; in t10_pi_generate() 83 csum = fn(iter->data_buf, iter->interval); in t10_pi_verify() 94 iter->data_buf += iter->interval; in t10_pi_verify()
|
/Linux-v5.4/drivers/iio/chemical/ |
D | sgp30.c | 209 u8 *data_buf = &buf->start; in sgp_verify_buffer() local 212 crc = crc8(sgp_crc8_table, &data_buf[i], SGP_WORD_LEN, in sgp_verify_buffer() 214 if (crc != data_buf[i + SGP_WORD_LEN]) { in sgp_verify_buffer() 240 u8 *data_buf; in sgp_read_cmd() local 250 data_buf = &buf->start; in sgp_read_cmd() 251 ret = i2c_master_recv(client, data_buf, size); in sgp_read_cmd()
|
/Linux-v5.4/drivers/scsi/pm8001/ |
D | pm80xx_hwi.c | 99 pm8001_ha->forensic_info.data_buf.direct_data = buf; in pm80xx_get_fatal_dump() 101 pm8001_ha->forensic_info.data_buf.direct_data += in pm80xx_get_fatal_dump() 102 sprintf(pm8001_ha->forensic_info.data_buf.direct_data, in pm80xx_get_fatal_dump() 104 return (char *)pm8001_ha->forensic_info.data_buf.direct_data - in pm80xx_get_fatal_dump() 107 if (pm8001_ha->forensic_info.data_buf.direct_offset == 0) { in pm80xx_get_fatal_dump() 112 pm8001_ha->forensic_info.data_buf.direct_len = SYSFS_OFFSET; in pm80xx_get_fatal_dump() 113 pm8001_ha->forensic_info.data_buf.read_len = 0; in pm80xx_get_fatal_dump() 115 pm8001_ha->forensic_info.data_buf.direct_data = direct_data; in pm80xx_get_fatal_dump() 138 pm8001_ha->forensic_info.data_buf.direct_data += in pm80xx_get_fatal_dump() 139 sprintf(pm8001_ha->forensic_info.data_buf.direct_data, in pm80xx_get_fatal_dump() [all …]
|
/Linux-v5.4/drivers/net/ethernet/amazon/ena/ |
D | ena_ethtool.c | 823 u64 *data_buf; in ena_dump_stats_ex() local 842 data_buf = devm_kcalloc(&adapter->pdev->dev, in ena_dump_stats_ex() 845 if (!data_buf) { in ena_dump_stats_ex() 853 ena_get_ethtool_stats(netdev, NULL, data_buf); in ena_dump_stats_ex() 861 data_buf[i]); in ena_dump_stats_ex() 868 data_buf[i]); in ena_dump_stats_ex() 871 devm_kfree(&adapter->pdev->dev, data_buf); in ena_dump_stats_ex()
|
/Linux-v5.4/drivers/infiniband/ulp/iser/ |
D | iser_initiator.c | 369 struct iser_data_buf *data_buf, *prot_buf; in iser_send_command() local 383 data_buf = &iser_task->data[ISER_DIR_IN]; in iser_send_command() 386 data_buf = &iser_task->data[ISER_DIR_OUT]; in iser_send_command() 391 data_buf->sg = scsi_sglist(sc); in iser_send_command() 392 data_buf->size = scsi_sg_count(sc); in iser_send_command() 394 data_buf->data_len = scsi_bufflen(sc); in iser_send_command() 399 prot_buf->data_len = (data_buf->data_len >> in iser_send_command()
|
/Linux-v5.4/drivers/usb/gadget/function/ |
D | f_tcm.c | 216 cmd->data_buf = kmalloc(se_cmd->data_length, GFP_ATOMIC); in bot_send_read_response() 217 if (!cmd->data_buf) in bot_send_read_response() 222 cmd->data_buf, in bot_send_read_response() 225 fu->bot_req_in->buf = cmd->data_buf; in bot_send_read_response() 260 cmd->data_buf = kmalloc(se_cmd->data_length, GFP_KERNEL); in bot_send_write_request() 261 if (!cmd->data_buf) in bot_send_write_request() 264 fu->bot_req_out->buf = cmd->data_buf; in bot_send_write_request() 518 cmd->data_buf = kmalloc(se_cmd->data_length, GFP_ATOMIC); in uasp_prepare_r_request() 519 if (!cmd->data_buf) in uasp_prepare_r_request() 524 cmd->data_buf, in uasp_prepare_r_request() [all …]
|
D | tcm.h | 73 void *data_buf; /* used if no sg support available */ member
|
/Linux-v5.4/drivers/macintosh/ |
D | smu.c | 125 DPRINTK("SMU: data buffer: %8ph\n", cmd->data_buf); in smu_start_cmd() 130 memcpy(smu->cmd_buf->data, cmd->data_buf, cmd->data_len); in smu_start_cmd() 304 cmd->data_buf = scmd->buffer; in smu_queue_simple() 815 scmd->data_buf = cmd->pdata; in smu_i2c_low_completion() 837 cmd->scmd.data_buf = (u8 *)(char *)&cmd->info; in smu_queue_i2c() 922 cmd.data_buf = params; in smu_read_datablock() 1161 pp->cmd.data_buf = pp->buffer; in smu_write()
|
/Linux-v5.4/drivers/staging/ks7010/ |
D | ks7010_sdio.c | 644 unsigned char *data_buf; in ks7010_sdio_update_index() local 646 data_buf = kmemdup(&index, sizeof(u32), GFP_KERNEL); in ks7010_sdio_update_index() 647 if (!data_buf) in ks7010_sdio_update_index() 650 ret = ks7010_sdio_write(priv, WRITE_INDEX_REG, data_buf, sizeof(index)); in ks7010_sdio_update_index() 654 ret = ks7010_sdio_write(priv, READ_INDEX_REG, data_buf, sizeof(index)); in ks7010_sdio_update_index() 661 kfree(data_buf); in ks7010_sdio_update_index()
|
/Linux-v5.4/drivers/i2c/busses/ |
D | i2c-tegra-bpmp.c | 105 char *buf = request->xfer.data_buf; in tegra_bpmp_serialize_i2c_msg() 155 char *buf = response->xfer.data_buf; in tegra_bpmp_i2c_deserialize()
|
/Linux-v5.4/drivers/ide/ |
D | ide-taskfile.c | 470 u8 *data_buf = NULL; in ide_taskfile_ioctl() local 591 data_buf = outbuf; in ide_taskfile_ioctl() 609 data_buf = inbuf; in ide_taskfile_ioctl() 632 err = ide_raw_taskfile(drive, &cmd, data_buf, nsect); in ide_taskfile_ioctl()
|