Home
last modified time | relevance | path

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

123

/linux/drivers/net/wireless/nxp/nxpwifi/
H A Dsta_cmd.c23 u16 cmd_no, void *data_buf, in nxpwifi_cmd_sta_get_hw_spec() argument
40 void *data_buf) in nxpwifi_ret_sta_get_hw_spec() argument
244 u16 cmd_no, void *data_buf, in nxpwifi_cmd_sta_802_11_scan() argument
247 return nxpwifi_cmd_802_11_scan(cmd, data_buf); in nxpwifi_cmd_sta_802_11_scan()
254 void *data_buf) in nxpwifi_ret_sta_802_11_scan() argument
268 u16 cmd_no, void *data_buf, in nxpwifi_cmd_sta_802_11_get_log() argument
282 void *data_buf) in nxpwifi_ret_sta_802_11_get_log() argument
287 (struct nxpwifi_ds_get_stats *)data_buf; in nxpwifi_ret_sta_802_11_get_log()
320 u16 cmd_no, void *data_buf, in nxpwifi_cmd_sta_mac_multicast_adr() argument
325 (struct nxpwifi_multicast_list *)data_buf; in nxpwifi_cmd_sta_mac_multicast_adr()
[all …]
H A Dcmdevt.h15 u16 cmd_no, void *data_buf,
20 void *data_buf);
31 u16 cmd_no, void *data_buf, in nxpwifi_cmd_fill_head_only() argument
41 u16 cmd_action, u32 cmd_oid, void *data_buf, bool sync);
H A Duap_cmd.c395 u16 cmd_no, void *data_buf, in nxpwifi_cmd_uap_sys_config() argument
412 ret = nxpwifi_uap_bss_param_prepare(priv, tlv, data_buf, &param_size); in nxpwifi_cmd_uap_sys_config()
419 ret = nxpwifi_uap_custom_ie_prepare(tlv, data_buf, &ie_size); in nxpwifi_cmd_uap_sys_config()
434 u16 cmd_no, void *data_buf, in nxpwifi_cmd_uap_bss_start() argument
458 void *data_buf) in nxpwifi_ret_uap_bss_start() argument
474 void *data_buf) in nxpwifi_ret_uap_bss_stop() argument
483 u16 cmdresp_no, void *data_buf) in nxpwifi_ret_apcmd_sta_list() argument
531 u16 cmd_no, void *data_buf, in nxpwifi_cmd_uap_sta_deauth() argument
535 u8 *mac = (u8 *)data_buf; in nxpwifi_cmd_uap_sta_deauth()
549 u16 cmd_no, void *data_buf, in nxpwifi_cmd_uap_chan_report_request() argument
[all …]
H A D11n_rxreorder.h55 void *data_buf);
61 void *data_buf);
H A Dcmdevt.c22 u32 cmd_no, void *data_buf, bool sync) in nxpwifi_init_cmd_node() argument
32 cmd_node->data_buf = data_buf; in nxpwifi_init_cmd_node()
65 cmd_node->data_buf = NULL; in nxpwifi_clean_cmd_node()
119 pcmd_ptr = (struct nxpwifi_ds_misc_cmd *)cmd_node->data_buf; in nxpwifi_cmd_host_cmd()
429 u16 cmd_action, u32 cmd_oid, void *data_buf, bool sync) in nxpwifi_send_cmd() argument
489 nxpwifi_init_cmd_node(priv, cmd_node, cmd_no, data_buf, sync); in nxpwifi_send_cmd()
743 if (adapter->curr_cmd->data_buf) { in nxpwifi_process_cmdresp()
744 hostcmd = adapter->curr_cmd->data_buf; in nxpwifi_process_cmdresp()
798 void *data_buf = adapter->curr_cmd->data_buf; in nxpwifi_process_cmdresp() local
802 data_buf); in nxpwifi_process_cmdresp()
/linux/drivers/firmware/coreboot/
H A Dgsmi.c94 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/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
H 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/net/wireless/marvell/mwifiex/
H A Dsta_cmd.c260 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()
1596 struct host_cmd_ds_command *cmd, void *data_buf) in mwifiex_cmd_cfg_data() argument
1599 struct property *prop = data_buf; in mwifiex_cmd_cfg_data()
1639 u16 cmd_action, void *data_buf) in mwifiex_cmd_set_mc_policy() argument
1642 const u16 *drcs_info = data_buf; in mwifiex_cmd_set_mc_policy()
1721 u16 cmd_action, void *data_buf) in mwifiex_cmd_coalesce_cfg() argument
1725 struct mwifiex_ds_coalesce_cfg *cfg = data_buf; in mwifiex_cmd_coalesce_cfg()
[all …]
H 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()
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 …]
H A D11n_rxreorder.h56 void *data_buf);
62 void *data_buf);
H 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()
543 u16 cmd_action, u32 cmd_oid, void *data_buf, bool sync) in mwifiex_send_cmd() argument
611 mwifiex_init_cmd_node(priv, cmd_node, cmd_no, data_buf, sync); in mwifiex_send_cmd()
637 cmd_oid, data_buf, in mwifiex_send_cmd()
642 cmd_oid, data_buf, in mwifiex_send_cmd()
647 ret = mwifiex_cmd_host_cmd(priv, cmd_ptr, data_buf); in mwifiex_send_cmd()
841 if (adapter->curr_cmd->data_buf) { in mwifiex_process_cmdresp()
[all...]
H A Duap_cmd.c792 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()
/linux/arch/arm64/kvm/
H A Dmmio.c164 u8 data_buf[8]; in io_mem_abort()
230 kvm_mmio_write_buf(data_buf, len, data); in io_mem_abort()
233 data_buf); in io_mem_abort()
239 data_buf); in io_mem_abort()
251 memcpy(run->mmio.data, data_buf, len); in io_mem_abort()
258 memcpy(run->mmio.data, data_buf, len); in io_mem_abort()
162 u8 data_buf[8]; io_mem_abort() local
/linux/tools/testing/selftests/bpf/prog_tests/
H 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/drivers/spi/
H A Dspi-qpic-snand.c112 u8 *data_buf;
755 static int qcom_spi_read_cw_raw(struct qcom_nand_controller *snandc, u8 *data_buf, in qcom_spi_read_cw_raw()
816 qcom_read_data_dma(snandc, reg_off, data_buf, data_size1, 0); in qcom_spi_read_cw_raw()
822 qcom_read_data_dma(snandc, reg_off, data_buf + data_size1, data_size2, 0); in qcom_spi_read_page_raw()
840 u8 *data_buf = NULL, *oob_buf = NULL; in qcom_spi_read_page_raw()
845 data_buf = op->data.buf.in; in qcom_spi_read_page_raw()
851 ret = qcom_spi_read_cw_raw(snandc, data_buf, oob_buf, cw); in qcom_spi_read_page_ecc()
855 if (data_buf) in qcom_spi_read_page_ecc()
856 data_buf += ecc_cfg->cw_data; in qcom_spi_read_page_ecc()
868 u8 *data_buf in qcom_spi_read_page_ecc()
114 u8 *data_buf; global() member
732 qcom_spi_read_cw_raw(struct qcom_nand_controller * snandc,u8 * data_buf,u8 * oob_buf,int cw) qcom_spi_read_cw_raw() argument
824 u8 *data_buf = NULL, *oob_buf = NULL; qcom_spi_read_page_raw() local
852 u8 *data_buf = NULL, *oob_buf = NULL; qcom_spi_read_page_ecc() local
1123 u8 *data_buf = NULL, *oob_buf = NULL; qcom_spi_program_raw() local
1204 u8 *data_buf = NULL, *oob_buf = NULL; qcom_spi_program_ecc() local
[all...]
H A Dspi-amlogic-spifc-a4.c201 u8 *data_buf; member
703 ret = aml_sfc_dma_buffer_setup(sfc, sfc->data_buf, data_len, in aml_sfc_read_page_hwecc()
729 memcpy(op->data.buf.in, sfc->data_buf, page_size); in aml_sfc_read_page_hwecc()
733 memcpy(op->data.buf.in, sfc->data_buf, page_size); in aml_sfc_read_page_hwecc()
757 memcpy(sfc->data_buf, op->data.buf.out, page_size); in aml_sfc_write_page_hwecc()
768 ret = aml_sfc_dma_buffer_setup(sfc, sfc->data_buf, data_len, in aml_sfc_write_page_hwecc()
1132 sfc->data_buf = devm_kzalloc(dev, SFC_BUF_SIZE, GFP_KERNEL); in aml_sfc_probe()
1133 if (!sfc->data_buf) in aml_sfc_probe()
1135 sfc->info_buf = (__le64 *)(sfc->data_buf + SFC_DATABUF_SIZE); in aml_sfc_probe()
/linux/sound/soc/sof/amd/
H A Dacp-loader.c77 if (!adata->data_buf) { in acp_dsp_block_write()
78 adata->data_buf = dma_alloc_coherent(&pci->dev, in acp_dsp_block_write()
82 if (!adata->data_buf) in acp_dsp_block_write()
85 dest = adata->data_buf + offset; in acp_dsp_block_write()
322 dma_free_coherent(&pci->dev, ACP_DEFAULT_DRAM_LENGTH, adata->data_buf,
324 adata->data_buf = NULL;
/linux/drivers/iio/chemical/
H A Dsgp30.c211 u8 *data_buf = &buf->start; in sgp_verify_buffer() local
214 crc = crc8(sgp_crc8_table, &data_buf[i], SGP_WORD_LEN, in sgp_verify_buffer()
216 if (crc != data_buf[i + SGP_WORD_LEN]) { in sgp_verify_buffer()
243 u8 *data_buf; in sgp_read_cmd() local
253 data_buf = &buf->start; in sgp_read_cmd()
254 ret = i2c_master_recv(client, data_buf, size); in sgp_read_cmd()
/linux/drivers/bluetooth/
H A Dbtintel_pcie.h406 struct data_buf {
427 * @buf: Array of data_buf structure
440 struct data_buf *bufs;
447 * @buf: Array of data_buf structure
460 struct data_buf *bufs;
465 * @buf: Array of data_buf structure
476 struct data_buf *bufs;
492 struct data_buf *buf1;
493 struct data_buf *buf2;
494 struct data_buf *buf
354 struct data_buf { global() struct
375 data_p_addrdata_buf global() argument
[all...]
/linux/drivers/infiniband/ulp/iser/
H A Diser_initiator.c347 struct iser_data_buf *data_buf, *prot_buf; in iser_send_command() local
359 data_buf = &iser_task->data[ISER_DIR_IN]; in iser_send_command()
362 data_buf = &iser_task->data[ISER_DIR_OUT]; in iser_send_command()
367 data_buf->sg = scsi_sglist(sc); in iser_send_command()
368 data_buf->size = scsi_sg_count(sc); in iser_send_command()
370 data_buf->data_len = scsi_bufflen(sc); in iser_send_command()
375 prot_buf->data_len = (data_buf->data_len >> in iser_send_command()
/linux/drivers/mtd/nand/raw/
H 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()
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...]
H A Dlpc32xx_slc.c230 uint8_t *data_buf;
506 dma_buf = host->data_buf; in lpc32xx_xfer()
509 memcpy(host->data_buf, buf, mtd->writesize); in lpc32xx_xfer()
595 memcpy(buf, host->data_buf, mtd->writesize); in lpc32xx_xfer()
773 host->ecc_buf = (uint32_t *)(host->data_buf + LPC32XX_DMA_DATA_SIZE); in lpc32xx_parse_dt()
896 host->data_buf = devm_kzalloc(&pdev->dev, host->dma_buf_len, in lpc32xx_nand_probe()
898 if (host->data_buf == NULL) { in lpc32xx_nand_probe()
232 uint8_t *data_buf; global() member
/linux/drivers/regulator/
H A Drpi-panel-attiny-regulator.c243 u8 data_buf[1] = { 0, }; in attiny_i2c_read() local
268 msgs[0].buf = data_buf; in attiny_i2c_read()
274 *buf = data_buf[0];
/linux/drivers/net/ethernet/freescale/enetc/
H A Denetc_qos.c665 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/drivers/macintosh/
H A Dsmu.c126 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()

123