/kernel/linux/linux-6.6/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
H A D | xtlv.c | 40 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()
|
/kernel/linux/linux-5.10/drivers/net/wireless/marvell/mwifiex/ |
H A D | sta_cmd.c | 287 u16 cmd_action, void *data_buf) in mwifiex_cmd_rf_tx_power() 1145 u16 cmd_action, void *data_buf) in mwifiex_cmd_reg_access() 1147 struct mwifiex_ds_reg_rw *reg_rw = data_buf; in mwifiex_cmd_reg_access() 1207 struct mwifiex_ds_read_eeprom *rd_eeprom = data_buf; in mwifiex_cmd_reg_access() 1510 struct host_cmd_ds_command *cmd, void *data_buf) in mwifiex_cmd_cfg_data() 1513 struct property *prop = data_buf; in mwifiex_cmd_cfg_data() 1545 u16 cmd_action, void *data_buf) in mwifiex_cmd_set_mc_policy() 1548 const u16 *drcs_info = data_buf; in mwifiex_cmd_set_mc_policy() 1627 u16 cmd_action, void *data_buf) in mwifiex_cmd_coalesce_cfg() 1631 struct mwifiex_ds_coalesce_cfg *cfg = data_buf; in mwifiex_cmd_coalesce_cfg() 285 mwifiex_cmd_rf_tx_power(struct mwifiex_private *priv, struct host_cmd_ds_command *cmd, u16 cmd_action, void *data_buf) mwifiex_cmd_rf_tx_power() argument 1144 mwifiex_cmd_reg_access(struct host_cmd_ds_command *cmd, u16 cmd_action, void *data_buf) mwifiex_cmd_reg_access() argument 1509 mwifiex_cmd_cfg_data(struct mwifiex_private *priv, struct host_cmd_ds_command *cmd, void *data_buf) mwifiex_cmd_cfg_data() argument 1543 mwifiex_cmd_set_mc_policy(struct mwifiex_private *priv, struct host_cmd_ds_command *cmd, u16 cmd_action, void *data_buf) mwifiex_cmd_set_mc_policy() argument 1625 mwifiex_cmd_coalesce_cfg(struct mwifiex_private *priv, struct host_cmd_ds_command *cmd, u16 cmd_action, void *data_buf) mwifiex_cmd_coalesce_cfg() argument 1690 mwifiex_cmd_tdls_config(struct mwifiex_private *priv, struct host_cmd_ds_command *cmd, u16 cmd_action, void *data_buf) mwifiex_cmd_tdls_config() argument 1734 mwifiex_cmd_tdls_oper(struct mwifiex_private *priv, struct host_cmd_ds_command *cmd, void *data_buf) mwifiex_cmd_tdls_oper() argument 1861 mwifiex_cmd_sdio_rx_aggr_cfg(struct host_cmd_ds_command *cmd, u16 cmd_action, void *data_buf) mwifiex_cmd_sdio_rx_aggr_cfg() argument 1937 mwifiex_sta_prepare_cmd(struct mwifiex_private *priv, uint16_t cmd_no, u16 cmd_action, u32 cmd_oid, void *data_buf, void *cmd_buf) mwifiex_sta_prepare_cmd() argument [all...] |
H A D | sta_cmdresp.c | 169 u32 *data_buf) in mwifiex_ret_802_11_snmp_mib() 182 if (data_buf) in mwifiex_ret_802_11_snmp_mib() 183 *data_buf = ul_temp; in mwifiex_ret_802_11_snmp_mib() 335 static int mwifiex_get_power_level(struct mwifiex_private *priv, void *data_buf) in mwifiex_get_power_level() argument 341 if (!data_buf) in mwifiex_get_power_level() 344 pg_tlv_hdr = (struct mwifiex_types_power_group *)((u8 *)data_buf); in mwifiex_get_power_level() 741 void *data_buf) in mwifiex_ret_p2p_mode_cfg() 745 if (data_buf) in mwifiex_ret_p2p_mode_cfg() 746 put_unaligned_le16(le16_to_cpu(mode_cfg->mode), data_buf); in mwifiex_ret_p2p_mode_cfg() 771 void *data_buf) in mwifiex_ret_reg_access() 167 mwifiex_ret_802_11_snmp_mib(struct mwifiex_private *priv, struct host_cmd_ds_command *resp, u32 *data_buf) mwifiex_ret_802_11_snmp_mib() argument 739 mwifiex_ret_p2p_mode_cfg(struct mwifiex_private *priv, struct host_cmd_ds_command *resp, void *data_buf) mwifiex_ret_p2p_mode_cfg() argument 770 mwifiex_ret_reg_access(u16 type, struct host_cmd_ds_command *resp, void *data_buf) mwifiex_ret_reg_access() argument 1204 void *data_buf = adapter->curr_cmd->data_buf; mwifiex_process_sta_cmdresp() local [all...] |
H A D | 11n_rxreorder.h | 68 void *data_buf); 74 void *data_buf);
|
/kernel/linux/linux-6.6/drivers/net/wireless/marvell/mwifiex/ |
H A D | sta_cmd.c | 275 u16 cmd_action, void *data_buf) in mwifiex_cmd_rf_tx_power() 1138 u16 cmd_action, void *data_buf) in mwifiex_cmd_reg_access() 1140 struct mwifiex_ds_reg_rw *reg_rw = data_buf; in mwifiex_cmd_reg_access() 1200 struct mwifiex_ds_read_eeprom *rd_eeprom = data_buf; in mwifiex_cmd_reg_access() 1503 struct host_cmd_ds_command *cmd, void *data_buf) in mwifiex_cmd_cfg_data() 1506 struct property *prop = data_buf; in mwifiex_cmd_cfg_data() 1538 u16 cmd_action, void *data_buf) in mwifiex_cmd_set_mc_policy() 1541 const u16 *drcs_info = data_buf; in mwifiex_cmd_set_mc_policy() 1620 u16 cmd_action, void *data_buf) in mwifiex_cmd_coalesce_cfg() 1624 struct mwifiex_ds_coalesce_cfg *cfg = data_buf; in mwifiex_cmd_coalesce_cfg() 273 mwifiex_cmd_rf_tx_power(struct mwifiex_private *priv, struct host_cmd_ds_command *cmd, u16 cmd_action, void *data_buf) mwifiex_cmd_rf_tx_power() argument 1137 mwifiex_cmd_reg_access(struct host_cmd_ds_command *cmd, u16 cmd_action, void *data_buf) mwifiex_cmd_reg_access() argument 1502 mwifiex_cmd_cfg_data(struct mwifiex_private *priv, struct host_cmd_ds_command *cmd, void *data_buf) mwifiex_cmd_cfg_data() argument 1536 mwifiex_cmd_set_mc_policy(struct mwifiex_private *priv, struct host_cmd_ds_command *cmd, u16 cmd_action, void *data_buf) mwifiex_cmd_set_mc_policy() argument 1618 mwifiex_cmd_coalesce_cfg(struct mwifiex_private *priv, struct host_cmd_ds_command *cmd, u16 cmd_action, void *data_buf) mwifiex_cmd_coalesce_cfg() argument 1683 mwifiex_cmd_tdls_config(struct mwifiex_private *priv, struct host_cmd_ds_command *cmd, u16 cmd_action, void *data_buf) mwifiex_cmd_tdls_config() argument 1727 mwifiex_cmd_tdls_oper(struct mwifiex_private *priv, struct host_cmd_ds_command *cmd, void *data_buf) mwifiex_cmd_tdls_oper() argument 1856 mwifiex_cmd_sdio_rx_aggr_cfg(struct host_cmd_ds_command *cmd, u16 cmd_action, void *data_buf) mwifiex_cmd_sdio_rx_aggr_cfg() 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) mwifiex_sta_prepare_cmd() argument [all...] |
H A D | sta_cmdresp.c | 157 u32 *data_buf) in mwifiex_ret_802_11_snmp_mib() 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() 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() 155 mwifiex_ret_802_11_snmp_mib(struct mwifiex_private *priv, struct host_cmd_ds_command *resp, u32 *data_buf) mwifiex_ret_802_11_snmp_mib() argument 752 mwifiex_ret_p2p_mode_cfg(struct mwifiex_private *priv, struct host_cmd_ds_command *resp, void *data_buf) mwifiex_ret_p2p_mode_cfg() argument 783 mwifiex_ret_reg_access(u16 type, struct host_cmd_ds_command *resp, void *data_buf) mwifiex_ret_reg_access() argument 1217 void *data_buf = adapter->curr_cmd->data_buf; mwifiex_process_sta_cmdresp() local [all...] |
H A D | 11n_rxreorder.h | 56 void *data_buf); 62 void *data_buf);
|
/kernel/linux/linux-5.10/drivers/firmware/google/ |
H A D | gsmi.c | 95 struct gsmi_buf *data_buf; /* generic data buffer */ member 316 .data_ptr = gsmi_dev.data_buf->address, in gsmi_get_variable() 337 memset(gsmi_dev.data_buf->start, 0, gsmi_dev.data_buf->length); in gsmi_get_variable() 356 gsmi_dev.data_buf->length); in gsmi_get_variable() 360 memcpy(data, gsmi_dev.data_buf->start, *data_size); 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() 464 memcpy(gsmi_dev.data_buf in gsmi_set_variable() [all...] |
/kernel/linux/linux-6.6/drivers/firmware/google/ |
H A D | gsmi.c | 94 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 in gsmi_set_variable() [all...] |
/kernel/linux/linux-5.10/arch/arm64/kvm/ |
H A D | mmio.c | 131 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()
|
/kernel/linux/linux-6.6/arch/arm64/kvm/ |
H A D | mmio.c | 131 u8 data_buf[8]; in io_mem_abort() local 164 kvm_mmio_write_buf(data_buf, len, data); in io_mem_abort() 167 data_buf); in io_mem_abort() 173 data_buf); in io_mem_abort() 185 memcpy(run->mmio.data, data_buf, len); in io_mem_abort() 192 memcpy(run->mmio.data, data_buf, len); in io_mem_abort()
|
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/prog_tests/ |
H A D | lwt_reroute.c | 80 char data_buf[8]; /* only #pkts matter, so use a random small buffer */ in overflow_fq() local 83 .iov_base = data_buf, in overflow_fq() 84 .iov_len = sizeof(data_buf), in overflow_fq() 102 memset(data_buf, 0, sizeof(data_buf)); in overflow_fq()
|
/kernel/linux/linux-5.10/drivers/mtd/nand/raw/ |
H A D | qcom_nandc.c | 1522 static bool erased_chunk_check_and_fixup(u8 *data_buf, int data_len) in erased_chunk_check_and_fixup() argument 1532 empty1 = data_buf[3]; in erased_chunk_check_and_fixup() 1533 empty2 = data_buf[175]; in erased_chunk_check_and_fixup() 1541 data_buf[3] = 0xff; in erased_chunk_check_and_fixup() 1542 data_buf[175] = 0xff; in erased_chunk_check_and_fixup() 1549 if (memchr_inv(data_buf, 0xff, data_len)) { in erased_chunk_check_and_fixup() 1550 data_buf[3] = empty1; in erased_chunk_check_and_fixup() 1551 data_buf[175] = empty2; in erased_chunk_check_and_fixup() 1587 u8 *data_buf, u8 *oob_buf, int page, int cw) in qcom_nandc_read_cw_raw() 1631 read_data_dma(nandc, reg_off, data_buf, data_size in qcom_nandc_read_cw_raw() 1586 qcom_nandc_read_cw_raw(struct mtd_info *mtd, struct nand_chip *chip, u8 *data_buf, u8 *oob_buf, int page, int cw) qcom_nandc_read_cw_raw() argument 1668 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) check_for_erased_page() argument 1727 parse_read_errors(struct qcom_nand_host *host, u8 *data_buf, u8 *oob_buf, int page) parse_read_errors() argument 1831 read_page_ecc(struct qcom_nand_host *host, u8 *data_buf, u8 *oob_buf, int page) read_page_ecc() argument 1949 u8 *data_buf, *oob_buf = NULL; qcom_nandc_read_page() local 1968 u8 *data_buf = buf, *oob_buf = chip->oob_poi; qcom_nandc_read_page_raw() local 2007 u8 *data_buf, *oob_buf; qcom_nandc_write_page() local 2079 u8 *data_buf, *oob_buf; qcom_nandc_write_page_raw() local [all...] |
/kernel/linux/linux-6.6/drivers/mtd/nand/raw/ |
H A D | qcom_nandc.c | 1399 static bool erased_chunk_check_and_fixup(u8 *data_buf, int data_len) in erased_chunk_check_and_fixup() argument 1409 empty1 = data_buf[3]; in erased_chunk_check_and_fixup() 1410 empty2 = data_buf[175]; 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() 1426 if (memchr_inv(data_buf, 0xff, data_len)) { in erased_chunk_check_and_fixup() 1427 data_buf[3] = empty1; in erased_chunk_check_and_fixup() 1428 data_buf[175] = empty2; in erased_chunk_check_and_fixup() 1464 u8 *data_buf, u8 *oob_buf, int page, int cw) in qcom_nandc_read_cw_raw() 1515 read_data_dma(nandc, reg_off, data_buf, data_size in qcom_nandc_read_cw_raw() 1463 qcom_nandc_read_cw_raw(struct mtd_info *mtd, struct nand_chip *chip, u8 *data_buf, u8 *oob_buf, int page, int cw) qcom_nandc_read_cw_raw() 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) check_for_erased_page() argument 1610 parse_read_errors(struct qcom_nand_host *host, u8 *data_buf, u8 *oob_buf, int page) parse_read_errors() argument 1713 read_page_ecc(struct qcom_nand_host *host, u8 *data_buf, u8 *oob_buf, int page) read_page_ecc() argument 1891 u8 *data_buf, *oob_buf = NULL; qcom_nandc_read_page() local 1920 u8 *data_buf = buf, *oob_buf = chip->oob_poi; qcom_nandc_read_page_raw() local 1965 u8 *data_buf, *oob_buf; qcom_nandc_write_page() local 2039 u8 *data_buf, *oob_buf; qcom_nandc_write_page_raw() local [all...] |
/kernel/linux/linux-5.10/drivers/media/i2c/smiapp/ |
H A D | smiapp-regs.c | 74 unsigned char data_buf[sizeof(u32)] = { 0 }; in ____smiapp_read() local 78 if (len > sizeof(data_buf)) in ____smiapp_read() 96 msg.buf = &data_buf[sizeof(data_buf) - len]; in ____smiapp_read() 105 *val = get_unaligned_be32(data_buf); in ____smiapp_read()
|
/kernel/linux/linux-5.10/drivers/mmc/core/ |
H A D | mmc_ops.c | 650 u8 *data_buf; in mmc_send_tuning() local 661 data_buf = kzalloc(size, GFP_KERNEL); in mmc_send_tuning() 662 if (!data_buf) in mmc_send_tuning() 684 sg_init_one(&sg, data_buf, size); in mmc_send_tuning() 701 if (memcmp(data_buf, tuning_block_pattern, size)) in mmc_send_tuning() 705 kfree(data_buf); in mmc_send_tuning() 743 u8 *data_buf; in mmc_send_bus_test() local 752 data_buf = kmalloc(len, GFP_KERNEL); in mmc_send_bus_test() 753 if (!data_buf) in mmc_send_bus_test() 763 kfree(data_buf); in mmc_send_bus_test() [all...] |
/kernel/linux/linux-6.6/drivers/mmc/core/ |
H A D | mmc_ops.c | 677 u8 *data_buf; in mmc_send_tuning() local 688 data_buf = kzalloc(size, GFP_KERNEL); in mmc_send_tuning() 689 if (!data_buf) in mmc_send_tuning() 711 sg_init_one(&sg, data_buf, size); in mmc_send_tuning() 728 if (memcmp(data_buf, tuning_block_pattern, 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() [all...] |
/kernel/linux/linux-6.6/sound/soc/sof/amd/ |
H A D | acp-loader.c | 76 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() 200 dma_free_coherent(&pci->dev, ACP_DEFAULT_DRAM_LENGTH, adata->data_buf, adata->dma_addr); in acp_dsp_pre_fw_run() 202 adata->data_buf = NULL; in acp_dsp_pre_fw_run()
|
/kernel/linux/linux-6.6/block/ |
H A D | t10-pi.c | 40 pi->guard_tag = fn(iter->data_buf, iter->interval); in t10_pi_generate() 48 iter->data_buf += iter->interval; in t10_pi_generate() 86 csum = fn(iter->data_buf, iter->interval); in t10_pi_verify() 97 iter->data_buf += iter->interval; in t10_pi_verify() 296 pi->guard_tag = ext_pi_crc64(iter->data_buf, iter->interval); in ext_pi_crc64_generate() 304 iter->data_buf += iter->interval; in ext_pi_crc64_generate() 346 csum = ext_pi_crc64(iter->data_buf, iter->interval); in ext_pi_crc64_verify() 356 iter->data_buf += iter->interval; in ext_pi_crc64_verify()
|
/kernel/linux/linux-6.6/drivers/scsi/pm8001/ |
H A D | pm80xx_hwi.c | 100 pm8001_ha->forensic_info.data_buf.direct_data = buf; in pm80xx_get_fatal_dump() 102 pm8001_ha->forensic_info.data_buf.direct_data += in pm80xx_get_fatal_dump() 103 sprintf(pm8001_ha->forensic_info.data_buf.direct_data, in pm80xx_get_fatal_dump() 105 return (char *)pm8001_ha->forensic_info.data_buf.direct_data - in pm80xx_get_fatal_dump() 109 if (pm8001_ha->forensic_info.data_buf.direct_offset == 0) { in pm80xx_get_fatal_dump() 114 pm8001_ha->forensic_info.data_buf.direct_len = SYSFS_OFFSET; in pm80xx_get_fatal_dump() 115 pm8001_ha->forensic_info.data_buf.direct_offset = 0; in pm80xx_get_fatal_dump() 116 pm8001_ha->forensic_info.data_buf.read_len = 0; in pm80xx_get_fatal_dump() 123 pm8001_ha->forensic_info.data_buf.direct_data = direct_data; in pm80xx_get_fatal_dump() 126 pm8001_ha->forensic_info.data_buf in pm80xx_get_fatal_dump() [all...] |
/kernel/linux/linux-5.10/drivers/scsi/pm8001/ |
H A D | pm80xx_hwi.c | 99 pm8001_ha->forensic_info.data_buf.direct_data = buf; in pm80xx_get_fatal_dump() 101 pm8001_ha->forensic_info.data_buf.direct_data += in pm80xx_get_fatal_dump() 102 sprintf(pm8001_ha->forensic_info.data_buf.direct_data, in pm80xx_get_fatal_dump() 104 return (char *)pm8001_ha->forensic_info.data_buf.direct_data - in pm80xx_get_fatal_dump() 108 if (pm8001_ha->forensic_info.data_buf.direct_offset == 0) { in pm80xx_get_fatal_dump() 113 pm8001_ha->forensic_info.data_buf.direct_len = SYSFS_OFFSET; in pm80xx_get_fatal_dump() 114 pm8001_ha->forensic_info.data_buf.direct_offset = 0; in pm80xx_get_fatal_dump() 115 pm8001_ha->forensic_info.data_buf.read_len = 0; in pm80xx_get_fatal_dump() 122 pm8001_ha->forensic_info.data_buf.direct_data = direct_data; in pm80xx_get_fatal_dump() 125 pm8001_ha->forensic_info.data_buf in pm80xx_get_fatal_dump() [all...] |
/kernel/linux/linux-5.10/block/ |
H A D | t10-pi.c | 38 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()
|
/kernel/linux/linux-6.6/drivers/media/i2c/ccs/ |
H A D | ccs-reg-access.c | 74 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()
|
/kernel/linux/linux-5.10/arch/powerpc/platforms/pseries/ |
H A D | dlpar.c | 141 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()
|
/kernel/linux/linux-5.10/drivers/iio/chemical/ |
H A D | sgp30.c | 209 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()
|