Home
last modified time | relevance | path

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

12

/linux/drivers/spi/
A 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()
/linux/tools/lib/bpf/
A 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()
A Dskel_internal.h45 __u32 data_sz; member
69 opts->data_sz, 1, 0); in bpf_load_and_run()
A Dbtf.c1193 __u32 data_sz; in btf_get_raw_data() local
1203 data = calloc(1, data_sz); in btf_get_raw_data()
1231 *size = data_sz; in btf_get_raw_data()
1241 __u32 data_sz; in btf__raw_data() local
1248 btf->raw_size = data_sz; in btf__raw_data()
1253 *size = data_sz; in btf__raw_data()
1578 btf->hdr->type_len += data_sz; in btf_commit_type()
1579 btf->hdr->str_off += data_sz; in btf_commit_type()
1667 data_sz = src_btf->hdr->type_len; in btf__add_btf()
1717 btf->hdr->type_len += data_sz; in btf__add_btf()
[all …]
/linux/drivers/message/fusion/
A Dmptfc.c290 int data_sz; in mptfc_GetFcDevPage0() local
333 data_sz = hdr.PageLength * 4; in mptfc_GetFcDevPage0()
370 dma_free_coherent(&ioc->pcidev->dev, data_sz, in mptfc_GetFcDevPage0()
738 int data_sz; in mptfc_GetFcPortPage0() local
764 data_sz = hdr.PageLength * 4; in mptfc_GetFcPortPage0()
771 memset((u8 *)ppage0_alloc, 0, data_sz); in mptfc_GetFcPortPage0()
878 int data_sz; in mptfc_GetFcPortPage1() local
905 data_sz = hdr.PageLength * 4; in mptfc_GetFcPortPage1()
906 if (data_sz < sizeof(FCPortPage1_t)) in mptfc_GetFcPortPage1()
907 data_sz = sizeof(FCPortPage1_t); in mptfc_GetFcPortPage1()
[all …]
A Dmptctl.c2556 int data_sz; in mptctl_hp_targetinfo() local
2587 data_sz = ioc->spi_data.sdp0length * 4; in mptctl_hp_targetinfo()
2588 pg0_alloc = pci_alloc_consistent(ioc->pcidev, data_sz, &page_dma); in mptctl_hp_targetinfo()
2591 hdr.PageLength = data_sz; in mptctl_hp_targetinfo()
2626 pci_free_consistent(ioc->pcidev, data_sz, (u8 *) pg0_alloc, page_dma); in mptctl_hp_targetinfo()
2651 data_sz = (int) cfg.cfghdr.hdr->PageLength * 4; in mptctl_hp_targetinfo()
2652 pg3_alloc = pci_alloc_consistent(ioc->pcidev, data_sz, &page_dma); in mptctl_hp_targetinfo()
2661 pci_free_consistent(ioc->pcidev, data_sz, (u8 *) pg3_alloc, page_dma); in mptctl_hp_targetinfo()
/linux/drivers/platform/chrome/
A 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()
/linux/kernel/bpf/
A Dringbuf.c61 static struct bpf_ringbuf *bpf_ringbuf_area_alloc(size_t data_sz, int numa_node) in bpf_ringbuf_area_alloc() argument
66 int nr_data_pages = data_sz >> PAGE_SHIFT; in bpf_ringbuf_area_alloc()
129 static struct bpf_ringbuf *bpf_ringbuf_alloc(size_t data_sz, int numa_node) in bpf_ringbuf_alloc() argument
133 rb = bpf_ringbuf_area_alloc(data_sz, numa_node); in bpf_ringbuf_alloc()
141 rb->mask = data_sz - 1; in bpf_ringbuf_alloc()
/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/
A Ddr_action.c1027 size_t data_sz, in dr_action_verify_reformat_params() argument
1031 if ((!data && data_sz) || (data && !data_sz) || in dr_action_verify_reformat_params()
1078 size_t data_sz, void *data, in dr_action_create_reformat_action() argument
1096 data_sz, data, in dr_action_create_reformat_action()
1102 action->reformat->size = data_sz; in dr_action_create_reformat_action()
1115 data, data_sz, in dr_action_create_reformat_action()
1149 data_sz, data, in dr_action_create_reformat_action()
1155 action->reformat->size = data_sz; in dr_action_create_reformat_action()
1204 size_t data_sz, in mlx5dr_action_create_packet_reformat() argument
1222 data_sz, data); in mlx5dr_action_create_packet_reformat()
[all …]
A Dmlx5dr.h116 size_t data_sz,
A Ddr_ste.h189 u32 data_sz,
A Ddr_ste.c592 void *data, u32 data_sz, in mlx5dr_ste_set_action_decap_l3_list() argument
597 if (data_sz != HDR_LEN_L2 && data_sz != HDR_LEN_L2_W_VLAN) in mlx5dr_ste_set_action_decap_l3_list()
600 return ste_ctx->set_action_decap_l3_list(data, data_sz, in mlx5dr_ste_set_action_decap_l3_list()
/linux/drivers/media/platform/davinci/
A 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()
A 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()
/linux/tools/bpf/bpftool/
A Dgen.c335 static void print_hex(const char *data, int data_sz) in print_hex() argument
339 for (i = 0, len = 0; i < data_sz; i++) { in print_hex()
535 obj_name, opts.data_sz); in gen_trace()
580 obj_name, opts.data_sz); in gen_trace()
581 print_hex(opts.data, opts.data_sz); in gen_trace()
/linux/drivers/media/platform/mtk-vcodec/vdec/
A 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()
/linux/include/linux/iio/
A Dbuffer.h49 const void *data, size_t data_sz,
/linux/include/uapi/linux/
A Dam437x-vpfe.h107 enum vpfe_ccdc_data_size data_sz; member
/linux/drivers/net/wireless/ath/ath11k/
A Ddbring.h21 u32 data_sz; member
/linux/include/media/davinci/
A Ddm644x_ccdc.h102 enum ccdc_data_size data_sz; member
A Ddm355_ccdc.h213 enum ccdc_data_size data_sz; member
/linux/kernel/bpf/preload/iterators/
A Diterators.skel.h143 s->data_sz = 7176; in iterators_bpf__create_skeleton()
/linux/tools/bpf/runqslower/
A Drunqslower.c101 void handle_event(void *ctx, int cpu, void *data, __u32 data_sz) in handle_event() argument
/linux/net/tipc/
A Dmsg.c98 uint hdr_sz, uint data_sz, u32 dnode, in tipc_msg_create() argument
104 buf = tipc_buf_acquire(hdr_sz + data_sz, GFP_ATOMIC); in tipc_msg_create()
110 msg_set_size(msg, hdr_sz + data_sz); in tipc_msg_create()
/linux/drivers/media/platform/am437x/
A 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()

Completed in 93 milliseconds

12