Home
last modified time | relevance | path

Searched refs:data_buf (Results 1 – 25 of 99) sorted by relevance

1234

/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
A Dxtlv.c40 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/
A Dgsmi.c317 .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()
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()
514 memset(gsmi_dev.data_buf->start, 0, gsmi_dev.data_buf->length); in eventlog_write()
638 memset(gsmi_dev.data_buf->start, 0, gsmi_dev.data_buf->length); in gsmi_shutdown_reason()
954 gsmi_dev.data_buf = gsmi_buf_alloc(); in gsmi_init()
955 if (!gsmi_dev.data_buf) { in gsmi_init()
1055 gsmi_buf_free(gsmi_dev.data_buf); in gsmi_init()
[all …]
/linux/drivers/net/wireless/marvell/mwifiex/
A Dsta_cmd.c1704 config = data_buf; in mwifiex_cmd_tdls_config()
1956 data_buf); in mwifiex_sta_prepare_cmd()
1964 data_buf); in mwifiex_sta_prepare_cmd()
1980 data_buf); in mwifiex_sta_prepare_cmd()
1995 data_buf); in mwifiex_sta_prepare_cmd()
2005 data_buf); in mwifiex_sta_prepare_cmd()
2122 data_buf); in mwifiex_sta_prepare_cmd()
2138 data_buf); in mwifiex_sta_prepare_cmd()
2196 data_buf); in mwifiex_sta_prepare_cmd()
2203 data_buf); in mwifiex_sta_prepare_cmd()
[all …]
A Dsta_cmdresp.c157 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()
330 if (!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()
784 void *data_buf) in mwifiex_ret_reg_access() argument
796 if (!data_buf) in mwifiex_ret_reg_access()
799 reg_rw = data_buf; in mwifiex_ret_reg_access()
800 eeprom = data_buf; in mwifiex_ret_reg_access()
[all …]
A D11n_rxreorder.h56 void *data_buf);
62 void *data_buf);
A Dcmdevt.c30 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()
641 cmd_oid, data_buf, in mwifiex_send_cmd()
646 cmd_oid, data_buf, in mwifiex_send_cmd()
651 ret = mwifiex_cmd_host_cmd(priv, cmd_ptr, data_buf); in mwifiex_send_cmd()
849 if (adapter->curr_cmd->data_buf) { in mwifiex_process_cmdresp()
850 hostcmd = adapter->curr_cmd->data_buf; in mwifiex_process_cmdresp()
/linux/arch/arm64/kvm/
A Dmmio.c131 u8 data_buf[8]; in io_mem_abort() local
174 kvm_mmio_write_buf(data_buf, len, data); in io_mem_abort()
177 data_buf); in io_mem_abort()
183 data_buf); in io_mem_abort()
195 memcpy(run->mmio.data, data_buf, len); in io_mem_abort()
202 memcpy(run->mmio.data, data_buf, len); in io_mem_abort()
/linux/tools/testing/selftests/bpf/prog_tests/
A Dlwt_reroute.c82 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/
A Dt10-pi.c17 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 = kaddr; in blk_integrity_generate()
[all …]
/linux/drivers/mmc/core/
A Dmmc_ops.c677 u8 *data_buf; in mmc_send_tuning() local
689 if (!data_buf) in mmc_send_tuning()
711 sg_init_one(&sg, data_buf, 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()
795 memcpy(data_buf, test_buf, len); in mmc_send_bus_test()
819 sg_init_one(&sg, data_buf, len); in mmc_send_bus_test()
[all …]
/linux/drivers/mtd/nand/raw/
A Dqcom_nandc.c1409 empty1 = data_buf[3]; 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()
1427 data_buf[3] = empty1; in erased_chunk_check_and_fixup()
1561 if (!data_buf) in check_for_erased_page()
1692 if (data_buf) in parse_read_errors()
1752 if (data_buf) in read_page_ecc()
1773 if (data_buf) in read_page_ecc()
1904 data_buf = buf; in qcom_nandc_read_page()
1979 data_buf = (u8 *)buf; in qcom_nandc_write_page()
[all …]
A Dmxc_nand.c184 void *data_buf; member
619 memcpy32_fromio(host->data_buf, host->main_area0, 16); in send_read_id_v3()
835 memset(host->data_buf, 0xff, mtd->writesize); in mxc_nand_write_oob()
1432 devm_kfree(dev, (void *)host->data_buf); in mxcnd_attach_chip()
1435 if (!host->data_buf) in mxcnd_attach_chip()
1537 void *buf = host->data_buf; in copy_page_from_sram()
1616 u16 *bufw = host->data_buf; in mxcnd_do_exec_op()
1620 memcpy(buf_read, host->data_buf, buf_len); in mxcnd_do_exec_op()
1638 memcpy(buf_read, host->data_buf, buf_len); in mxcnd_do_exec_op()
1642 memcpy(buf_read, host->data_buf, buf_len); in mxcnd_do_exec_op()
[all …]
A Dlpc32xx_slc.c232 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()
A Dmeson_nand.c135 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()
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 = kmalloc(page_bytes, GFP_KERNEL); in meson_chip_buffer_init()
1234 if (!meson_chip->data_buf) in meson_chip_buffer_init()
[all …]
/linux/drivers/scsi/pm8001/
A Dpm80xx_hwi.c116 pm8001_ha->forensic_info.data_buf.read_len = 0; in pm80xx_get_fatal_dump()
202 pm8001_ha->forensic_info.data_buf.direct_len; in pm80xx_get_fatal_dump()
204 pm8001_ha->forensic_info.data_buf.direct_len; in pm80xx_get_fatal_dump()
206 pm8001_ha->forensic_info.data_buf.direct_len; in pm80xx_get_fatal_dump()
207 pm8001_ha->forensic_info.data_buf.read_len = in pm80xx_get_fatal_dump()
208 pm8001_ha->forensic_info.data_buf.direct_len; in pm80xx_get_fatal_dump()
234 forensic_info.data_buf.direct_data - in pm80xx_get_fatal_dump()
240 forensic_info.data_buf.direct_data, in pm80xx_get_fatal_dump()
247 forensic_info.data_buf.direct_data, in pm80xx_get_fatal_dump()
257 forensic_info.data_buf.direct_data - in pm80xx_get_fatal_dump()
[all …]
/linux/sound/soc/sof/amd/
A Dacp-loader.c76 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/iio/chemical/
A Dsgp30.c212 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/gpu/drm/tiny/
A Dgm12u320.c93 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/drivers/bluetooth/
A Dbtintel_pcie.h257 struct data_buf { struct
291 struct data_buf *bufs;
311 struct data_buf *bufs;
/linux/drivers/infiniband/ulp/iser/
A Diser_initiator.c348 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/usb/gadget/function/
A Df_tcm.c217 if (!cmd->data_buf) in bot_send_read_response()
222 cmd->data_buf, in bot_send_read_response()
261 if (!cmd->data_buf) in bot_send_write_request()
519 if (!cmd->data_buf) in uasp_prepare_r_request()
524 cmd->data_buf, in uasp_prepare_r_request()
648 kfree(cmd->data_buf); in uasp_send_read_response()
649 cmd->data_buf = NULL; in uasp_send_read_response()
968 cmd->data_buf, in usbg_data_write_cmpl()
987 if (!cmd->data_buf) in usbg_prepare_w_request()
990 req->buf = cmd->data_buf; in usbg_prepare_w_request()
[all …]
/linux/drivers/regulator/
A Drpi-panel-attiny-regulator.c252 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/drivers/net/ethernet/amazon/ena/
A Dena_ethtool.c1122 u64 *data_buf; in ena_dump_stats_ex() local
1141 data_buf = devm_kcalloc(&adapter->pdev->dev, in ena_dump_stats_ex()
1144 if (!data_buf) { in ena_dump_stats_ex()
1152 ena_get_stats(adapter, data_buf, false); in ena_dump_stats_ex()
1160 data_buf[i]); in ena_dump_stats_ex()
1167 data_buf[i]); in ena_dump_stats_ex()
1170 devm_kfree(&adapter->pdev->dev, data_buf); in ena_dump_stats_ex()
/linux/drivers/media/i2c/
A Dov01a10.c302 u8 data_buf[4] = {0}; in ov01a10_read_reg() local
305 if (len > sizeof(data_buf)) in ov01a10_read_reg()
316 msgs[1].buf = &data_buf[sizeof(data_buf) - len]; in ov01a10_read_reg()
323 *val = get_unaligned_be32(data_buf); in ov01a10_read_reg()
A Dov9734.c370 u8 data_buf[4] = {0}; in ov9734_read_reg() local
373 if (len > sizeof(data_buf)) in ov9734_read_reg()
384 msgs[1].buf = &data_buf[sizeof(data_buf) - len]; in ov9734_read_reg()
390 *val = get_unaligned_be32(data_buf); in ov9734_read_reg()

Completed in 87 milliseconds

1234