Home
last modified time | relevance | path

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

12

/linux/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/tools/testing/selftests/net/
H A Dnl_netdev.py36 with NetdevSimDev(queue_count=100) as nsimdev:
56 with NetdevSimDev(queue_count=2) as nsimdev:
141 with NetdevSimDev(queue_count=2) as nsimdev:
181 with NetdevSimDev(queue_count=4) as nsimdev:
/linux/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/drivers/gpu/drm/panthor/
H A Dpanthor_sched.c577 u32 queue_count; member
951 for (i = 0; i < group->queue_count; i++) in group_release_work()
1026 for (u32 i = 0; i < group->queue_count; i++) in group_bind_locked()
1062 for (u32 i = 0; i < group->queue_count; i++) in group_unbind_locked()
1076 return hweight32(inactive_queues) == group->queue_count; in group_is_idle()
1338 for (i = 0; i < group->queue_count; i++) { in csg_slot_sync_queues_state_locked()
1408 for (i = 0; i < group->queue_count; i++) { in csg_slot_sync_state_locked()
1441 for (i = 0; i < group->queue_count; i++) { in csg_slot_prog_locked()
1529 struct panthor_queue *queue = group && cs_id < group->queue_count ? in cs_slot_process_fault_event_locked()
2141 group->fatal_queues |= GENMASK(group->queue_count - 1, 0); in tick_ctx_init()
[all …]
/linux/drivers/nvme/host/
H A Dfc.c2278 for (i = 1; i < ctrl->ctrl.queue_count; i++) in nvme_fc_free_io_queues()
2299 struct nvme_fc_queue *queue = &ctrl->queues[ctrl->ctrl.queue_count - 1]; in nvme_fc_delete_hw_io_queues()
2302 for (i = ctrl->ctrl.queue_count - 1; i >= 1; i--, queue--) in nvme_fc_delete_hw_io_queues()
2312 for (i = 1; i < ctrl->ctrl.queue_count; i++, queue++) { in nvme_fc_create_hw_io_queues()
2331 for (i = 1; i < ctrl->ctrl.queue_count; i++) { in nvme_fc_connect_io_queues()
2351 for (i = 1; i < ctrl->ctrl.queue_count; i++) in nvme_fc_init_io_queues()
2446 if (ctrl->ctrl.queue_count > 1) { in __nvme_fc_abort_outstanding_ios()
2447 for (q = 1; q < ctrl->ctrl.queue_count; q++) in __nvme_fc_abort_outstanding_ios()
2464 if (ctrl->ctrl.queue_count > 1) { in __nvme_fc_abort_outstanding_ios()
2875 ctrl->ctrl.queue_count = nr_io_queues + 1; in nvme_fc_create_io_queues()
[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()
883 nr_queues = min(ctrl->tag_set.nr_hw_queues + 1, ctrl->ctrl.queue_count); in nvme_rdma_configure_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()
[all …]
H A Dtcp.c2048 for (i = 1; i < ctrl->queue_count; i++) in nvme_tcp_free_io_queues()
2056 for (i = 1; i < ctrl->queue_count; i++) in nvme_tcp_stop_io_queues()
2058 for (i = 1; i < ctrl->queue_count; i++) in nvme_tcp_stop_io_queues()
2140 for (i = 1; i < ctrl->queue_count; i++) { in __nvme_tcp_alloc_io_queues()
2172 ctrl->queue_count = nr_io_queues + 1; in nvme_tcp_alloc_io_queues()
2203 nr_queues = min(ctrl->tagset->nr_hw_queues + 1, ctrl->queue_count); in nvme_tcp_configure_io_queues()
2222 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 …]
H A Dpci.c2030 for (i = dev->ctrl.queue_count - 1; i >= lowest; i--) { in nvme_free_queues()
2031 dev->ctrl.queue_count--; in nvme_free_queues()
2057 for (i = dev->ctrl.queue_count - 1; i > 0; i--) in nvme_suspend_io_queues()
2071 for (i = dev->ctrl.queue_count - 1; i > 0; i--) { in nvme_reap_pending_cqes()
2133 if (dev->ctrl.queue_count > qid) in nvme_alloc_queue()
2153 dev->ctrl.queue_count++; in nvme_alloc_queue()
2410 for (i = dev->ctrl.queue_count; i <= dev->max_qid; i++) { in nvme_create_io_queues()
2417 max = min(dev->max_qid, dev->ctrl.queue_count - 1); in nvme_create_io_queues()
3312 if (!dead && dev->ctrl.queue_count > 0) { in nvme_dev_disable()
/linux/tools/testing/selftests/drivers/net/
H A Dnapi_threaded.py134 with NetDrvEnv(__file__, queue_count=2) as cfg:
H A Dqueues.py118 with NetDrvEnv(__file__, queue_count=100) as cfg:
H A Dstats.py312 with NetDrvEnv(__file__, queue_count=100) as cfg:
H A Dhds.py311 with NetDrvEnv(__file__, queue_count=3) as cfg:
H A Dshaper.py460 with NetDrvEnv(__file__, queue_count=4) as cfg:
/linux/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/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_main.c700 int queue = i % hisi_hba->queue_count; in hisi_sas_alloc_dev()
733 if (cq->id < hisi_hba->queue_count - hisi_hba->iopoll_q_cnt) in hisi_sas_queue_is_poll()
750 for (i = 0; i < hisi_hba->queue_count; i++) { in hisi_sas_sync_poll_cqs()
763 for (i = 0; i < hisi_hba->queue_count; i++) { in hisi_sas_sync_cqs()
2190 for (i = 0; i < hisi_hba->queue_count; i++) { in hisi_sas_init_mem()
2242 for (i = 0; i < hisi_hba->queue_count; i++) { in hisi_sas_alloc()
2468 &hisi_hba->queue_count)) { in hisi_sas_get_fw_info()
/linux/drivers/infiniband/sw/rxe/
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/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/drivers/net/wireless/intel/iwlegacy/
H A D4965-rs.c234 while (tl->queue_count && tl->time_stamp < oldest_time) { in il4965_rs_tl_rm_old_stats()
238 tl->queue_count--; in il4965_rs_tl_rm_old_stats()
272 if (!(tl->queue_count)) { in il4965_rs_tl_add_packet()
275 tl->queue_count = 1; in il4965_rs_tl_add_packet()
293 if ((idx + 1) > tl->queue_count) in il4965_rs_tl_add_packet()
294 tl->queue_count = idx + 1; in il4965_rs_tl_add_packet()
317 if (!(tl->queue_count)) in il4965_rs_tl_get_load()
/linux/drivers/net/wireless/intel/iwlwifi/dvm/
H A Drs.h309 u8 queue_count; /* number of queues that has member
H A Drs.c232 while (tl->queue_count && in rs_tl_rm_old_stats()
237 tl->queue_count--; in rs_tl_rm_old_stats()
271 if (!(tl->queue_count)) { in rs_tl_add_packet()
274 tl->queue_count = 1; in rs_tl_add_packet()
292 if ((index + 1) > tl->queue_count) in rs_tl_add_packet()
293 tl->queue_count = index + 1; in rs_tl_add_packet()
345 if (!(tl->queue_count)) in rs_tl_get_load()
/linux/drivers/net/ethernet/atheros/atl1c/
H A Datl1c_main.c2619 u32 queue_count = 1; in atl1c_probe() local
2661 queue_count = 4; in atl1c_probe()
2663 netdev = alloc_etherdev_mq(sizeof(struct atl1c_adapter), queue_count); in atl1c_probe()
2682 adapter->tx_queue_count = queue_count; in atl1c_probe()
2683 adapter->rx_queue_count = queue_count; in atl1c_probe()
/linux/drivers/net/ethernet/engleder/
H A Dtsnep_main.c2485 static int tsnep_queue_init(struct tsnep_adapter *adapter, int queue_count) in tsnep_queue_init() argument
2524 for (i = 1; i < queue_count; i++) { in tsnep_queue_init()
2564 int queue_count; in tsnep_probe() local
2598 queue_count = (type & ECM_QUEUE_COUNT_MASK) >> ECM_QUEUE_COUNT_SHIFT; in tsnep_probe()
2604 retval = tsnep_queue_init(adapter, queue_count); in tsnep_probe()
/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
H A Dmsgbuf.c807 u32 queue_count; in brcmf_msgbuf_tx_queue_data() local
820 queue_count = brcmf_flowring_enqueue(flow, flowid, skb); in brcmf_msgbuf_tx_queue_data()
821 force = ((queue_count % BRCMF_MSGBUF_TRICKLE_TXWORKER_THRS) == 0); in brcmf_msgbuf_tx_queue_data()

12