Home
last modified time | relevance | path

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

1234

/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()
955 gsmi_dev.data_buf = gsmi_buf_alloc(); in gsmi_init()
956 if (!gsmi_dev.data_buf) { in gsmi_init()
1056 gsmi_buf_free(gsmi_dev.data_buf); in gsmi_init()
[all …]
/drivers/net/wireless/marvell/mwifiex/
A Dsta_cmd.c1697 config = data_buf; in mwifiex_cmd_tdls_config()
1949 data_buf); in mwifiex_sta_prepare_cmd()
1957 data_buf); in mwifiex_sta_prepare_cmd()
1973 data_buf); in mwifiex_sta_prepare_cmd()
1988 data_buf); in mwifiex_sta_prepare_cmd()
1998 data_buf); in mwifiex_sta_prepare_cmd()
2115 data_buf); in mwifiex_sta_prepare_cmd()
2131 data_buf); in mwifiex_sta_prepare_cmd()
2189 data_buf); in mwifiex_sta_prepare_cmd()
2196 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()
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()
842 hostcmd = adapter->curr_cmd->data_buf; in mwifiex_process_cmdresp()
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()
/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()
/drivers/mtd/nand/raw/
A Dqcom_nandc.c418 empty1 = data_buf[3]; 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()
436 data_buf[3] = empty1; in erased_chunk_check_and_fixup()
570 if (!data_buf) in check_for_erased_page()
701 if (data_buf) in parse_read_errors()
761 if (data_buf) in read_page_ecc()
782 if (data_buf) in read_page_ecc()
913 data_buf = buf; in qcom_nandc_read_page()
988 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 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 …]
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()
/drivers/spi/
A Dspi-qpic-snand.c111 u8 *data_buf; member
810 if (data_buf) in qcom_spi_read_page_raw()
876 } else if (data_buf) { in qcom_spi_read_page_ecc()
884 if (data_buf) in qcom_spi_read_page_ecc()
897 if (data_buf) in qcom_spi_read_page_ecc()
898 data_buf += data_size; in qcom_spi_read_page_ecc()
1043 data_buf = snandc->qspi->data_buf; in qcom_spi_program_raw()
1085 data_buf += data_size1; in qcom_spi_program_raw()
1128 data_buf = snandc->qspi->data_buf; in qcom_spi_program_ecc()
1160 if (data_buf) in qcom_spi_program_ecc()
[all …]
/drivers/mmc/core/
A Dmmc_ops.c685 u8 *data_buf; in mmc_send_tuning() local
697 if (!data_buf) in mmc_send_tuning()
719 sg_init_one(&sg, data_buf, 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()
803 memcpy(data_buf, test_buf, len); in mmc_send_bus_test()
827 sg_init_one(&sg, data_buf, len); in mmc_send_bus_test()
[all …]
/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 …]
/drivers/gpu/drm/tiny/
A Dgm12u320.c92 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()
/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()
/drivers/bluetooth/
A Dbtintel_pcie.h344 struct data_buf { struct
378 struct data_buf *bufs;
398 struct data_buf *bufs;
414 struct data_buf *bufs;
/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()
/drivers/regulator/
A Drpi-panel-attiny-regulator.c243 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()
/drivers/net/ethernet/amazon/ena/
A Dena_ethtool.c1119 u64 *data_buf; in ena_dump_stats_ex() local
1136 data_buf = kcalloc(strings_num, sizeof(u64), GFP_ATOMIC); in ena_dump_stats_ex()
1137 if (!data_buf) { in ena_dump_stats_ex()
1145 ena_get_stats(adapter, data_buf, false); in ena_dump_stats_ex()
1153 data_buf[i]); in ena_dump_stats_ex()
1160 data_buf[i]); in ena_dump_stats_ex()
1163 kfree(data_buf); in ena_dump_stats_ex()
/drivers/net/ethernet/freescale/enetc/
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()
/drivers/usb/gadget/function/
A Df_tcm.c224 if (!cmd->data_buf) in bot_send_read_response()
229 cmd->data_buf, in bot_send_read_response()
232 fu->bot_req_in->buf = cmd->data_buf; in bot_send_read_response()
566 if (!cmd->data_buf) in uasp_prepare_r_request()
571 cmd->data_buf, in uasp_prepare_r_request()
792 kfree(cmd->data_buf); in uasp_send_read_response()
793 cmd->data_buf = NULL; in uasp_send_read_response()
1101 cmd->data_buf, in usbg_data_write_cmpl()
1131 if (!cmd->data_buf) in usbg_prepare_w_request()
1134 req->buf = cmd->data_buf; in usbg_prepare_w_request()
[all …]
/drivers/media/i2c/
A Dov01a10.c301 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()
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()
/drivers/macintosh/
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()

Completed in 909 milliseconds

1234