Home
last modified time | relevance | path

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

12

/linux-6.1.9/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()
/linux-6.1.9/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()
Dskel_internal.h64 __u32 data_sz; member
316 err = map_fd = skel_map_create(BPF_MAP_TYPE_ARRAY, "__loader.map", 4, opts->data_sz, 1); in bpf_load_and_run()
Dbtf.c1248 __u32 data_sz; in btf_get_raw_data() local
1257 data_sz = hdr->hdr_len + hdr->type_len + hdr->str_len; in btf_get_raw_data()
1258 data = calloc(1, data_sz); in btf_get_raw_data()
1286 *size = data_sz; in btf_get_raw_data()
1296 __u32 data_sz; in btf__raw_data() local
1299 data = btf_get_raw_data(btf, &data_sz, btf->swapped_endian); in btf__raw_data()
1303 btf->raw_size = data_sz; in btf__raw_data()
1308 *size = data_sz; in btf__raw_data()
1539 static int btf_commit_type(struct btf *btf, int data_sz) in btf_commit_type() argument
1547 btf->hdr->type_len += data_sz; in btf_commit_type()
[all …]
/linux-6.1.9/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 = dma_alloc_coherent(&ioc->pcidev->dev, data_sz, 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()
[all …]
/linux-6.1.9/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()
/linux-6.1.9/drivers/staging/media/deprecated/vpfe_capture/
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()
Ddm644x_ccdc.h102 enum ccdc_data_size data_sz; member
Ddm355_ccdc.h213 enum ccdc_data_size data_sz; member
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-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/steering/
Ddr_action.c1119 size_t data_sz, in dr_action_verify_reformat_params() argument
1123 if ((!data && data_sz) || (data && !data_sz) || in dr_action_verify_reformat_params()
1124 MLX5_CAP_GEN_2(dmn->mdev, max_reformat_insert_size) < data_sz || in dr_action_verify_reformat_params()
1131 MLX5_CAP_GEN_2(dmn->mdev, max_reformat_remove_size) < data_sz || in dr_action_verify_reformat_params()
1170 size_t data_sz, void *data, in dr_action_create_reformat_action() argument
1188 data_sz, data, in dr_action_create_reformat_action()
1194 action->reformat->size = data_sz; in dr_action_create_reformat_action()
1207 data, data_sz, in dr_action_create_reformat_action()
1242 data_sz, data, in dr_action_create_reformat_action()
1248 action->reformat->size = data_sz; in dr_action_create_reformat_action()
[all …]
Dmlx5dr.h121 size_t data_sz,
Ddr_ste_v1.h31 int dr_ste_v1_set_action_decap_l3_list(void *data, u32 data_sz, u8 *hw_action,
/linux-6.1.9/drivers/media/platform/mediatek/vcodec/vdec/
Dvdec_h264_req_common.c312 int mtk_vdec_h264_find_start_code(unsigned char *data, unsigned int data_sz) in mtk_vdec_h264_find_start_code() argument
314 if (data_sz > 3 && data[0] == 0 && data[1] == 0 && data[2] == 1) in mtk_vdec_h264_find_start_code()
317 if (data_sz > 4 && data[0] == 0 && data[1] == 0 && data[2] == 0 && in mtk_vdec_h264_find_start_code()
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()
Dvdec_h264_req_common.h265 int mtk_vdec_h264_find_start_code(unsigned char *data, unsigned int data_sz);
/linux-6.1.9/kernel/bpf/
Dringbuf.c95 static struct bpf_ringbuf *bpf_ringbuf_area_alloc(size_t data_sz, int numa_node) in bpf_ringbuf_area_alloc() argument
100 int nr_data_pages = data_sz >> PAGE_SHIFT; in bpf_ringbuf_area_alloc()
163 static struct bpf_ringbuf *bpf_ringbuf_alloc(size_t data_sz, int numa_node) in bpf_ringbuf_alloc() argument
167 rb = bpf_ringbuf_area_alloc(data_sz, numa_node); in bpf_ringbuf_alloc()
176 rb->mask = data_sz - 1; in bpf_ringbuf_alloc()
/linux-6.1.9/include/linux/iio/
Dbuffer.h49 const void *data, size_t data_sz,
/linux-6.1.9/include/uapi/linux/
Dam437x-vpfe.h107 enum vpfe_ccdc_data_size data_sz; member
/linux-6.1.9/tools/bpf/bpftool/
Dgen.c438 static void print_hex(const char *data, int data_sz) in print_hex() argument
442 for (i = 0, len = 0; i < data_sz; i++) { in print_hex()
702 obj_name, opts.data_sz); in gen_trace()
742 obj_name, opts.data_sz); in gen_trace()
743 print_hex(opts.data, opts.data_sz); in gen_trace()
1640 __u32 data_sz; in btf_save_raw() local
1643 data = btf__raw_data(btf, &data_sz); in btf_save_raw()
1651 if (fwrite(data, 1, data_sz, f) != data_sz) in btf_save_raw()
/linux-6.1.9/drivers/net/wireless/ath/ath11k/
Ddbring.h21 u32 data_sz; member
/linux-6.1.9/kernel/bpf/preload/iterators/
Diterators.lskel.h106 opts.data_sz = 6056; in iterators_bpf__load()
/linux-6.1.9/tools/bpf/runqslower/
Drunqslower.c90 void handle_event(void *ctx, int cpu, void *data, __u32 data_sz) in handle_event() argument
/linux-6.1.9/net/tipc/
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-6.1.9/drivers/media/platform/ti/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