Home
last modified time | relevance | path

Searched refs:queue_count (Results 1 – 25 of 59) sorted by relevance

123

/linux-6.15/drivers/mailbox/
H A Dti-msgmgr.c74 u8 queue_count; member
650 if (qinst->queue_id > d->queue_count) { in ti_msgmgr_queue_setup()
652 idx, qinst->queue_id, d->queue_count); in ti_msgmgr_queue_setup()
774 .queue_count = 64,
789 .queue_count = 190,
819 int queue_count; in ti_msgmgr_probe() local
857 queue_count = desc->num_valid_queues; in ti_msgmgr_probe()
858 if (!queue_count || queue_count > desc->queue_count) { in ti_msgmgr_probe()
860 queue_count, desc->queue_count); in ti_msgmgr_probe()
863 inst->num_valid_queues = queue_count; in ti_msgmgr_probe()
[all …]
/linux-6.15/drivers/s390/crypto/
H A Dap_queue.c146 aq->queue_count = max_t(int, 0, aq->queue_count - 1); in ap_sm_recv()
148 aq->queue_count++; in ap_sm_recv()
149 if (aq->queue_count > 0) in ap_sm_recv()
176 aq->queue_count = 0; in ap_sm_recv()
207 if (aq->queue_count > 0) { in ap_sm_read()
214 if (aq->queue_count > 0) in ap_sm_read()
265 aq->queue_count = max_t(int, 1, aq->queue_count + 1); in ap_sm_write()
266 if (aq->queue_count == 1) in ap_sm_write()
394 if (aq->queue_count > 0 && aq->reply) in ap_sm_setirq_wait()
409 if (aq->queue_count > 0) in ap_sm_setirq_wait()
[all …]
H A Dap_bus.h199 int queue_count; /* # messages currently on AP queue. */ member
/linux-6.15/drivers/nvme/target/
H A Dloop.c224 BUG_ON(hctx_idx >= ctrl->ctrl.queue_count); in nvme_loop_init_hctx()
302 for (i = 1; i < ctrl->ctrl.queue_count; i++) { in nvme_loop_destroy_io_queues()
306 ctrl->ctrl.queue_count = 1; in nvme_loop_destroy_io_queues()
334 ctrl->ctrl.queue_count++; in nvme_loop_init_io_queues()
348 for (i = 1; i < ctrl->ctrl.queue_count; i++) { in nvme_loop_connect_io_queues()
366 ctrl->ctrl.queue_count = 1; in nvme_loop_configure_admin_queue()
409 if (ctrl->ctrl.queue_count > 1) { in nvme_loop_shutdown_ctrl()
472 ctrl->ctrl.queue_count - 1); in nvme_loop_reset_ctrl_work()
/linux-6.15/tools/testing/selftests/net/
H A Dnl_netdev.py22 with NetdevSimDev(queue_count=100) as nsimdev:
45 with NetdevSimDev(queue_count=4) as nsimdev:
/linux-6.15/tools/testing/selftests/net/lib/py/
H A Dnsim.py53 def __init__(self, port_count=1, queue_count=1, ns=None): argument
63 self.ctrl_write("new_device", "%u %u %u" % (addr, port_count, queue_count))
/linux-6.15/drivers/net/ethernet/freescale/dpaa2/
H A Ddpaa2-ethtool.c908 int queue_count = dpaa2_eth_queue_count(priv); in dpaa2_eth_get_channels() local
910 channels->max_rx = queue_count; in dpaa2_eth_get_channels()
911 channels->max_tx = queue_count; in dpaa2_eth_get_channels()
912 channels->rx_count = queue_count; in dpaa2_eth_get_channels()
913 channels->tx_count = queue_count; in dpaa2_eth_get_channels()
916 channels->max_other = queue_count + 1; in dpaa2_eth_get_channels()
921 channels->other_count = queue_count + 1; in dpaa2_eth_get_channels()
/linux-6.15/drivers/gpu/drm/panthor/
H A Dpanthor_sched.c578 u32 queue_count; member
914 for (i = 0; i < group->queue_count; i++) in group_release_work()
989 for (u32 i = 0; i < group->queue_count; i++) in group_bind_locked()
1025 for (u32 i = 0; i < group->queue_count; i++) in group_unbind_locked()
1206 for (i = 0; i < group->queue_count; i++) { in csg_slot_sync_queues_state_locked()
1276 for (i = 0; i < group->queue_count; i++) { in csg_slot_sync_state_locked()
1308 for (i = 0; i < group->queue_count; i++) { in csg_slot_prog_locked()
2062 for (i = 0; i < group->queue_count; i++) { in group_term_post_processing()
2614 for (u32 i = 0; i < group->queue_count; i++) in panthor_group_stop()
3405 for (i = 0; i < group->queue_count; i++) { in add_group_kbo_sizes()
[all …]
/linux-6.15/drivers/nvme/host/
H A Dfc.c2267 for (i = 1; i < ctrl->ctrl.queue_count; i++) in nvme_fc_free_io_queues()
2320 for (i = 1; i < ctrl->ctrl.queue_count; i++) { in nvme_fc_connect_io_queues()
2340 for (i = 1; i < ctrl->ctrl.queue_count; i++) in nvme_fc_init_io_queues()
2441 if (ctrl->ctrl.queue_count > 1) { in __nvme_fc_abort_outstanding_ios()
2442 for (q = 1; q < ctrl->ctrl.queue_count; q++) in __nvme_fc_abort_outstanding_ios()
2459 if (ctrl->ctrl.queue_count > 1) { in __nvme_fc_abort_outstanding_ios()
2870 ctrl->ctrl.queue_count = nr_io_queues + 1; in nvme_fc_create_io_queues()
2931 ctrl->ctrl.queue_count = nr_io_queues + 1; in nvme_fc_recreate_io_queues()
2933 if (ctrl->ctrl.queue_count == 1) in nvme_fc_recreate_io_queues()
3124 if (ctrl->ctrl.queue_count > 1) { in nvme_fc_create_association()
[all …]
H A Drdma.c325 BUG_ON(hctx_idx >= ctrl->ctrl.queue_count); in nvme_rdma_init_hctx()
664 for (i = 1; i < ctrl->ctrl.queue_count; i++) in nvme_rdma_free_io_queues()
672 for (i = 1; i < ctrl->ctrl.queue_count; i++) in nvme_rdma_stop_io_queues()
733 ctrl->ctrl.queue_count = nr_io_queues + 1; in nvme_rdma_alloc_io_queues()
738 for (i = 1; i < ctrl->ctrl.queue_count; i++) { in nvme_rdma_alloc_io_queues()
902 ctrl->ctrl.queue_count - 1); in nvme_rdma_configure_io_queues()
947 if (ctrl->ctrl.queue_count > 1) { in nvme_rdma_teardown_io_queues()
1057 if (ctrl->ctrl.queue_count > 1) { in nvme_rdma_setup_ctrl()
1083 if (ctrl->ctrl.queue_count > 1) { in nvme_rdma_setup_ctrl()
2286 ctrl->ctrl.queue_count = opts->nr_io_queues + opts->nr_write_queues + in nvme_rdma_alloc_ctrl()
[all …]
H A Dtcp.c2051 for (i = 1; i < ctrl->queue_count; i++) in nvme_tcp_free_io_queues()
2059 for (i = 1; i < ctrl->queue_count; i++) in nvme_tcp_stop_io_queues()
2061 for (i = 1; i < ctrl->queue_count; i++) in nvme_tcp_stop_io_queues()
2143 for (i = 1; i < ctrl->queue_count; i++) { in __nvme_tcp_alloc_io_queues()
2175 ctrl->queue_count = nr_io_queues + 1; in nvme_tcp_alloc_io_queues()
2206 nr_queues = min(ctrl->tagset->nr_hw_queues + 1, ctrl->queue_count); in nvme_tcp_configure_io_queues()
2225 ctrl->queue_count - 1); in nvme_tcp_configure_io_queues()
2322 if (ctrl->queue_count <= 1) in nvme_tcp_teardown_io_queues()
2422 if (ctrl->queue_count > 1) { in nvme_tcp_setup_ctrl()
2447 if (ctrl->queue_count > 1) { in nvme_tcp_setup_ctrl()
[all …]
/linux-6.15/drivers/gpu/drm/amd/amdkfd/
H A Dkfd_packet_manager.c49 unsigned int process_count, queue_count, compute_queue_count, gws_queue_count; in pm_calc_rlib_size() local
56 queue_count = pm->dqm->active_queue_count; in pm_calc_rlib_size()
83 queue_count * map_queue_size; in pm_calc_rlib_size()
H A Dkfd_packet_manager_v9.c56 packet->bitfields14.num_queues = (qpd->is_debug) ? 0 : qpd->queue_count; in pm_map_process_v9()
115 packet->bitfields14.num_queues = (qpd->is_debug) ? 0 : qpd->queue_count; in pm_map_process_aldebaran()
/linux-6.15/drivers/net/ethernet/pensando/ionic/
H A Dionic_debugfs.c70 (u32 *)&ionic->ident.lif.eth.config.queue_count[IONIC_QTYPE_TXQ]); in ionic_debugfs_add_sizes()
72 (u32 *)&ionic->ident.lif.eth.config.queue_count[IONIC_QTYPE_RXQ]); in ionic_debugfs_add_sizes()
/linux-6.15/drivers/scsi/hisi_sas/
H A Dhisi_sas_v1_hw.c657 (u32)((1ULL << hisi_hba->queue_count) - 1)); in init_reg_v1_hw()
699 for (i = 0; i < hisi_hba->queue_count; i++) { in init_reg_v1_hw()
1650 for (i = 0; i < hisi_hba->queue_count; i++, idx++) { in interrupt_init_v1_hw()
1664 idx = (hisi_hba->n_phy * HISI_SAS_PHY_INT_NR) + hisi_hba->queue_count; in interrupt_init_v1_hw()
1679 hisi_hba->cq_nvecs = hisi_hba->queue_count; in interrupt_init_v1_hw()
1746 if (hisi_hba->queue_count < 0 || hisi_hba->queue_count > 32) { in check_fw_info_v1_hw()
H A Dhisi_sas_v3_hw.c616 for (i = 0; i < hisi_hba->queue_count; i++) in interrupt_enable_v3_hw()
640 (u32)((1ULL << hisi_hba->queue_count) - 1)); in init_reg_v3_hw()
715 for (i = 0; i < hisi_hba->queue_count; i++) { in init_reg_v3_hw()
2676 for (i = 0; i < hisi_hba->queue_count; i++) in interrupt_disable_v3_hw()
3397 if (hisi_hba->queue_count < 0 || hisi_hba->queue_count > 16) { in check_fw_info_v3_hw()
3463 for (i = 0; i < hisi_hba->queue_count; i++) in debugfs_snapshot_cq_reg_v3_hw()
3475 for (i = 0; i < hisi_hba->queue_count; i++) { in debugfs_snapshot_dq_reg_v3_hw()
3886 for (c = 0; c < hisi_hba->queue_count; c++) { in debugfs_create_files_v3_hw()
3896 for (d = 0; d < hisi_hba->queue_count; d++) { in debugfs_create_files_v3_hw()
4596 for (i = 0; i < hisi_hba->queue_count; i++) { in debugfs_release_v3_hw()
[all …]
/linux-6.15/drivers/infiniband/sw/rxe/
H A Drxe_cq.c28 count = queue_count(cq->queue, QUEUE_TYPE_TO_CLIENT); in rxe_cq_chk_attr()
H A Drxe_queue.c118 if (!queue_empty(q, q->type) && (num_elem < queue_count(q, type))) in resize_finish()
H A Drxe_queue.h170 static inline u32 queue_count(const struct rxe_queue *q, in queue_count() function
/linux-6.15/tools/testing/selftests/drivers/net/
H A Dqueues.py118 with NetDrvEnv(__file__, queue_count=100) as cfg:
/linux-6.15/drivers/net/ethernet/intel/fm10k/
H A Dfm10k_pf.c502 u16 glort, queue_count, vsi_count, pc_count; in fm10k_configure_dglort_map_pf() local
517 queue_count = BIT(dglort->rss_l + dglort->pc_l); in fm10k_configure_dglort_map_pf()
524 for (queue = 0; queue < queue_count; queue++, q_idx++) { in fm10k_configure_dglort_map_pf()
534 queue_count = BIT(dglort->queue_l + dglort->rss_l + dglort->vsi_l); in fm10k_configure_dglort_map_pf()
540 for (queue = 0; queue < queue_count; queue++) { in fm10k_configure_dglort_map_pf()
/linux-6.15/drivers/net/wireless/microchip/wilc1000/
H A Dnetdev.c747 int queue_count; in wilc_mac_xmit() local
768 queue_count = wilc_wlan_txq_add_net_pkt(ndev, tx_data, in wilc_mac_xmit()
772 if (queue_count > FLOW_CONTROL_UPPER_THRESHOLD) { in wilc_mac_xmit()
/linux-6.15/drivers/md/dm-vdo/
H A Dvdo.h292 unsigned int queue_count, void *contexts[]);
/linux-6.15/drivers/net/wireless/intel/iwlwifi/dvm/
H A Drs.h309 u8 queue_count; /* number of queues that has member
/linux-6.15/drivers/net/wireless/intel/iwlegacy/
H A D4965-rs.c233 while (tl->queue_count && tl->time_stamp < oldest_time) { in il4965_rs_tl_rm_old_stats()
237 tl->queue_count--; in il4965_rs_tl_rm_old_stats()
271 if (!(tl->queue_count)) { in il4965_rs_tl_add_packet()
274 tl->queue_count = 1; in il4965_rs_tl_add_packet()
292 if ((idx + 1) > tl->queue_count) in il4965_rs_tl_add_packet()
293 tl->queue_count = idx + 1; in il4965_rs_tl_add_packet()
316 if (!(tl->queue_count)) in il4965_rs_tl_get_load()

123