/linux-6.6.21/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
D | xtlv.c | 40 u8 *data_buf; in brcmf_xtlv_pack_header() local 49 data_buf = lenp + sizeof(u16); in brcmf_xtlv_pack_header() 56 data_buf = lenp + sizeof(u8); in brcmf_xtlv_pack_header() 63 data_buf = lenp + sizeof(u16); in brcmf_xtlv_pack_header() 70 data_buf = lenp + sizeof(u8); in brcmf_xtlv_pack_header() 82 memcpy(data_buf, data, len); in brcmf_xtlv_pack_header()
|
/linux-6.6.21/drivers/firmware/google/ |
D | gsmi.c | 94 struct gsmi_buf *data_buf; /* generic data buffer */ member 317 .data_ptr = gsmi_dev.data_buf->address, in gsmi_get_variable() 338 memset(gsmi_dev.data_buf->start, 0, gsmi_dev.data_buf->length); in gsmi_get_variable() 357 gsmi_dev.data_buf->length); in gsmi_get_variable() 361 memcpy(data, gsmi_dev.data_buf->start, *data_size); in gsmi_get_variable() 440 .data_ptr = gsmi_dev.data_buf->address, in gsmi_set_variable() 464 memset(gsmi_dev.data_buf->start, 0, gsmi_dev.data_buf->length); in gsmi_set_variable() 465 memcpy(gsmi_dev.data_buf->start, data, data_size); in gsmi_set_variable() 495 .data_ptr = gsmi_dev.data_buf->address, in eventlog_write() 507 if ((count - sizeof(u32)) > gsmi_dev.data_buf->length) in eventlog_write() [all …]
|
/linux-6.6.21/drivers/net/wireless/marvell/mwifiex/ |
D | sta_cmd.c | 275 u16 cmd_action, void *data_buf) in mwifiex_cmd_rf_tx_power() argument 1138 u16 cmd_action, void *data_buf) in mwifiex_cmd_reg_access() argument 1140 struct mwifiex_ds_reg_rw *reg_rw = data_buf; in mwifiex_cmd_reg_access() 1200 struct mwifiex_ds_read_eeprom *rd_eeprom = data_buf; in mwifiex_cmd_reg_access() 1503 struct host_cmd_ds_command *cmd, void *data_buf) in mwifiex_cmd_cfg_data() argument 1506 struct property *prop = data_buf; in mwifiex_cmd_cfg_data() 1538 u16 cmd_action, void *data_buf) in mwifiex_cmd_set_mc_policy() argument 1541 const u16 *drcs_info = data_buf; in mwifiex_cmd_set_mc_policy() 1620 u16 cmd_action, void *data_buf) in mwifiex_cmd_coalesce_cfg() argument 1624 struct mwifiex_ds_coalesce_cfg *cfg = data_buf; in mwifiex_cmd_coalesce_cfg() [all …]
|
D | sta_cmdresp.c | 157 u32 *data_buf) in mwifiex_ret_802_11_snmp_mib() argument 170 if (data_buf) in mwifiex_ret_802_11_snmp_mib() 171 *data_buf = ul_temp; in mwifiex_ret_802_11_snmp_mib() 324 static int mwifiex_get_power_level(struct mwifiex_private *priv, void *data_buf) in mwifiex_get_power_level() argument 330 if (!data_buf) in mwifiex_get_power_level() 333 pg_tlv_hdr = (struct mwifiex_types_power_group *)((u8 *)data_buf); in mwifiex_get_power_level() 754 void *data_buf) in mwifiex_ret_p2p_mode_cfg() argument 758 if (data_buf) in mwifiex_ret_p2p_mode_cfg() 759 put_unaligned_le16(le16_to_cpu(mode_cfg->mode), data_buf); in mwifiex_ret_p2p_mode_cfg() 784 void *data_buf) in mwifiex_ret_reg_access() argument [all …]
|
D | 11n_rxreorder.h | 56 void *data_buf); 62 void *data_buf);
|
D | cmdevt.c | 30 u32 cmd_no, void *data_buf, bool sync) in mwifiex_init_cmd_node() argument 40 cmd_node->data_buf = data_buf; in mwifiex_init_cmd_node() 85 cmd_node->data_buf = NULL; in mwifiex_clean_cmd_node() 547 u16 cmd_action, u32 cmd_oid, void *data_buf, bool sync) in mwifiex_send_cmd() argument 615 mwifiex_init_cmd_node(priv, cmd_node, cmd_no, data_buf, sync); in mwifiex_send_cmd() 639 cmd_oid, data_buf, in mwifiex_send_cmd() 644 cmd_oid, data_buf, in mwifiex_send_cmd() 649 ret = mwifiex_cmd_host_cmd(priv, cmd_ptr, data_buf); in mwifiex_send_cmd() 847 if (adapter->curr_cmd->data_buf) { in mwifiex_process_cmdresp() 848 hostcmd = adapter->curr_cmd->data_buf; in mwifiex_process_cmdresp()
|
/linux-6.6.21/arch/arm64/kvm/ |
D | mmio.c | 131 u8 data_buf[8]; in io_mem_abort() local 164 kvm_mmio_write_buf(data_buf, len, data); in io_mem_abort() 167 data_buf); in io_mem_abort() 173 data_buf); in io_mem_abort() 185 memcpy(run->mmio.data, data_buf, len); in io_mem_abort() 192 memcpy(run->mmio.data, data_buf, len); in io_mem_abort()
|
/linux-6.6.21/tools/testing/selftests/bpf/prog_tests/ |
D | lwt_reroute.c | 80 char data_buf[8]; /* only #pkts matter, so use a random small buffer */ in overflow_fq() local 83 .iov_base = data_buf, in overflow_fq() 84 .iov_len = sizeof(data_buf), in overflow_fq() 102 memset(data_buf, 0, sizeof(data_buf)); in overflow_fq()
|
/linux-6.6.21/drivers/mmc/core/ |
D | mmc_ops.c | 677 u8 *data_buf; in mmc_send_tuning() local 688 data_buf = kzalloc(size, GFP_KERNEL); in mmc_send_tuning() 689 if (!data_buf) in mmc_send_tuning() 711 sg_init_one(&sg, data_buf, size); in mmc_send_tuning() 728 if (memcmp(data_buf, tuning_block_pattern, size)) in mmc_send_tuning() 732 kfree(data_buf); in mmc_send_tuning() 770 u8 *data_buf; in mmc_send_bus_test() local 779 data_buf = kmalloc(len, GFP_KERNEL); in mmc_send_bus_test() 780 if (!data_buf) in mmc_send_bus_test() 790 kfree(data_buf); in mmc_send_bus_test() [all …]
|
/linux-6.6.21/block/ |
D | t10-pi.c | 40 pi->guard_tag = fn(iter->data_buf, iter->interval); in t10_pi_generate() 48 iter->data_buf += iter->interval; in t10_pi_generate() 86 csum = fn(iter->data_buf, iter->interval); in t10_pi_verify() 97 iter->data_buf += iter->interval; in t10_pi_verify() 296 pi->guard_tag = ext_pi_crc64(iter->data_buf, iter->interval); in ext_pi_crc64_generate() 304 iter->data_buf += iter->interval; in ext_pi_crc64_generate() 346 csum = ext_pi_crc64(iter->data_buf, iter->interval); in ext_pi_crc64_verify() 356 iter->data_buf += iter->interval; in ext_pi_crc64_verify()
|
/linux-6.6.21/drivers/mtd/nand/raw/ |
D | qcom_nandc.c | 1399 static bool erased_chunk_check_and_fixup(u8 *data_buf, int data_len) in erased_chunk_check_and_fixup() argument 1409 empty1 = data_buf[3]; in erased_chunk_check_and_fixup() 1410 empty2 = data_buf[175]; in erased_chunk_check_and_fixup() 1418 data_buf[3] = 0xff; in erased_chunk_check_and_fixup() 1419 data_buf[175] = 0xff; in erased_chunk_check_and_fixup() 1426 if (memchr_inv(data_buf, 0xff, data_len)) { in erased_chunk_check_and_fixup() 1427 data_buf[3] = empty1; in erased_chunk_check_and_fixup() 1428 data_buf[175] = empty2; in erased_chunk_check_and_fixup() 1464 u8 *data_buf, u8 *oob_buf, int page, int cw) in qcom_nandc_read_cw_raw() argument 1515 read_data_dma(nandc, reg_off, data_buf, data_size1, 0); in qcom_nandc_read_cw_raw() [all …]
|
D | mxc_nand.c | 181 uint8_t *data_buf; member 612 memcpy32_fromio(host->data_buf, host->main_area0, 16); in send_read_id_v3() 626 memcpy32_fromio(host->data_buf, host->main_area0, 16); in send_read_id_v1_v2() 890 memset(host->data_buf, 0xff, mtd->writesize); in mxc_nand_write_oob() 892 return mxc_nand_write_page(chip, host->data_buf, false, page); in mxc_nand_write_oob() 906 ret = *(uint16_t *)(host->data_buf + host->buf_start); in mxc_nand_read_byte() 910 ret = *(uint8_t *)(host->data_buf + host->buf_start); in mxc_nand_read_byte() 931 memcpy(host->data_buf + col, buf, n); in mxc_nand_write_buf() 950 memcpy(buf, host->data_buf + col, n); in mxc_nand_read_buf() 1383 memcpy32_fromio(host->data_buf, host->main_area0, 512); in mxc_nand_command() [all …]
|
D | lpc32xx_slc.c | 232 uint8_t *data_buf; member 502 dma_buf = host->data_buf; in lpc32xx_xfer() 505 memcpy(host->data_buf, buf, mtd->writesize); in lpc32xx_xfer() 591 memcpy(buf, host->data_buf, mtd->writesize); in lpc32xx_xfer() 778 host->ecc_buf = (uint32_t *)(host->data_buf + LPC32XX_DMA_DATA_SIZE); in lpc32xx_nand_attach_chip() 903 host->data_buf = devm_kzalloc(&pdev->dev, host->dma_buf_len, in lpc32xx_nand_probe() 905 if (host->data_buf == NULL) { in lpc32xx_nand_probe()
|
D | meson_nand.c | 128 u8 *data_buf; member 372 return meson_chip->data_buf + len; in meson_nfc_oob_ptr() 383 return meson_chip->data_buf + len; in meson_nfc_data_ptr() 738 ret = meson_nfc_dma_buffer_setup(nand, meson_chip->data_buf, in meson_nfc_write_page_sub() 779 memcpy(meson_chip->data_buf, buf, mtd->writesize); in meson_nfc_write_page_hwecc() 824 ret = meson_nfc_dma_buffer_setup(nand, meson_chip->data_buf, in meson_nfc_read_page_sub() 909 } else if (buf && buf != meson_chip->data_buf) { in meson_nfc_read_page_hwecc() 910 memcpy(buf, meson_chip->data_buf, mtd->writesize); in meson_nfc_read_page_hwecc() 1205 kfree(meson_chip->data_buf); in meson_nfc_free_buffer() 1219 meson_chip->data_buf = kmalloc(page_bytes, GFP_KERNEL); in meson_chip_buffer_init() [all …]
|
/linux-6.6.21/sound/soc/sof/amd/ |
D | acp-loader.c | 76 if (!adata->data_buf) { in acp_dsp_block_write() 77 adata->data_buf = dma_alloc_coherent(&pci->dev, in acp_dsp_block_write() 81 if (!adata->data_buf) in acp_dsp_block_write() 84 dest = adata->data_buf + offset; in acp_dsp_block_write() 200 dma_free_coherent(&pci->dev, ACP_DEFAULT_DRAM_LENGTH, adata->data_buf, adata->dma_addr); in acp_dsp_pre_fw_run() 202 adata->data_buf = NULL; in acp_dsp_pre_fw_run()
|
/linux-6.6.21/drivers/scsi/pm8001/ |
D | pm80xx_hwi.c | 100 pm8001_ha->forensic_info.data_buf.direct_data = buf; in pm80xx_get_fatal_dump() 102 pm8001_ha->forensic_info.data_buf.direct_data += in pm80xx_get_fatal_dump() 103 sprintf(pm8001_ha->forensic_info.data_buf.direct_data, in pm80xx_get_fatal_dump() 105 return (char *)pm8001_ha->forensic_info.data_buf.direct_data - in pm80xx_get_fatal_dump() 109 if (pm8001_ha->forensic_info.data_buf.direct_offset == 0) { in pm80xx_get_fatal_dump() 114 pm8001_ha->forensic_info.data_buf.direct_len = SYSFS_OFFSET; in pm80xx_get_fatal_dump() 115 pm8001_ha->forensic_info.data_buf.direct_offset = 0; in pm80xx_get_fatal_dump() 116 pm8001_ha->forensic_info.data_buf.read_len = 0; in pm80xx_get_fatal_dump() 123 pm8001_ha->forensic_info.data_buf.direct_data = direct_data; in pm80xx_get_fatal_dump() 126 pm8001_ha->forensic_info.data_buf.read_len); in pm80xx_get_fatal_dump() [all …]
|
/linux-6.6.21/drivers/gpu/drm/tiny/ |
D | gm12u320.c | 93 unsigned char *data_buf[GM12U320_BLOCK_COUNT]; member 185 gm12u320->data_buf[i] = drmm_kzalloc(&gm12u320->dev, in gm12u320_usb_alloc() 187 if (!gm12u320->data_buf[i]) in gm12u320_usb_alloc() 190 memcpy(gm12u320->data_buf[i], hdr, DATA_BLOCK_HEADER_SIZE); in gm12u320_usb_alloc() 191 memcpy(gm12u320->data_buf[i] + in gm12u320_usb_alloc() 300 gm12u320->data_buf[block] + dst_offset, in gm12u320_copy_fb_to_blocks() 307 gm12u320->data_buf[block] + dst_offset, in gm12u320_copy_fb_to_blocks() 356 gm12u320->data_buf[block], block_size, in gm12u320_fb_update_work()
|
/linux-6.6.21/drivers/media/i2c/ccs/ |
D | ccs-reg-access.c | 74 unsigned char data_buf[sizeof(u32)] = { 0 }; in ____ccs_read_addr() local 78 if (len > sizeof(data_buf)) in ____ccs_read_addr() 96 msg.buf = &data_buf[sizeof(data_buf) - len]; in ____ccs_read_addr() 105 *val = get_unaligned_be32(data_buf); in ____ccs_read_addr()
|
/linux-6.6.21/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() 241 u8 *data_buf; in sgp_read_cmd() local 251 data_buf = &buf->start; in sgp_read_cmd() 252 ret = i2c_master_recv(client, data_buf, size); in sgp_read_cmd()
|
/linux-6.6.21/drivers/infiniband/ulp/iser/ |
D | iser_initiator.c | 348 struct iser_data_buf *data_buf, *prot_buf; in iser_send_command() local 360 data_buf = &iser_task->data[ISER_DIR_IN]; in iser_send_command() 363 data_buf = &iser_task->data[ISER_DIR_OUT]; in iser_send_command() 368 data_buf->sg = scsi_sglist(sc); in iser_send_command() 369 data_buf->size = scsi_sg_count(sc); in iser_send_command() 371 data_buf->data_len = scsi_bufflen(sc); in iser_send_command() 376 prot_buf->data_len = (data_buf->data_len >> in iser_send_command()
|
/linux-6.6.21/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 …]
|
/linux-6.6.21/drivers/regulator/ |
D | rpi-panel-attiny-regulator.c | 252 u8 data_buf[1] = { 0, }; in attiny_i2c_read() local 271 msgs[0].buf = data_buf; in attiny_i2c_read() 277 *buf = data_buf[0]; in attiny_i2c_read()
|
/linux-6.6.21/drivers/net/ethernet/amazon/ena/ |
D | ena_ethtool.c | 1004 u64 *data_buf; in ena_dump_stats_ex() local 1023 data_buf = devm_kcalloc(&adapter->pdev->dev, in ena_dump_stats_ex() 1026 if (!data_buf) { in ena_dump_stats_ex() 1034 ena_get_stats(adapter, data_buf, false); in ena_dump_stats_ex() 1042 data_buf[i]); in ena_dump_stats_ex() 1049 data_buf[i]); in ena_dump_stats_ex() 1052 devm_kfree(&adapter->pdev->dev, data_buf); in ena_dump_stats_ex()
|
/linux-6.6.21/drivers/net/ethernet/freescale/enetc/ |
D | enetc_qos.c | 665 struct sfi_counter_data *data_buf; in enetc_streamcounter_hw_get() local 679 &dma, (void *)&data_buf); in enetc_streamcounter_hw_get() 687 cnt->matching_frames_count = ((u64)data_buf->matchh << 32) + in enetc_streamcounter_hw_get() 688 data_buf->matchl; in enetc_streamcounter_hw_get() 690 cnt->not_passing_sdu_count = ((u64)data_buf->msdu_droph << 32) + in enetc_streamcounter_hw_get() 691 data_buf->msdu_dropl; in enetc_streamcounter_hw_get() 697 ((u64)data_buf->stream_gate_droph << 32) + in enetc_streamcounter_hw_get() 698 data_buf->stream_gate_dropl; in enetc_streamcounter_hw_get() 704 cnt->red_frames_count = ((u64)data_buf->flow_meter_droph << 32) + in enetc_streamcounter_hw_get() 705 data_buf->flow_meter_dropl; in enetc_streamcounter_hw_get()
|
/linux-6.6.21/drivers/macintosh/ |
D | smu.c | 126 DPRINTK("SMU: data buffer: %8ph\n", cmd->data_buf); in smu_start_cmd() 131 memcpy(smu->cmd_buf->data, cmd->data_buf, cmd->data_len); in smu_start_cmd() 305 cmd->data_buf = scmd->buffer; in smu_queue_simple() 814 scmd->data_buf = cmd->pdata; in smu_i2c_low_completion() 836 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()
|