Home
last modified time | relevance | path

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

12

/linux-6.3-rc2/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-6.3-rc2/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.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()
A Dbtf.c1262 __u32 data_sz; in btf_get_raw_data() local
1272 data = calloc(1, data_sz); in btf_get_raw_data()
1300 *size = data_sz; in btf_get_raw_data()
1310 __u32 data_sz; in btf__raw_data() local
1317 btf->raw_size = data_sz; in btf__raw_data()
1322 *size = data_sz; in btf__raw_data()
1561 btf->hdr->type_len += data_sz; in btf_commit_type()
1562 btf->hdr->str_off += data_sz; in btf_commit_type()
1670 data_sz = src_btf->hdr->type_len; in btf__add_btf()
1725 btf->hdr->type_len += data_sz; in btf__add_btf()
[all …]
/linux-6.3-rc2/drivers/media/test-drivers/visl/
A Dvisl-debugfs.c44 size_t data_sz = vb2_get_plane_payload(&run->src->vb2_buf, 0); in visl_trace_bitstream() local
52 blob->blob.data = vzalloc(data_sz); in visl_trace_bitstream()
56 blob->blob.size = data_sz; in visl_trace_bitstream()
59 memcpy(blob->blob.data, vaddr, data_sz); in visl_trace_bitstream()
/linux-6.3-rc2/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 …]
/linux-6.3-rc2/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-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/steering/
A Ddr_action.c1322 size_t data_sz, in dr_action_verify_reformat_params() argument
1326 if ((!data && data_sz) || (data && !data_sz) || in dr_action_verify_reformat_params()
1373 size_t data_sz, void *data, in dr_action_create_reformat_action() argument
1391 data_sz, data, in dr_action_create_reformat_action()
1397 action->reformat->size = data_sz; in dr_action_create_reformat_action()
1410 data, data_sz, in dr_action_create_reformat_action()
1445 data_sz, data, in dr_action_create_reformat_action()
1451 action->reformat->size = data_sz; in dr_action_create_reformat_action()
1500 size_t data_sz, in mlx5dr_action_create_packet_reformat() argument
1518 data_sz, data); in mlx5dr_action_create_packet_reformat()
[all …]
A Ddr_ste_v1.h32 int dr_ste_v1_set_action_decap_l3_list(void *data, u32 data_sz, u8 *hw_action,
A Dmlx5dr.h121 size_t data_sz,
/linux-6.3-rc2/drivers/media/platform/mediatek/vcodec/vdec/
A 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()
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()
A Dvdec_h264_req_common.h265 int mtk_vdec_h264_find_start_code(unsigned char *data, unsigned int data_sz);
/linux-6.3-rc2/kernel/bpf/
A 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.3-rc2/include/linux/iio/
A Dbuffer.h49 const void *data, size_t data_sz,
/linux-6.3-rc2/tools/bpf/bpftool/
A Dgen.c437 static void print_hex(const char *data, int data_sz) in print_hex() argument
441 for (i = 0, len = 0; i < data_sz; i++) { in print_hex()
701 obj_name, opts.data_sz); in gen_trace()
741 obj_name, opts.data_sz); in gen_trace()
742 print_hex(opts.data, opts.data_sz); in gen_trace()
1638 __u32 data_sz; in btf_save_raw() local
1641 data = btf__raw_data(btf, &data_sz); in btf_save_raw()
1649 if (fwrite(data, 1, data_sz, f) != data_sz) in btf_save_raw()
/linux-6.3-rc2/include/uapi/linux/
A Dam437x-vpfe.h107 enum vpfe_ccdc_data_size data_sz; member
/linux-6.3-rc2/drivers/net/wireless/ath/ath12k/
A Ddbring.h22 u32 data_sz; member
/linux-6.3-rc2/drivers/net/wireless/ath/ath11k/
A Ddbring.h21 u32 data_sz; member
/linux-6.3-rc2/drivers/hid/bpf/entrypoints/
A Dentrypoints.lskel.h78 opts.data_sz = 2856; in entrypoints_bpf__load()
/linux-6.3-rc2/kernel/bpf/preload/iterators/
A Diterators.lskel-big-endian.h94 opts.data_sz = 6008; in iterators_bpf__load()
A Diterators.lskel-little-endian.h106 opts.data_sz = 6056; in iterators_bpf__load()
/linux-6.3-rc2/tools/bpf/runqslower/
A Drunqslower.c90 void handle_event(void *ctx, int cpu, void *data, __u32 data_sz) in handle_event() argument
/linux-6.3-rc2/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-6.3-rc2/drivers/media/platform/ti/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 63 milliseconds

12