Home
last modified time | relevance | path

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

12

/Linux-v5.10/sound/soc/sof/
Dprobe.h38 unsigned int num_elems; member
44 unsigned int num_elems; member
53 unsigned int num_elems; member
59 unsigned int num_elems; member
65 unsigned int num_elems; member
Dprobe.c41 msg->num_elems = 1; in sof_ipc_probe_init()
95 if (!reply->num_elems) in sof_ipc_probe_info()
102 bytes *= reply->num_elems; in sof_ipc_probe_info()
108 *num_params = reply->num_elems; in sof_ipc_probe_info()
161 msg->num_elems = num_dma; in sof_ipc_probe_dma_add()
195 msg->num_elems = num_stream_tag; in sof_ipc_probe_dma_remove()
249 msg->num_elems = num_desc; in sof_ipc_probe_points_add()
281 msg->num_elems = num_buffer_id; in sof_ipc_probe_points_remove()
Dipc.c619 partdata->num_elems = send_bytes; in sof_set_get_large_ctrl_data()
671 cdata->num_elems; in snd_sof_ipc_set_get_comp_data()
718 cdata->num_elems = sparams.elems; in snd_sof_ipc_set_get_comp_data()
/Linux-v5.10/tools/testing/selftests/bpf/prog_tests/
Dsockmap_basic.c202 __u32 i, num_sockets, num_elems; in test_sockmap_copy() local
215 num_elems = bpf_map__max_entries(src); in test_sockmap_copy()
216 num_sockets = num_elems - 1; in test_sockmap_copy()
219 num_elems = bpf_map__max_entries(src) - 1; in test_sockmap_copy()
220 num_sockets = num_elems; in test_sockmap_copy()
260 if (CHECK(skel->bss->elems != num_elems, "elems", "got %u expected %u\n", in test_sockmap_copy()
261 skel->bss->elems, num_elems)) in test_sockmap_copy()
/Linux-v5.10/drivers/staging/media/atomisp/pci/runtime/queue/src/
Dqueue.c310 u32 num_elems = 0; in ia_css_queue_peek() local
322 num_elems = ia_css_circbuf_get_num_elems(&qhandle->desc.cb_local); in ia_css_queue_peek()
323 if (offset > num_elems) in ia_css_queue_peek()
341 num_elems = ia_css_circbuf_desc_get_num_elems(&cb_desc); in ia_css_queue_peek()
342 if (offset > num_elems) in ia_css_queue_peek()
/Linux-v5.10/include/sound/sof/
Dcontrol.h109 uint32_t num_elems; /**< in array elems or bytes for data type */ member
144 uint32_t num_elems; /**< in array elems or bytes for data type */ member
Dpm.h33 uint32_t num_elems; member
/Linux-v5.10/drivers/net/ethernet/intel/ice/
Dice_sched.c247 buf->hdr.num_elems = cpu_to_le16(num_nodes); in ice_sched_remove_elems()
834 buf->hdr.num_elems = cpu_to_le16(num_nodes); in ice_sched_add_elems()
1099 u16 num_elems; in ice_sched_init_port() local
1126 num_elems = le16_to_cpu(buf[0].hdr.num_elems); in ice_sched_init_port()
1129 if (num_elems < 1 || num_elems > ICE_AQC_TOPO_MAX_LEVEL_NUM) { in ice_sched_init_port()
1131 num_elems); in ice_sched_init_port()
1139 if (num_elems > 2 && buf[0].generic[num_elems - 1].data.elem_type == in ice_sched_init_port()
1142 le32_to_cpu(buf[0].generic[num_elems - 2].node_teid); in ice_sched_init_port()
1145 le32_to_cpu(buf[0].generic[num_elems - 1].node_teid); in ice_sched_init_port()
1154 num_elems = le16_to_cpu(buf[i].hdr.num_elems); in ice_sched_init_port()
[all …]
Dice_switch.c100 u16 buf_size, u16 *req_desc, u16 *num_elems, in ice_aq_get_sw_cfg() argument
114 *num_elems = le16_to_cpu(cmd->num_elems); in ice_aq_get_sw_cfg()
448 sw_buf->num_elems = cpu_to_le16(1); in ice_aq_alloc_free_vsi_list()
554 u16 num_elems; in ice_get_initial_sw_cfg() local
572 &req_desc, &num_elems, NULL); in ice_get_initial_sw_cfg()
577 for (i = 0, ele = rbuf; i < num_elems; i++, ele++) { in ice_get_initial_sw_cfg()
2697 buf->num_elems = cpu_to_le16(num_items); in ice_alloc_res_cntr()
2735 buf->num_elems = cpu_to_le16(num_items); in ice_free_res_cntr()
Dice_adminq_cmd.h193 __le16 num_elems; member
276 __le16 num_elems; member
742 __le16 num_elems; member
/Linux-v5.10/drivers/dma/
Dste_dma40_ll.c144 int num_elems; in d40_phy_fill_lli() local
147 num_elems = 1; in d40_phy_fill_lli()
149 num_elems = 2 << psize; in d40_phy_fill_lli()
156 if (data_size < num_elems * data_width) in d40_phy_fill_lli()
/Linux-v5.10/drivers/net/wireless/ath/ath11k/
Ddebugfs_htt_stats.c194 u16 num_elems = min_t(u16, (tag_len >> 2), HTT_TX_PDEV_MAX_URRN_STATS); in htt_print_tx_pdev_stats_urrn_tlv_v() local
198 ARRAY_TO_STRING(urrn_stats, htt_stats_buf->urrn_stats, num_elems); in htt_print_tx_pdev_stats_urrn_tlv_v()
219 u16 num_elems = min_t(u16, (tag_len >> 2), HTT_TX_PDEV_MAX_FLUSH_REASON_STATS); in htt_print_tx_pdev_stats_flush_tlv_v() local
223 ARRAY_TO_STRING(flush_errs, htt_stats_buf->flush_errs, num_elems); in htt_print_tx_pdev_stats_flush_tlv_v()
244 u16 num_elems = min_t(u16, (tag_len >> 2), HTT_TX_PDEV_MAX_SIFS_BURST_STATS); in htt_print_tx_pdev_stats_sifs_tlv_v() local
248 ARRAY_TO_STRING(sifs_status, htt_stats_buf->sifs_status, num_elems); in htt_print_tx_pdev_stats_sifs_tlv_v()
270 u16 num_elems = min_t(u16, (tag_len >> 2), HTT_TX_PDEV_MAX_PHY_ERR_STATS); in htt_print_tx_pdev_stats_phy_err_tlv_v() local
274 ARRAY_TO_STRING(phy_errs, htt_stats_buf->phy_errs, num_elems); in htt_print_tx_pdev_stats_phy_err_tlv_v()
295 u16 num_elems = min_t(u16, (tag_len >> 2), HTT_TX_PDEV_MAX_SIFS_BURST_HIST_STATS); in htt_print_tx_pdev_stats_sifs_hist_tlv_v() local
300 ARRAY_TO_STRING(sifs_hist_status, htt_stats_buf->sifs_hist_status, num_elems); in htt_print_tx_pdev_stats_sifs_hist_tlv_v()
[all …]
Ddbring.c132 param.num_elems = ring->bufs_max; in ath11k_dbring_wmi_cfg_setup()
/Linux-v5.10/sound/hda/
Dhdac_device.c469 unsigned int shift, num_elems, mask; in snd_hdac_get_connections() local
480 num_elems = 2; in snd_hdac_get_connections()
484 num_elems = 4; in snd_hdac_get_connections()
510 if (i % num_elems == 0) { in snd_hdac_get_connections()
/Linux-v5.10/drivers/net/ethernet/qlogic/qed/
Dqed_chain.c332 page_cnt = QED_CHAIN_PAGE_CNT(params->num_elems, in qed_chain_alloc()
344 params->num_elems, params->elem_size, in qed_chain_alloc()
Dqed_spq.c389 .num_elems = num_elem, in qed_eq_alloc()
992 .num_elems = QED_CHAIN_PAGE_SIZE / QED_SPQ_CONSQ_ELEM_SIZE, in qed_consq_alloc()
Dqed_iscsi.c734 params.num_elems = p_params->num_r2tq_pages_in_ring * in qed_iscsi_allocate_connection()
742 params.num_elems = p_params->num_uhq_pages_in_ring * in qed_iscsi_allocate_connection()
/Linux-v5.10/tools/bpf/bpftool/
Dmap.c836 unsigned int num_elems = 0; in map_dump() local
879 num_elems++; in map_dump()
888 printf("Found %u element%s\n", num_elems, in map_dump()
889 num_elems != 1 ? "s" : ""); in map_dump()
/Linux-v5.10/include/rdma/
Duverbs_ioctl.h76 u8 num_elems; member
544 .u.enum_def.num_elems = ARRAY_SIZE(_enum_arr), \
/Linux-v5.10/net/core/
Dskmsg.c304 int i, maxpages, ret = 0, num_elems = sk_msg_elem_used(msg); in sk_msg_zerocopy_from_iter() local
312 maxpages = to_max_pages - num_elems; in sk_msg_zerocopy_from_iter()
339 num_elems++; in sk_msg_zerocopy_from_iter()
/Linux-v5.10/drivers/infiniband/hw/qedr/
Dverbs.c940 chain_params.num_elems = chain_entries; in qedr_create_cq()
1497 u32 num_elems; in qedr_alloc_srq_kernel_params() local
1513 num_elems = init_attr->attr.max_wr * RDMA_MAX_SRQ_WQE_SIZE; in qedr_alloc_srq_kernel_params()
1514 params.num_elems = num_elems; in qedr_alloc_srq_kernel_params()
1520 hw_srq->num_elems = num_elems; in qedr_alloc_srq_kernel_params()
2018 params.num_elems = n_sq_elems; in qedr_roce_create_kernel_qp()
2029 params.num_elems = n_rq_elems; in qedr_roce_create_kernel_qp()
2082 params.num_elems = n_sq_elems; in qedr_iwarp_create_kernel_qp()
2092 params.num_elems = n_rq_elems; in qedr_iwarp_create_kernel_qp()
Dqedr.h354 u32 num_elems; member
/Linux-v5.10/include/uapi/sound/
Dasoc.h221 __le32 num_elems; /* number of elements in array */ member
/Linux-v5.10/include/linux/qed/
Dqed_chain.h154 u32 num_elems; member
/Linux-v5.10/drivers/infiniband/core/
Duverbs_ioctl.c249 if (uattr->attr_data.enum_data.elem_id >= spec->u.enum_def.num_elems) in uverbs_process_attr()

12