/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
H A 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/drivers/firmware/google/ |
H A 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 in gsmi_set_variable() [all...] |
/linux/drivers/net/wireless/marvell/mwifiex/ |
H A D | sta_cmd.c | 260 u16 cmd_action, void *data_buf) in mwifiex_cmd_rf_tx_power() argument 1123 u16 cmd_action, void *data_buf) in mwifiex_cmd_reg_access() argument 1125 struct mwifiex_ds_reg_rw *reg_rw = data_buf; in mwifiex_cmd_reg_access() 1185 struct mwifiex_ds_read_eeprom *rd_eeprom = data_buf; in mwifiex_cmd_reg_access() 1488 struct host_cmd_ds_command *cmd, void *data_buf) in mwifiex_cmd_cfg_data() argument 1491 struct property *prop = data_buf; in mwifiex_cmd_cfg_data() 1531 u16 cmd_action, void *data_buf) in mwifiex_cmd_set_mc_policy() argument 1534 const u16 *drcs_info = data_buf; in mwifiex_cmd_set_mc_policy() 1613 u16 cmd_action, void *data_buf) in mwifiex_cmd_coalesce_cfg() argument 1617 struct mwifiex_ds_coalesce_cfg *cfg = data_buf; in mwifiex_cmd_coalesce_cfg() 1678 mwifiex_cmd_tdls_config(struct mwifiex_private * priv,struct host_cmd_ds_command * cmd,u16 cmd_action,void * data_buf) mwifiex_cmd_tdls_config() argument 1722 mwifiex_cmd_tdls_oper(struct mwifiex_private * priv,struct host_cmd_ds_command * cmd,void * data_buf) mwifiex_cmd_tdls_oper() argument 1850 mwifiex_cmd_sdio_rx_aggr_cfg(struct host_cmd_ds_command * cmd,u16 cmd_action,void * data_buf) mwifiex_cmd_sdio_rx_aggr_cfg() argument 1927 mwifiex_sta_prepare_cmd(struct mwifiex_private * priv,uint16_t cmd_no,u16 cmd_action,u32 cmd_oid,void * data_buf,void * cmd_buf) mwifiex_sta_prepare_cmd() argument [all...] |
H A 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 1217 void *data_buf = adapter->curr_cmd->data_buf; mwifiex_process_sta_cmdresp() local [all...] |
H A D | 11n_rxreorder.h | 56 void *data_buf); 62 void *data_buf);
|
H A D | uap_cmd.c | 792 u16 cmd_action, void *data_buf) in mwifiex_cmd_uap_add_station() argument 795 struct mwifiex_sta_info *add_sta = (struct mwifiex_sta_info *)data_buf; in mwifiex_cmd_uap_add_station() 933 void *data_buf, void *cmd_buf) in mwifiex_uap_prepare_cmd() argument 939 if (mwifiex_cmd_uap_sys_config(cmd, cmd_action, type, data_buf)) in mwifiex_uap_prepare_cmd() 952 if (mwifiex_cmd_uap_sta_deauth(priv, cmd, data_buf)) in mwifiex_uap_prepare_cmd() 957 data_buf)) in mwifiex_uap_prepare_cmd() 962 data_buf)) in mwifiex_uap_prepare_cmd()
|
H A D | 11h.c | 134 void *data_buf) in mwifiex_cmd_issue_chan_report_request() argument 137 struct mwifiex_radar_params *radar_params = (void *)data_buf; in mwifiex_cmd_issue_chan_report_request()
|
/linux/arch/arm64/kvm/ |
H A D | mmio.c | 161 u8 data_buf[8]; in io_mem_abort() local 202 kvm_mmio_write_buf(data_buf, len, data); in io_mem_abort() 205 data_buf); in io_mem_abort() 211 data_buf); in io_mem_abort() 223 memcpy(run->mmio.data, data_buf, len); in io_mem_abort() 230 memcpy(run->mmio.data, data_buf, len); in io_mem_abort()
|
/linux/drivers/mtd/nand/raw/ |
H A D | qcom_nandc.c | 408 static bool erased_chunk_check_and_fixup(u8 *data_buf, int data_len) in erased_chunk_check_and_fixup() argument 418 empty1 = data_buf[3]; in erased_chunk_check_and_fixup() 419 empty2 = data_buf[175]; in erased_chunk_check_and_fixup() 427 data_buf[3] = 0xff; in erased_chunk_check_and_fixup() 428 data_buf[175] = 0xff; in erased_chunk_check_and_fixup() 435 if (memchr_inv(data_buf, 0xff, data_len)) { in erased_chunk_check_and_fixup() 436 data_buf[3] = empty1; in erased_chunk_check_and_fixup() 437 data_buf[175] = empty2; in erased_chunk_check_and_fixup() 473 u8 *data_buf, u8 *oob_buf, int page, int cw) in qcom_nandc_read_cw_raw() argument 524 qcom_read_data_dma(nandc, reg_off, data_buf, data_size in qcom_nandc_read_cw_raw() 560 check_for_erased_page(struct qcom_nand_host * host,u8 * data_buf,u8 * oob_buf,unsigned long uncorrectable_cws,int page,unsigned int max_bitflips) check_for_erased_page() argument 619 parse_read_errors(struct qcom_nand_host * host,u8 * data_buf,u8 * oob_buf,int page) parse_read_errors() argument 722 read_page_ecc(struct qcom_nand_host * host,u8 * data_buf,u8 * oob_buf,int page) read_page_ecc() argument 900 u8 *data_buf, *oob_buf = NULL; qcom_nandc_read_page() local 929 u8 *data_buf = buf, *oob_buf = chip->oob_poi; qcom_nandc_read_page_raw() local 974 u8 *data_buf, *oob_buf; qcom_nandc_write_page() local 1048 u8 *data_buf, *oob_buf; qcom_nandc_write_page_raw() local [all...] |
H A 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() 782 host->ecc_buf = (uint32_t *)(host->data_buf + LPC32XX_DMA_DATA_SIZE); in lpc32xx_nand_attach_chip() 907 host->data_buf = devm_kzalloc(&pdev->dev, host->dma_buf_len, in lpc32xx_nand_probe() 909 if (host->data_buf == NULL) { in lpc32xx_nand_probe()
|
H A D | meson_nand.c | 135 u8 *data_buf; member 400 return meson_chip->data_buf + len; in meson_nfc_oob_ptr() 411 return meson_chip->data_buf + len; in meson_nfc_data_ptr() 766 ret = meson_nfc_dma_buffer_setup(nand, meson_chip->data_buf, in meson_nfc_write_page_sub() 800 memcpy(meson_chip->data_buf, buf, mtd->writesize); in meson_nfc_write_page_hwecc() 845 ret = meson_nfc_dma_buffer_setup(nand, meson_chip->data_buf, in meson_nfc_read_page_sub() 923 } else if (buf && buf != meson_chip->data_buf) { in meson_nfc_read_page_hwecc() 924 memcpy(buf, meson_chip->data_buf, mtd->writesize); in meson_nfc_read_page_hwecc() 1219 kfree(meson_chip->data_buf); in meson_nfc_free_buffer() 1233 meson_chip->data_buf in meson_chip_buffer_init() [all...] |
/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | lwt_reroute.c | 82 char data_buf[8]; /* only #pkts matter, so use a random small buffer */ in overflow_fq() local 85 .iov_base = data_buf, in overflow_fq() 86 .iov_len = sizeof(data_buf), in overflow_fq() 104 memset(data_buf, 0, sizeof(data_buf)); in overflow_fq()
|
/linux/block/ |
H A D | t10-pi.c | 17 void *data_buf; member 46 pi->guard_tag = t10_pi_csum(0, iter->data_buf, iter->interval, in t10_pi_generate() 58 iter->data_buf += iter->interval; in t10_pi_generate() 92 csum = t10_pi_csum(0, iter->data_buf, iter->interval, in t10_pi_verify() 107 iter->data_buf += iter->interval; in t10_pi_verify() 225 pi->guard_tag = ext_pi_crc64(0, iter->data_buf, iter->interval); in ext_pi_crc64_generate() 236 iter->data_buf += iter->interval; in ext_pi_crc64_generate() 277 csum = ext_pi_crc64(0, iter->data_buf, iter->interval); in ext_pi_crc64_verify() 291 iter->data_buf += iter->interval; in ext_pi_crc64_verify() 390 iter.data_buf in blk_integrity_generate() [all...] |
/linux/drivers/spi/ |
H A D | spi-qpic-snand.c | 111 u8 *data_buf; member 699 static int qcom_spi_read_cw_raw(struct qcom_nand_controller *snandc, u8 *data_buf, in qcom_spi_read_cw_raw() argument 771 qcom_read_data_dma(snandc, reg_off, data_buf, data_size1, 0); in qcom_spi_read_cw_raw() 777 qcom_read_data_dma(snandc, reg_off, data_buf + data_size1, data_size2, 0); in qcom_spi_read_cw_raw() 795 u8 *data_buf = NULL, *oob_buf = NULL; in qcom_spi_read_page_raw() local 800 data_buf = op->data.buf.in; in qcom_spi_read_page_raw() 806 ret = qcom_spi_read_cw_raw(snandc, data_buf, oob_buf, cw); in qcom_spi_read_page_raw() 810 if (data_buf) in qcom_spi_read_page_raw() 811 data_buf += ecc_cfg->cw_data; in qcom_spi_read_page_raw() 823 u8 *data_buf in qcom_spi_read_page_ecc() local 1033 u8 *data_buf = NULL, *oob_buf = NULL; qcom_spi_program_raw() local 1116 u8 *data_buf = NULL, *oob_buf = NULL; qcom_spi_program_ecc() local [all...] |
/linux/drivers/mmc/core/ |
H A D | mmc_ops.c | 685 u8 *data_buf; in mmc_send_tuning() local 696 data_buf = kzalloc(size, GFP_KERNEL); in mmc_send_tuning() 697 if (!data_buf) in mmc_send_tuning() 719 sg_init_one(&sg, data_buf, size); in mmc_send_tuning() 736 if (memcmp(data_buf, tuning_block_pattern, size)) in mmc_send_tuning() 740 kfree(data_buf); in mmc_send_tuning() 778 u8 *data_buf; in mmc_send_bus_test() local 787 data_buf = kmalloc(len, GFP_KERNEL); in mmc_send_bus_test() 788 if (!data_buf) in mmc_send_bus_test() 798 kfree(data_buf); in mmc_send_bus_test() [all...] |
/linux/drivers/scsi/pm8001/ |
H A 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 in pm80xx_get_fatal_dump() [all...] |
/linux/sound/soc/sof/amd/ |
H A 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() 236 dma_free_coherent(&pci->dev, ACP_DEFAULT_DRAM_LENGTH, adata->data_buf, in acp_dsp_pre_fw_run() 238 adata->data_buf = NULL; in acp_dsp_pre_fw_run()
|
/linux/drivers/gpu/drm/tiny/ |
H A D | gm12u320.c | 92 unsigned char *data_buf[GM12U320_BLOCK_COUNT]; member 184 gm12u320->data_buf[i] = drmm_kzalloc(&gm12u320->dev, in gm12u320_usb_alloc() 186 if (!gm12u320->data_buf[i]) in gm12u320_usb_alloc() 189 memcpy(gm12u320->data_buf[i], hdr, DATA_BLOCK_HEADER_SIZE); in gm12u320_usb_alloc() 190 memcpy(gm12u320->data_buf[i] + in gm12u320_usb_alloc() 299 gm12u320->data_buf[block] + dst_offset, in gm12u320_copy_fb_to_blocks() 306 gm12u320->data_buf[block] + dst_offset, in gm12u320_copy_fb_to_blocks() 355 gm12u320->data_buf[block], block_size, in gm12u320_fb_update_work()
|
/linux/drivers/iio/chemical/ |
H A D | sgp30.c | 212 u8 *data_buf = &buf->start; in sgp_verify_buffer() local 215 crc = crc8(sgp_crc8_table, &data_buf[i], SGP_WORD_LEN, in sgp_verify_buffer() 217 if (crc != data_buf[i + SGP_WORD_LEN]) { in sgp_verify_buffer() 244 u8 *data_buf; in sgp_read_cmd() local 254 data_buf = &buf->start; in sgp_read_cmd() 255 ret = i2c_master_recv(client, data_buf, size); in sgp_read_cmd()
|
/linux/drivers/bluetooth/ |
H A D | btintel_pcie.h | 344 struct data_buf { struct 365 * @buf: Array of data_buf structure argument 378 struct data_buf *bufs; 385 * @buf: Array of data_buf structure 398 struct data_buf *bufs; 403 * @buf: Array of data_buf structure 414 struct data_buf *bufs;
|
/linux/drivers/infiniband/ulp/iser/ |
H A 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/drivers/regulator/ |
H A D | rpi-panel-attiny-regulator.c | 243 u8 data_buf[1] = { 0, }; in attiny_i2c_read() local 262 msgs[0].buf = data_buf; in attiny_i2c_read() 268 *buf = data_buf[0]; in attiny_i2c_read()
|
/linux/drivers/media/i2c/ |
H A D | ov01a10.c | 301 u8 data_buf[4] = {0}; in ov01a10_read_reg() local 304 if (len > sizeof(data_buf)) in ov01a10_read_reg() 315 msgs[1].buf = &data_buf[sizeof(data_buf) - len]; in ov01a10_read_reg() 322 *val = get_unaligned_be32(data_buf); in ov01a10_read_reg()
|
/linux/drivers/net/ethernet/freescale/enetc/ |
H A 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 in enetc_streamcounter_hw_get() [all...] |
/linux/drivers/macintosh/ |
H A 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() 810 scmd->data_buf = cmd->pdata; in smu_i2c_low_completion() 832 cmd->scmd.data_buf = (u8 *)(char *)&cmd->info; in smu_queue_i2c() 918 cmd.data_buf = params; in smu_read_datablock() 1157 pp->cmd.data_buf = pp->buffer; in smu_write()
|