Home
last modified time | relevance | path

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

1234

/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()
439 .data_ptr = gsmi_dev.data_buf->address, in gsmi_set_variable()
463 memset(gsmi_dev.data_buf->start, 0, gsmi_dev.data_buf->length); in gsmi_set_variable()
513 memset(gsmi_dev.data_buf->start, 0, gsmi_dev.data_buf->length); in eventlog_write()
637 memset(gsmi_dev.data_buf->start, 0, gsmi_dev.data_buf->length); in gsmi_shutdown_reason()
944 gsmi_dev.data_buf = gsmi_buf_alloc(); in gsmi_init()
945 if (!gsmi_dev.data_buf) { in gsmi_init()
1045 gsmi_buf_free(gsmi_dev.data_buf); in gsmi_init()
[all …]
/linux/drivers/net/wireless/marvell/mwifiex/
A Dsta_cmd.c1716 config = data_buf; in mwifiex_cmd_tdls_config()
1966 data_buf); in mwifiex_sta_prepare_cmd()
1974 data_buf); in mwifiex_sta_prepare_cmd()
1990 data_buf); in mwifiex_sta_prepare_cmd()
2005 data_buf); in mwifiex_sta_prepare_cmd()
2015 data_buf); in mwifiex_sta_prepare_cmd()
2132 data_buf); in mwifiex_sta_prepare_cmd()
2148 data_buf); in mwifiex_sta_prepare_cmd()
2206 data_buf); in mwifiex_sta_prepare_cmd()
2213 data_buf); in mwifiex_sta_prepare_cmd()
[all …]
A Dsta_cmdresp.c169 u32 *data_buf) in mwifiex_ret_802_11_snmp_mib() argument
182 if (data_buf) in mwifiex_ret_802_11_snmp_mib()
183 *data_buf = ul_temp; in mwifiex_ret_802_11_snmp_mib()
342 if (!data_buf) in mwifiex_get_power_level()
742 void *data_buf) in mwifiex_ret_p2p_mode_cfg() argument
746 if (data_buf) in mwifiex_ret_p2p_mode_cfg()
772 void *data_buf) in mwifiex_ret_reg_access() argument
784 if (!data_buf) in mwifiex_ret_reg_access()
787 reg_rw = data_buf; in mwifiex_ret_reg_access()
788 eeprom = data_buf; in mwifiex_ret_reg_access()
[all …]
A D11n_rxreorder.h68 void *data_buf);
74 void *data_buf);
A Dcmdevt.c42 u32 cmd_no, void *data_buf, bool sync) in mwifiex_init_cmd_node() argument
52 cmd_node->data_buf = data_buf; in mwifiex_init_cmd_node()
97 cmd_node->data_buf = NULL; in mwifiex_clean_cmd_node()
559 u16 cmd_action, u32 cmd_oid, void *data_buf, bool sync) in mwifiex_send_cmd() argument
627 mwifiex_init_cmd_node(priv, cmd_node, cmd_no, data_buf, sync); in mwifiex_send_cmd()
651 cmd_oid, data_buf, in mwifiex_send_cmd()
656 cmd_oid, data_buf, in mwifiex_send_cmd()
661 ret = mwifiex_cmd_host_cmd(priv, cmd_ptr, data_buf); in mwifiex_send_cmd()
859 if (adapter->curr_cmd->data_buf) { in mwifiex_process_cmdresp()
860 hostcmd = adapter->curr_cmd->data_buf; in mwifiex_process_cmdresp()
/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
A Dxtlv.c38 u8 *data_buf; in brcmf_xtlv_pack_header() local
47 data_buf = lenp + sizeof(u16); in brcmf_xtlv_pack_header()
54 data_buf = lenp + sizeof(u8); in brcmf_xtlv_pack_header()
61 data_buf = lenp + sizeof(u16); in brcmf_xtlv_pack_header()
68 data_buf = lenp + sizeof(u8); in brcmf_xtlv_pack_header()
80 memcpy(data_buf, data, len); in brcmf_xtlv_pack_header()
/linux/arch/arm64/kvm/
A Dmmio.c131 u8 data_buf[8]; in io_mem_abort() local
163 kvm_mmio_write_buf(data_buf, len, data); in io_mem_abort()
166 data_buf); in io_mem_abort()
172 data_buf); in io_mem_abort()
184 memcpy(run->mmio.data, data_buf, len); in io_mem_abort()
191 memcpy(run->mmio.data, data_buf, len); in io_mem_abort()
/linux/drivers/mtd/nand/raw/
A Dqcom_nandc.c1617 empty1 = data_buf[3]; in erased_chunk_check_and_fixup()
1626 data_buf[3] = 0xff; in erased_chunk_check_and_fixup()
1627 data_buf[175] = 0xff; in erased_chunk_check_and_fixup()
1635 data_buf[3] = empty1; in erased_chunk_check_and_fixup()
1767 if (!data_buf) in check_for_erased_page()
1898 if (data_buf) in parse_read_errors()
1958 if (data_buf) in read_page_ecc()
1979 if (data_buf) in read_page_ecc()
2040 data_buf = buf; in qcom_nandc_read_page()
2103 data_buf = (u8 *)buf; in qcom_nandc_write_page()
[all …]
A Dmxc_nand.c182 uint8_t *data_buf; member
613 memcpy32_fromio(host->data_buf, host->main_area0, 16); in send_read_id_v3()
627 memcpy32_fromio(host->data_buf, host->main_area0, 16); in send_read_id_v1_v2()
891 memset(host->data_buf, 0xff, mtd->writesize); in mxc_nand_write_oob()
907 ret = *(uint16_t *)(host->data_buf + host->buf_start); in mxc_nand_read_byte()
911 ret = *(uint8_t *)(host->data_buf + host->buf_start); in mxc_nand_read_byte()
932 memcpy(host->data_buf + col, buf, n); in mxc_nand_write_buf()
951 memcpy(buf, host->data_buf + col, n); in mxc_nand_read_buf()
1656 devm_kfree(dev, (void *)host->data_buf); in mxcnd_attach_chip()
1659 if (!host->data_buf) in mxcnd_attach_chip()
[all …]
A Dmeson_nand.c118 u8 *data_buf; member
338 return meson_chip->data_buf + len; in meson_nfc_oob_ptr()
349 return meson_chip->data_buf + len; in meson_nfc_data_ptr()
647 ret = meson_nfc_dma_buffer_setup(nand, meson_chip->data_buf, in meson_nfc_write_page_sub()
688 memcpy(meson_chip->data_buf, buf, mtd->writesize); in meson_nfc_write_page_hwecc()
816 } else if (buf && buf != meson_chip->data_buf) { in meson_nfc_read_page_hwecc()
817 memcpy(buf, meson_chip->data_buf, mtd->writesize); in meson_nfc_read_page_hwecc()
1075 kfree(meson_chip->data_buf); in meson_nfc_free_buffer()
1089 meson_chip->data_buf = kmalloc(page_bytes, GFP_KERNEL); in meson_chip_buffer_init()
1090 if (!meson_chip->data_buf) in meson_chip_buffer_init()
[all …]
A Dlpc32xx_slc.c233 uint8_t *data_buf; member
503 dma_buf = host->data_buf; in lpc32xx_xfer()
506 memcpy(host->data_buf, buf, mtd->writesize); in lpc32xx_xfer()
592 memcpy(buf, host->data_buf, mtd->writesize); in lpc32xx_xfer()
781 host->ecc_buf = (uint32_t *)(host->data_buf + LPC32XX_DMA_DATA_SIZE); in lpc32xx_nand_attach_chip()
906 host->data_buf = devm_kzalloc(&pdev->dev, host->dma_buf_len, in lpc32xx_nand_probe()
908 if (host->data_buf == NULL) { in lpc32xx_nand_probe()
/linux/drivers/mmc/core/
A Dmmc_ops.c646 u8 *data_buf; in mmc_send_tuning() local
658 if (!data_buf) in mmc_send_tuning()
680 sg_init_one(&sg, data_buf, size); in mmc_send_tuning()
701 kfree(data_buf); in mmc_send_tuning()
739 u8 *data_buf; in mmc_send_bus_test() local
748 data_buf = kmalloc(len, GFP_KERNEL); in mmc_send_bus_test()
749 if (!data_buf) in mmc_send_bus_test()
759 kfree(data_buf); in mmc_send_bus_test()
764 memcpy(data_buf, test_buf, len); in mmc_send_bus_test()
788 sg_init_one(&sg, data_buf, len); in mmc_send_bus_test()
[all …]
/linux/arch/powerpc/platforms/pseries/
A Ddlpar.c141 char *data_buf; in dlpar_configure_connector() local
149 data_buf = kzalloc(RTAS_DATA_BUF_SIZE, GFP_KERNEL); in dlpar_configure_connector()
150 if (!data_buf) in dlpar_configure_connector()
153 ccwa = (struct cc_workarea *)&data_buf[0]; in dlpar_configure_connector()
164 memcpy(rtas_data_buf, data_buf, RTAS_DATA_BUF_SIZE); in dlpar_configure_connector()
166 memcpy(data_buf, rtas_data_buf, RTAS_DATA_BUF_SIZE); in dlpar_configure_connector()
231 kfree(data_buf); in dlpar_configure_connector()
/linux/drivers/scsi/pm8001/
A Dpm80xx_hwi.c117 pm8001_ha->forensic_info.data_buf.read_len = 0; in pm80xx_get_fatal_dump()
203 pm8001_ha->forensic_info.data_buf.direct_len; in pm80xx_get_fatal_dump()
205 pm8001_ha->forensic_info.data_buf.direct_len; in pm80xx_get_fatal_dump()
207 pm8001_ha->forensic_info.data_buf.direct_len; in pm80xx_get_fatal_dump()
208 pm8001_ha->forensic_info.data_buf.read_len = in pm80xx_get_fatal_dump()
209 pm8001_ha->forensic_info.data_buf.direct_len; in pm80xx_get_fatal_dump()
235 forensic_info.data_buf.direct_data - in pm80xx_get_fatal_dump()
241 forensic_info.data_buf.direct_data, in pm80xx_get_fatal_dump()
248 forensic_info.data_buf.direct_data, in pm80xx_get_fatal_dump()
258 forensic_info.data_buf.direct_data - in pm80xx_get_fatal_dump()
[all …]
/linux/drivers/gpu/drm/tiny/
A Dgm12u320.c90 unsigned char *data_buf[GM12U320_BLOCK_COUNT]; member
182 gm12u320->data_buf[i] = drmm_kzalloc(&gm12u320->dev, in gm12u320_usb_alloc()
184 if (!gm12u320->data_buf[i]) in gm12u320_usb_alloc()
187 memcpy(gm12u320->data_buf[i], hdr, DATA_BLOCK_HEADER_SIZE); in gm12u320_usb_alloc()
188 memcpy(gm12u320->data_buf[i] + in gm12u320_usb_alloc()
297 gm12u320->data_buf[block] + dst_offset, in gm12u320_copy_fb_to_blocks()
304 gm12u320->data_buf[block] + dst_offset, in gm12u320_copy_fb_to_blocks()
353 gm12u320->data_buf[block], block_size, in gm12u320_fb_update_work()
/linux/drivers/iio/chemical/
A Dsgp30.c209 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/block/
A Dt10-pi.c38 pi->guard_tag = fn(iter->data_buf, iter->interval); in t10_pi_generate()
46 iter->data_buf += iter->interval; in t10_pi_generate()
84 csum = fn(iter->data_buf, iter->interval); in t10_pi_verify()
95 iter->data_buf += iter->interval; in t10_pi_verify()
/linux/drivers/media/i2c/ccs/
A Dccs-reg-access.c74 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/drivers/net/ethernet/freescale/enetc/
A Denetc_qos.c635 struct sfi_counter_data *data_buf; in enetc_streamcounter_hw_get() local
646 data_buf = kzalloc(data_size, __GFP_DMA | GFP_KERNEL); in enetc_streamcounter_hw_get()
647 if (!data_buf) in enetc_streamcounter_hw_get()
650 dma = dma_map_single(&priv->si->pdev->dev, data_buf, in enetc_streamcounter_hw_get()
666 cnt->matching_frames_count = ((u64)data_buf->matchh << 32) + in enetc_streamcounter_hw_get()
667 data_buf->matchl; in enetc_streamcounter_hw_get()
670 data_buf->msdu_dropl; in enetc_streamcounter_hw_get()
676 ((u64)data_buf->stream_gate_droph << 32) + in enetc_streamcounter_hw_get()
677 data_buf->stream_gate_dropl; in enetc_streamcounter_hw_get()
684 data_buf->flow_meter_dropl; in enetc_streamcounter_hw_get()
[all …]
/linux/drivers/infiniband/ulp/iser/
A Diser_initiator.c370 struct iser_data_buf *data_buf, *prot_buf; in iser_send_command() local
384 data_buf = &iser_task->data[ISER_DIR_IN]; in iser_send_command()
387 data_buf = &iser_task->data[ISER_DIR_OUT]; in iser_send_command()
392 data_buf->sg = scsi_sglist(sc); in iser_send_command()
393 data_buf->size = scsi_sg_count(sc); in iser_send_command()
395 data_buf->data_len = scsi_bufflen(sc); in iser_send_command()
400 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/net/ethernet/amazon/ena/
A Dena_ethtool.c934 u64 *data_buf; in ena_dump_stats_ex() local
953 data_buf = devm_kcalloc(&adapter->pdev->dev, in ena_dump_stats_ex()
956 if (!data_buf) { in ena_dump_stats_ex()
964 ena_get_stats(adapter, data_buf, false); in ena_dump_stats_ex()
972 data_buf[i]); in ena_dump_stats_ex()
979 data_buf[i]); in ena_dump_stats_ex()
982 devm_kfree(&adapter->pdev->dev, data_buf); in ena_dump_stats_ex()
/linux/drivers/macintosh/
A Dsmu.c125 DPRINTK("SMU: data buffer: %8ph\n", cmd->data_buf); in smu_start_cmd()
130 memcpy(smu->cmd_buf->data, cmd->data_buf, cmd->data_len); in smu_start_cmd()
304 cmd->data_buf = scmd->buffer; in smu_queue_simple()
815 scmd->data_buf = cmd->pdata; in smu_i2c_low_completion()
837 cmd->scmd.data_buf = (u8 *)(char *)&cmd->info; in smu_queue_i2c()
923 cmd.data_buf = params; in smu_read_datablock()
1162 pp->cmd.data_buf = pp->buffer; in smu_write()
/linux/drivers/media/i2c/
A Dov9734.c373 u8 data_buf[4] = {0}; in ov9734_read_reg() local
376 if (len > sizeof(data_buf)) in ov9734_read_reg()
387 msgs[1].buf = &data_buf[sizeof(data_buf) - len]; in ov9734_read_reg()
393 *val = get_unaligned_be32(data_buf); in ov9734_read_reg()
/linux/drivers/staging/ks7010/
A Dks7010_sdio.c645 unsigned char *data_buf; in ks7010_sdio_update_index() local
647 data_buf = kmemdup(&index, sizeof(u32), GFP_KERNEL); in ks7010_sdio_update_index()
648 if (!data_buf) in ks7010_sdio_update_index()
651 ret = ks7010_sdio_write(priv, WRITE_INDEX_REG, data_buf, sizeof(index)); in ks7010_sdio_update_index()
655 ret = ks7010_sdio_write(priv, READ_INDEX_REG, data_buf, sizeof(index)); in ks7010_sdio_update_index()
662 kfree(data_buf); in ks7010_sdio_update_index()

Completed in 69 milliseconds

1234