Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.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()
/kernel/linux/linux-5.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()
/kernel/linux/linux-5.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()
/kernel/linux/linux-5.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
/kernel/linux/linux-5.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()
2700 buf->num_elems = cpu_to_le16(num_items); in ice_alloc_res_cntr()
2738 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
/kernel/linux/linux-5.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()
/kernel/linux/linux-5.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.c130 param.num_elems = ring->bufs_max; in ath11k_dbring_wmi_cfg_setup()
/kernel/linux/linux-5.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()
/kernel/linux/linux-5.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()
/kernel/linux/linux-5.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()
/kernel/linux/linux-5.10/include/rdma/
Duverbs_ioctl.h76 u8 num_elems; member
544 .u.enum_def.num_elems = ARRAY_SIZE(_enum_arr), \
/kernel/linux/linux-5.10/net/core/
Dskmsg.c313 int i, maxpages, ret = 0, num_elems = sk_msg_elem_used(msg); in sk_msg_zerocopy_from_iter() local
321 maxpages = to_max_pages - num_elems; in sk_msg_zerocopy_from_iter()
348 num_elems++; in sk_msg_zerocopy_from_iter()
/kernel/linux/linux-5.10/drivers/infiniband/hw/qedr/
Dverbs.c940 chain_params.num_elems = chain_entries; in qedr_create_cq()
1498 u32 num_elems; in qedr_alloc_srq_kernel_params() local
1514 num_elems = init_attr->attr.max_wr * RDMA_MAX_SRQ_WQE_SIZE; in qedr_alloc_srq_kernel_params()
1515 params.num_elems = num_elems; in qedr_alloc_srq_kernel_params()
1521 hw_srq->num_elems = num_elems; in qedr_alloc_srq_kernel_params()
2021 params.num_elems = n_sq_elems; in qedr_roce_create_kernel_qp()
2032 params.num_elems = n_rq_elems; in qedr_roce_create_kernel_qp()
2085 params.num_elems = n_sq_elems; in qedr_iwarp_create_kernel_qp()
2095 params.num_elems = n_rq_elems; in qedr_iwarp_create_kernel_qp()
Dqedr.h354 u32 num_elems; member
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/sound/
Dasoc.h133 __le32 num_elems; member
/kernel/linux/linux-5.10/include/uapi/sound/
Dasoc.h221 __le32 num_elems; /* number of elements in array */ member
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/sound/
Dasoc.h146 __le32 num_elems; member
/kernel/linux/linux-5.10/include/linux/qed/
Dqed_chain.h154 u32 num_elems; member

12