Home
last modified time | relevance | path

Searched refs:data_sz (Results 1 – 25 of 36) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/spi/
Dspi-xtensa-xtfpga.c28 unsigned data_sz; member
59 xspi->data_sz += bits; in xtfpga_spi_txrx_word()
60 if (xspi->data_sz >= 16) { in xtfpga_spi_txrx_word()
62 xspi->data >> (xspi->data_sz - 16)); in xtfpga_spi_txrx_word()
63 xspi->data_sz -= 16; in xtfpga_spi_txrx_word()
76 WARN_ON(xspi->data_sz != 0); in xtfpga_spi_chipselect()
77 xspi->data_sz = 0; in xtfpga_spi_chipselect()
/kernel/linux/linux-5.10/tools/lib/bpf/
Dbpf_prog_linfo.c104 __u64 data_sz; in bpf_prog_linfo__new() local
126 data_sz = (__u64)nr_linfo * prog_linfo->rec_size; in bpf_prog_linfo__new()
127 prog_linfo->raw_linfo = malloc(data_sz); in bpf_prog_linfo__new()
130 memcpy(prog_linfo->raw_linfo, (void *)(long)info->line_info, data_sz); in bpf_prog_linfo__new()
146 data_sz = (__u64)nr_linfo * prog_linfo->jited_rec_size; in bpf_prog_linfo__new()
147 prog_linfo->raw_jited_linfo = malloc(data_sz); in bpf_prog_linfo__new()
151 (void *)(long)info->jited_line_info, data_sz); in bpf_prog_linfo__new()
Dbtf.c1162 __u32 data_sz; in btf_get_raw_data() local
1171 data_sz = hdr->hdr_len + hdr->type_len + hdr->str_len; in btf_get_raw_data()
1172 data = calloc(1, data_sz); in btf_get_raw_data()
1200 *size = data_sz; in btf_get_raw_data()
1210 __u32 data_sz; in btf__get_raw_data() local
1213 data = btf_get_raw_data(btf, &data_sz, btf->swapped_endian); in btf__get_raw_data()
1217 btf->raw_size = data_sz; in btf__get_raw_data()
1222 *size = data_sz; in btf__get_raw_data()
/kernel/linux/linux-5.10/drivers/message/fusion/
Dmptfc.c290 int data_sz; in mptfc_GetFcDevPage0() local
304 data_sz = sizeof(FCDevicePage0_t) * max_bus * max_targ; in mptfc_GetFcDevPage0()
305 p_p0 = p0_array = kzalloc(data_sz, GFP_KERNEL); in mptfc_GetFcDevPage0()
309 data_sz = sizeof(FCDevicePage0_t *) * max_bus * max_targ; in mptfc_GetFcDevPage0()
310 p_pp0 = pp0_array = kzalloc(data_sz, GFP_KERNEL); in mptfc_GetFcDevPage0()
333 data_sz = hdr.PageLength * 4; in mptfc_GetFcDevPage0()
334 ppage0_alloc = pci_alloc_consistent(ioc->pcidev, data_sz, in mptfc_GetFcDevPage0()
370 pci_free_consistent(ioc->pcidev, data_sz, in mptfc_GetFcDevPage0()
738 int data_sz; in mptfc_GetFcPortPage0() local
764 data_sz = hdr.PageLength * 4; in mptfc_GetFcPortPage0()
[all …]
Dmptctl.c2564 int data_sz; in mptctl_hp_targetinfo() local
2595 data_sz = ioc->spi_data.sdp0length * 4; in mptctl_hp_targetinfo()
2596 pg0_alloc = pci_alloc_consistent(ioc->pcidev, data_sz, &page_dma); in mptctl_hp_targetinfo()
2599 hdr.PageLength = data_sz; in mptctl_hp_targetinfo()
2634 pci_free_consistent(ioc->pcidev, data_sz, (u8 *) pg0_alloc, page_dma); in mptctl_hp_targetinfo()
2659 data_sz = (int) cfg.cfghdr.hdr->PageLength * 4; in mptctl_hp_targetinfo()
2660 pg3_alloc = pci_alloc_consistent(ioc->pcidev, data_sz, &page_dma); in mptctl_hp_targetinfo()
2669 pci_free_consistent(ioc->pcidev, data_sz, (u8 *) pg3_alloc, page_dma); in mptctl_hp_targetinfo()
Dmptbase.c4958 int data_sz; in GetLanConfigPages() local
4977 data_sz = hdr.PageLength * 4; in GetLanConfigPages()
4978 ppage0_alloc = (LANPage0_t *) pci_alloc_consistent(ioc->pcidev, data_sz, &page0_dma); in GetLanConfigPages()
4981 memset((u8 *)ppage0_alloc, 0, data_sz); in GetLanConfigPages()
4987 copy_sz = min_t(int, sizeof(LANPage0_t), data_sz); in GetLanConfigPages()
4992 pci_free_consistent(ioc->pcidev, data_sz, (u8 *) ppage0_alloc, page0_dma); in GetLanConfigPages()
5022 data_sz = hdr.PageLength * 4; in GetLanConfigPages()
5024 ppage1_alloc = (LANPage1_t *) pci_alloc_consistent(ioc->pcidev, data_sz, &page1_dma); in GetLanConfigPages()
5026 memset((u8 *)ppage1_alloc, 0, data_sz); in GetLanConfigPages()
5032 copy_sz = min_t(int, sizeof(LANPage1_t), data_sz); in GetLanConfigPages()
[all …]
/kernel/linux/linux-5.10/drivers/platform/chrome/
Dcros_ec_vbc.c67 const size_t data_sz = sizeof(params->block); in vboot_context_write() local
70 if (count != data_sz) in vboot_context_write()
79 memcpy(params->block, buf, data_sz); in vboot_context_write()
94 return data_sz; in vboot_context_write()
/kernel/linux/linux-5.10/kernel/bpf/
Dringbuf.c62 static struct bpf_ringbuf *bpf_ringbuf_area_alloc(size_t data_sz, int numa_node) in bpf_ringbuf_area_alloc() argument
67 int nr_data_pages = data_sz >> PAGE_SHIFT; in bpf_ringbuf_area_alloc()
133 static struct bpf_ringbuf *bpf_ringbuf_alloc(size_t data_sz, int numa_node) in bpf_ringbuf_alloc() argument
137 rb = bpf_ringbuf_area_alloc(data_sz, numa_node); in bpf_ringbuf_alloc()
145 rb->mask = data_sz - 1; in bpf_ringbuf_alloc()
/kernel/linux/linux-5.10/drivers/media/platform/davinci/
Ddm644x_ccdc.c57 .data_sz = CCDC_DATA_10BITS,
400 ((config_params->data_sz & CCDC_DATA_SZ_MASK) << in ccdc_config_raw()
423 if ((config_params->data_sz == CCDC_DATA_8BITS) || in ccdc_config_raw()
430 if (config_params->data_sz == CCDC_DATA_8BITS) in ccdc_config_raw()
434 val |= (config_params->data_sz & CCDC_FMTCFG_VPIN_MASK) in ccdc_config_raw()
473 if ((config_params->data_sz == CCDC_DATA_8BITS) || in ccdc_config_raw()
633 (config_params->data_sz == CCDC_DATA_8BITS)) in ccdc_get_line_length()
Ddm355_ccdc.c551 if ((config_params->data_sz == CCDC_DATA_8BITS) || in ccdc_config_raw()
625 if ((config_params->data_sz == CCDC_DATA_8BITS) || in ccdc_config_raw()
779 (config_params->data_sz == CCDC_DATA_8BITS)) in ccdc_get_line_length()
Dvpif.c360 value |= ((vpifparams->params.data_sz) << in config_vpif_params()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/steering/
Ddr_action.c828 void *data, size_t data_sz) in dr_actions_l2_rewrite() argument
839 vlan = (data_sz != HDR_LEN_L2_ONLY); in dr_actions_l2_rewrite()
1152 size_t data_sz, in dr_action_verify_reformat_params() argument
1155 if ((!data && data_sz) || (data && !data_sz) || reformat_type > in dr_action_verify_reformat_params()
1188 size_t data_sz, void *data, in dr_action_create_reformat_action() argument
1205 ret = mlx5dr_cmd_create_reformat_ctx(dmn->mdev, rt, data_sz, data, in dr_action_create_reformat_action()
1211 action->reformat.reformat_size = data_sz; in dr_action_create_reformat_action()
1221 if (data_sz != HDR_LEN_L2_ONLY && data_sz != HDR_LEN_L2_VLAN) in dr_action_create_reformat_action()
1233 ret = dr_actions_l2_rewrite(dmn, action, data, data_sz); in dr_action_create_reformat_action()
1274 size_t data_sz, in mlx5dr_action_create_packet_reformat() argument
[all …]
Dmlx5dr.h108 size_t data_sz,
/kernel/linux/linux-5.10/include/uapi/linux/
Dam437x-vpfe.h107 enum vpfe_ccdc_data_size data_sz; member
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
Dam437x-vpfe.h74 enum vpfe_ccdc_data_size data_sz; member
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/
Dam437x-vpfe.h73 enum vpfe_ccdc_data_size data_sz; member
/kernel/linux/linux-5.10/drivers/media/platform/mtk-vcodec/vdec/
Dvdec_h264_if.c323 static int find_start_code(unsigned char *data, unsigned int data_sz) in find_start_code() argument
325 if (data_sz > 3 && data[0] == 0 && data[1] == 0 && data[2] == 1) in find_start_code()
328 if (data_sz > 4 && data[0] == 0 && data[1] == 0 && data[2] == 0 && in find_start_code()
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath11k/
Ddbring.h21 u32 data_sz; member
Ddbring.c317 handler_data.data_sz = ring->buf_sz; in ath11k_dbring_buffer_release_event()
/kernel/linux/linux-5.10/include/media/davinci/
Ddm644x_ccdc.h102 enum ccdc_data_size data_sz; member
Ddm355_ccdc.h213 enum ccdc_data_size data_sz; member
/kernel/linux/linux-5.10/kernel/bpf/preload/iterators/
Diterators.skel.h143 s->data_sz = 7176; in iterators_bpf__create_skeleton()
/kernel/linux/linux-5.10/tools/bpf/runqslower/
Drunqslower.c101 void handle_event(void *ctx, int cpu, void *data, __u32 data_sz) in handle_event() argument
/kernel/linux/linux-5.10/net/tipc/
Dmsg.c100 uint hdr_sz, uint data_sz, u32 dnode, in tipc_msg_create() argument
106 buf = tipc_buf_acquire(hdr_sz + data_sz, GFP_ATOMIC); in tipc_msg_create()
112 msg_set_size(msg, hdr_sz + data_sz); in tipc_msg_create()
/kernel/linux/linux-5.10/drivers/media/platform/am437x/
Dam437x-vpfe.c286 max_data = ccdc_data_size_max_bit(ccdcparam->data_sz); in vpfe_ccdc_validate_param()
289 ccdcparam->data_sz > VPFE_CCDC_DATA_8BITS || in vpfe_ccdc_validate_param()
534 ((config_params->data_sz & VPFE_DATA_SZ_MASK) << in vpfe_ccdc_config_raw()
558 if ((config_params->data_sz == VPFE_CCDC_DATA_8BITS) || in vpfe_ccdc_config_raw()
763 ccdc->ccdc_cfg.bayer.config_params.data_sz = in vpfe_ccdc_set_hw_if_params()
766 ccdc->ccdc_cfg.bayer.config_params.data_sz = in vpfe_ccdc_set_hw_if_params()
771 ccdc->ccdc_cfg.bayer.config_params.data_sz); in vpfe_ccdc_set_hw_if_params()
853 ccdc->ccdc_cfg.bayer.config_params.data_sz = VPFE_CCDC_DATA_8BITS; in vpfe_ccdc_config_defaults()

12