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

1234

/linux-master/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
H A Dxtlv.c40 u8 *data_buf; local
49 data_buf = lenp + sizeof(u16);
56 data_buf = lenp + sizeof(u8);
63 data_buf = lenp + sizeof(u16);
70 data_buf = lenp + sizeof(u8);
82 memcpy(data_buf, data, len);
/linux-master/arch/arm64/kvm/
H A Dmmio.c131 u8 data_buf[8]; local
166 kvm_mmio_write_buf(data_buf, len, data);
169 data_buf);
175 data_buf);
187 memcpy(run->mmio.data, data_buf, len);
194 memcpy(run->mmio.data, data_buf, len);
/linux-master/drivers/net/wireless/marvell/mwifiex/
H A D11n_rxreorder.h56 void *data_buf);
62 void *data_buf);
H A Dsta_cmd.c275 u16 cmd_action, void *data_buf)
1138 u16 cmd_action, void *data_buf)
1140 struct mwifiex_ds_reg_rw *reg_rw = data_buf;
1200 struct mwifiex_ds_read_eeprom *rd_eeprom = data_buf;
1503 struct host_cmd_ds_command *cmd, void *data_buf)
1506 struct property *prop = data_buf;
1538 u16 cmd_action, void *data_buf)
1541 const u16 *drcs_info = data_buf;
1620 u16 cmd_action, void *data_buf)
1624 struct mwifiex_ds_coalesce_cfg *cfg = data_buf;
273 mwifiex_cmd_rf_tx_power(struct mwifiex_private *priv, struct host_cmd_ds_command *cmd, u16 cmd_action, void *data_buf) argument
1137 mwifiex_cmd_reg_access(struct host_cmd_ds_command *cmd, u16 cmd_action, void *data_buf) argument
1502 mwifiex_cmd_cfg_data(struct mwifiex_private *priv, struct host_cmd_ds_command *cmd, void *data_buf) argument
1536 mwifiex_cmd_set_mc_policy(struct mwifiex_private *priv, struct host_cmd_ds_command *cmd, u16 cmd_action, void *data_buf) argument
1618 mwifiex_cmd_coalesce_cfg(struct mwifiex_private *priv, struct host_cmd_ds_command *cmd, u16 cmd_action, void *data_buf) argument
1683 mwifiex_cmd_tdls_config(struct mwifiex_private *priv, struct host_cmd_ds_command *cmd, u16 cmd_action, void *data_buf) argument
1727 mwifiex_cmd_tdls_oper(struct mwifiex_private *priv, struct host_cmd_ds_command *cmd, void *data_buf) argument
1856 mwifiex_cmd_sdio_rx_aggr_cfg(struct host_cmd_ds_command *cmd, u16 cmd_action, void *data_buf) argument
1932 mwifiex_sta_prepare_cmd(struct mwifiex_private *priv, uint16_t cmd_no, u16 cmd_action, u32 cmd_oid, void *data_buf, void *cmd_buf) argument
[all...]
H A Dsta_cmdresp.c157 u32 *data_buf)
170 if (data_buf)
171 *data_buf = ul_temp;
324 static int mwifiex_get_power_level(struct mwifiex_private *priv, void *data_buf) argument
330 if (!data_buf)
333 pg_tlv_hdr = (struct mwifiex_types_power_group *)((u8 *)data_buf);
754 void *data_buf)
758 if (data_buf)
759 put_unaligned_le16(le16_to_cpu(mode_cfg->mode), data_buf);
784 void *data_buf)
155 mwifiex_ret_802_11_snmp_mib(struct mwifiex_private *priv, struct host_cmd_ds_command *resp, u32 *data_buf) argument
752 mwifiex_ret_p2p_mode_cfg(struct mwifiex_private *priv, struct host_cmd_ds_command *resp, void *data_buf) argument
783 mwifiex_ret_reg_access(u16 type, struct host_cmd_ds_command *resp, void *data_buf) argument
1217 void *data_buf = adapter->curr_cmd->data_buf; local
[all...]
H A Dcmdevt.c30 u32 cmd_no, void *data_buf, bool sync)
40 cmd_node->data_buf = data_buf;
85 cmd_node->data_buf = NULL;
547 u16 cmd_action, u32 cmd_oid, void *data_buf, bool sync)
615 mwifiex_init_cmd_node(priv, cmd_node, cmd_no, data_buf, sync);
639 cmd_oid, data_buf,
644 cmd_oid, data_buf,
649 ret = mwifiex_cmd_host_cmd(priv, cmd_ptr, data_buf);
847 if (adapter->curr_cmd->data_buf) {
28 mwifiex_init_cmd_node(struct mwifiex_private *priv, struct cmd_ctrl_node *cmd_node, u32 cmd_no, void *data_buf, bool sync) argument
546 mwifiex_send_cmd(struct mwifiex_private *priv, u16 cmd_no, u16 cmd_action, u32 cmd_oid, void *data_buf, bool sync) argument
[all...]
H A D11h.c134 void *data_buf)
137 struct mwifiex_radar_params *radar_params = (void *)data_buf;
132 mwifiex_cmd_issue_chan_report_request(struct mwifiex_private *priv, struct host_cmd_ds_command *cmd, void *data_buf) argument
/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dlwt_reroute.c81 char data_buf[8]; /* only #pkts matter, so use a random small buffer */ local
84 .iov_base = data_buf,
85 .iov_len = sizeof(data_buf),
103 memset(data_buf, 0, sizeof(data_buf));
/linux-master/drivers/firmware/google/
H A Dgsmi.c94 struct gsmi_buf *data_buf; /* generic data buffer */ member in struct:gsmi_device
317 .data_ptr = gsmi_dev.data_buf->address,
338 memset(gsmi_dev.data_buf->start, 0, gsmi_dev.data_buf->length);
357 gsmi_dev.data_buf->length);
361 memcpy(data, gsmi_dev.data_buf->start, *data_size);
440 .data_ptr = gsmi_dev.data_buf->address,
464 memset(gsmi_dev.data_buf->start, 0, gsmi_dev.data_buf->length);
465 memcpy(gsmi_dev.data_buf
[all...]
/linux-master/sound/soc/sof/amd/
H A Dacp-loader.c76 if (!adata->data_buf) {
77 adata->data_buf = dma_alloc_coherent(&pci->dev,
81 if (!adata->data_buf)
84 dest = adata->data_buf + offset;
233 dma_free_coherent(&pci->dev, ACP_DEFAULT_DRAM_LENGTH, adata->data_buf,
235 adata->data_buf = NULL;
/linux-master/block/
H A Dt10-pi.c41 pi->guard_tag = fn(0, iter->data_buf, iter->interval);
52 iter->data_buf += iter->interval;
91 csum = fn(0, iter->data_buf, iter->interval);
104 iter->data_buf += iter->interval;
308 pi->guard_tag = ext_pi_crc64(0, iter->data_buf, iter->interval);
319 iter->data_buf += iter->interval;
362 csum = ext_pi_crc64(0, iter->data_buf, iter->interval);
376 iter->data_buf += iter->interval;
/linux-master/drivers/mmc/core/
H A Dmmc_ops.c677 u8 *data_buf; local
688 data_buf = kzalloc(size, GFP_KERNEL);
689 if (!data_buf)
711 sg_init_one(&sg, data_buf, size);
728 if (memcmp(data_buf, tuning_block_pattern, size))
732 kfree(data_buf);
770 u8 *data_buf; local
779 data_buf = kmalloc(len, GFP_KERNEL);
780 if (!data_buf)
790 kfree(data_buf);
[all...]
/linux-master/drivers/iio/chemical/
H A Dsgp30.c212 u8 *data_buf = &buf->start; local
215 crc = crc8(sgp_crc8_table, &data_buf[i], SGP_WORD_LEN,
217 if (crc != data_buf[i + SGP_WORD_LEN]) {
244 u8 *data_buf; local
254 data_buf = &buf->start;
255 ret = i2c_master_recv(client, data_buf, size);
/linux-master/drivers/scsi/pm8001/
H A Dpm80xx_hwi.c100 pm8001_ha->forensic_info.data_buf.direct_data = buf;
102 pm8001_ha->forensic_info.data_buf.direct_data +=
103 sprintf(pm8001_ha->forensic_info.data_buf.direct_data,
105 return (char *)pm8001_ha->forensic_info.data_buf.direct_data -
109 if (pm8001_ha->forensic_info.data_buf.direct_offset == 0) {
114 pm8001_ha->forensic_info.data_buf.direct_len = SYSFS_OFFSET;
115 pm8001_ha->forensic_info.data_buf.direct_offset = 0;
116 pm8001_ha->forensic_info.data_buf.read_len = 0;
123 pm8001_ha->forensic_info.data_buf.direct_data = direct_data;
126 pm8001_ha->forensic_info.data_buf
[all...]
/linux-master/drivers/usb/gadget/function/
H A Dtcm.h73 void *data_buf; /* used if no sg support available */ member in struct:usbg_cmd
H A Df_tcm.c216 cmd->data_buf = kmalloc(se_cmd->data_length, GFP_ATOMIC);
217 if (!cmd->data_buf)
222 cmd->data_buf,
225 fu->bot_req_in->buf = cmd->data_buf;
260 cmd->data_buf = kmalloc(se_cmd->data_length, GFP_KERNEL);
261 if (!cmd->data_buf)
264 fu->bot_req_out->buf = cmd->data_buf;
518 cmd->data_buf = kmalloc(se_cmd->data_length, GFP_ATOMIC);
519 if (!cmd->data_buf)
524 cmd->data_buf,
[all...]
/linux-master/drivers/mtd/nand/raw/
H A Dqcom_nandc.c1399 static bool erased_chunk_check_and_fixup(u8 *data_buf, int data_len) argument
1409 empty1 = data_buf[3];
1410 empty2 = data_buf[175];
1418 data_buf[3] = 0xff;
1419 data_buf[175] = 0xff;
1426 if (memchr_inv(data_buf, 0xff, data_len)) {
1427 data_buf[3] = empty1;
1428 data_buf[175] = empty2;
1464 u8 *data_buf, u8 *oob_buf, int page, int cw)
1515 read_data_dma(nandc, reg_off, data_buf, data_size
1463 qcom_nandc_read_cw_raw(struct mtd_info *mtd, struct nand_chip *chip, u8 *data_buf, u8 *oob_buf, int page, int cw) argument
1551 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) argument
1610 parse_read_errors(struct qcom_nand_host *host, u8 *data_buf, u8 *oob_buf, int page) argument
1713 read_page_ecc(struct qcom_nand_host *host, u8 *data_buf, u8 *oob_buf, int page) argument
1891 u8 *data_buf, *oob_buf = NULL; local
1920 u8 *data_buf = buf, *oob_buf = chip->oob_poi; local
1965 u8 *data_buf, *oob_buf; local
2039 u8 *data_buf, *oob_buf; local
[all...]
H A Dmxc_nand.c181 uint8_t *data_buf; member in struct:mxc_nand_host
243 * This function handles the needed shuffling between host->data_buf (which
612 memcpy32_fromio(host->data_buf, host->main_area0, 16);
626 memcpy32_fromio(host->data_buf, host->main_area0, 16);
890 memset(host->data_buf, 0xff, mtd->writesize);
892 return mxc_nand_write_page(chip, host->data_buf, false, page);
906 ret = *(uint16_t *)(host->data_buf + host->buf_start);
910 ret = *(uint8_t *)(host->data_buf + host->buf_start);
931 memcpy(host->data_buf + col, buf, n);
950 memcpy(buf, host->data_buf
[all...]
H A Dlpc32xx_slc.c232 uint8_t *data_buf; member in struct:lpc32xx_nand_host
502 dma_buf = host->data_buf;
505 memcpy(host->data_buf, buf, mtd->writesize);
591 memcpy(buf, host->data_buf, mtd->writesize);
778 host->ecc_buf = (uint32_t *)(host->data_buf + LPC32XX_DMA_DATA_SIZE);
903 host->data_buf = devm_kzalloc(&pdev->dev, host->dma_buf_len,
905 if (host->data_buf == NULL) {
/linux-master/drivers/regulator/
H A Drpi-panel-attiny-regulator.c252 u8 data_buf[1] = { 0, }; local
271 msgs[0].buf = data_buf;
277 *buf = data_buf[0];
/linux-master/include/linux/
H A Dblk-integrity.h18 void *data_buf; member in struct:blk_integrity_iter
/linux-master/drivers/gpu/drm/tiny/
H A Dgm12u320.c93 unsigned char *data_buf[GM12U320_BLOCK_COUNT]; member in struct:gm12u320_device
185 gm12u320->data_buf[i] = drmm_kzalloc(&gm12u320->dev,
187 if (!gm12u320->data_buf[i])
190 memcpy(gm12u320->data_buf[i], hdr, DATA_BLOCK_HEADER_SIZE);
191 memcpy(gm12u320->data_buf[i] +
300 gm12u320->data_buf[block] + dst_offset,
307 gm12u320->data_buf[block] + dst_offset,
356 gm12u320->data_buf[block], block_size,
/linux-master/drivers/macintosh/
H A Dsmu.c126 DPRINTK("SMU: data buffer: %8ph\n", cmd->data_buf);
131 memcpy(smu->cmd_buf->data, cmd->data_buf, cmd->data_len);
305 cmd->data_buf = scmd->buffer;
814 scmd->data_buf = cmd->pdata;
836 cmd->scmd.data_buf = (u8 *)(char *)&cmd->info;
922 cmd.data_buf = params;
1161 pp->cmd.data_buf = pp->buffer;
/linux-master/drivers/net/ethernet/amazon/ena/
H A Dena_ethtool.c1002 u64 *data_buf; local
1021 data_buf = devm_kcalloc(&adapter->pdev->dev,
1024 if (!data_buf) {
1032 ena_get_stats(adapter, data_buf, false);
1040 data_buf[i]);
1047 data_buf[i]);
1050 devm_kfree(&adapter->pdev->dev, data_buf);
/linux-master/drivers/infiniband/ulp/iser/
H A Diser_initiator.c348 struct iser_data_buf *data_buf, *prot_buf; local
360 data_buf = &iser_task->data[ISER_DIR_IN];
363 data_buf = &iser_task->data[ISER_DIR_OUT];
368 data_buf->sg = scsi_sglist(sc);
369 data_buf->size = scsi_sg_count(sc);
371 data_buf->data_len = scsi_bufflen(sc);
376 prot_buf->data_len = (data_buf->data_len >>

Completed in 382 milliseconds

1234