Home
last modified time | relevance | path

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

12

/drivers/mailbox/
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,
820 int queue_count; in ti_msgmgr_probe() local
865 queue_count = desc->num_valid_queues; in ti_msgmgr_probe()
866 if (!queue_count || queue_count > desc->queue_count) { in ti_msgmgr_probe()
868 queue_count, desc->queue_count); in ti_msgmgr_probe()
871 inst->num_valid_queues = queue_count; in ti_msgmgr_probe()
[all …]
/drivers/s390/crypto/
Dap_queue.c135 aq->queue_count = max_t(int, 0, aq->queue_count - 1); in ap_sm_recv()
136 if (!status.queue_empty && !aq->queue_count) in ap_sm_recv()
137 aq->queue_count++; in ap_sm_recv()
138 if (aq->queue_count > 0) in ap_sm_recv()
162 if (!status.queue_empty || aq->queue_count <= 0) in ap_sm_recv()
165 aq->queue_count = 0; in ap_sm_recv()
193 if (aq->queue_count > 0) { in ap_sm_read()
200 if (aq->queue_count > 0) in ap_sm_read()
239 aq->queue_count = max_t(int, 1, aq->queue_count + 1); in ap_sm_write()
240 if (aq->queue_count == 1) in ap_sm_write()
[all …]
Dap_bus.h211 int queue_count; /* # messages currently on AP queue. */ member
/drivers/nvme/target/
Dloop.c224 BUG_ON(hctx_idx >= ctrl->ctrl.queue_count); in nvme_loop_init_hctx()
295 for (i = 1; i < ctrl->ctrl.queue_count; i++) { in nvme_loop_destroy_io_queues()
299 ctrl->ctrl.queue_count = 1; in nvme_loop_destroy_io_queues()
321 ctrl->ctrl.queue_count++; in nvme_loop_init_io_queues()
335 for (i = 1; i < ctrl->ctrl.queue_count; i++) { in nvme_loop_connect_io_queues()
353 ctrl->ctrl.queue_count = 1; in nvme_loop_configure_admin_queue()
396 if (ctrl->ctrl.queue_count > 1) { in nvme_loop_shutdown_ctrl()
457 ctrl->ctrl.queue_count - 1); in nvme_loop_reset_ctrl_work()
/drivers/net/ethernet/freescale/dpaa2/
Ddpaa2-ethtool.c913 int queue_count = dpaa2_eth_queue_count(priv); in dpaa2_eth_get_channels() local
915 channels->max_rx = queue_count; in dpaa2_eth_get_channels()
916 channels->max_tx = queue_count; in dpaa2_eth_get_channels()
917 channels->rx_count = queue_count; in dpaa2_eth_get_channels()
918 channels->tx_count = queue_count; in dpaa2_eth_get_channels()
921 channels->max_other = queue_count + 1; in dpaa2_eth_get_channels()
926 channels->other_count = queue_count + 1; in dpaa2_eth_get_channels()
/drivers/gpu/drm/amd/amdkfd/
Dkfd_packet_manager.c45 unsigned int process_count, queue_count, compute_queue_count, gws_queue_count; in pm_calc_rlib_size() local
51 queue_count = pm->dqm->active_queue_count; in pm_calc_rlib_size()
75 queue_count * map_queue_size; in pm_calc_rlib_size()
Dkfd_packet_manager_v9.c53 packet->bitfields14.num_queues = (qpd->is_debug) ? 0 : qpd->queue_count; in pm_map_process_v9()
108 packet->bitfields14.num_queues = (qpd->is_debug) ? 0 : qpd->queue_count; in pm_map_process_aldebaran()
Dkfd_packet_manager_vi.c60 packet->bitfields10.num_queues = (qpd->is_debug) ? 0 : qpd->queue_count; in pm_map_process_vi()
Dkfd_device_queue_manager.c619 qpd->queue_count++; in create_queue_nocpsch()
812 qpd->queue_count--; in destroy_queue_nocpsch_locked()
1838 qpd->queue_count++; in create_queue_cpsch()
1865 qpd->queue_count--; in create_queue_cpsch()
2108 qpd->queue_count--; in destroy_queue_cpsch()
2422 qpd->queue_count--; in process_termination_cpsch()
/drivers/nvme/host/
Dfc.c2308 for (i = 1; i < ctrl->ctrl.queue_count; i++) in nvme_fc_free_io_queues()
2329 struct nvme_fc_queue *queue = &ctrl->queues[ctrl->ctrl.queue_count - 1]; in nvme_fc_delete_hw_io_queues()
2332 for (i = ctrl->ctrl.queue_count - 1; i >= 1; i--, queue--) in nvme_fc_delete_hw_io_queues()
2342 for (i = 1; i < ctrl->ctrl.queue_count; i++, queue++) { in nvme_fc_create_hw_io_queues()
2361 for (i = 1; i < ctrl->ctrl.queue_count; i++) { in nvme_fc_connect_io_queues()
2381 for (i = 1; i < ctrl->ctrl.queue_count; i++) in nvme_fc_init_io_queues()
2482 if (ctrl->ctrl.queue_count > 1) { in __nvme_fc_abort_outstanding_ios()
2483 for (q = 1; q < ctrl->ctrl.queue_count; q++) in __nvme_fc_abort_outstanding_ios()
2500 if (ctrl->ctrl.queue_count > 1) { in __nvme_fc_abort_outstanding_ios()
2908 ctrl->ctrl.queue_count = nr_io_queues + 1; in nvme_fc_create_io_queues()
[all …]
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()
1050 if (ctrl->ctrl.queue_count > 1) { in nvme_rdma_setup_ctrl()
1076 if (ctrl->ctrl.queue_count > 1) { in nvme_rdma_setup_ctrl()
[all …]
Dtcp.c1741 for (i = 1; i < ctrl->queue_count; i++) in nvme_tcp_free_io_queues()
1749 for (i = 1; i < ctrl->queue_count; i++) in nvme_tcp_stop_io_queues()
1795 for (i = 1; i < ctrl->queue_count; i++) { in __nvme_tcp_alloc_io_queues()
1826 ctrl->queue_count = nr_io_queues + 1; in nvme_tcp_alloc_io_queues()
1865 nr_queues = min(ctrl->tagset->nr_hw_queues + 1, ctrl->queue_count); in nvme_tcp_configure_io_queues()
1884 ctrl->queue_count - 1); in nvme_tcp_configure_io_queues()
1982 if (ctrl->queue_count <= 1) in nvme_tcp_teardown_io_queues()
2048 if (ctrl->queue_count > 1) { in nvme_tcp_setup_ctrl()
2073 if (ctrl->queue_count > 1) { in nvme_tcp_setup_ctrl()
2528 ctrl->ctrl.queue_count = opts->nr_io_queues + opts->nr_write_queues + in nvme_tcp_create_ctrl()
[all …]
Dpci.c1428 for (i = dev->ctrl.queue_count - 1; i >= lowest; i--) { in nvme_free_queues()
1429 dev->ctrl.queue_count--; in nvme_free_queues()
1455 for (i = dev->ctrl.queue_count - 1; i > 0; i--) in nvme_suspend_io_queues()
1469 for (i = dev->ctrl.queue_count - 1; i > 0; i--) { in nvme_reap_pending_cqes()
1531 if (dev->ctrl.queue_count > qid) in nvme_alloc_queue()
1551 dev->ctrl.queue_count++; in nvme_alloc_queue()
1787 for (i = dev->ctrl.queue_count; i <= dev->max_qid; i++) { in nvme_create_io_queues()
1794 max = min(dev->max_qid, dev->ctrl.queue_count - 1); in nvme_create_io_queues()
2610 if (!dead && dev->ctrl.queue_count > 0) { in nvme_dev_disable()
/drivers/net/ethernet/pensando/ionic/
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()
/drivers/net/ethernet/intel/fm10k/
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()
/drivers/infiniband/sw/rxe/
Drxe_cq.c28 count = queue_count(cq->queue, QUEUE_TYPE_TO_CLIENT); in rxe_cq_chk_attr()
Drxe_queue.c118 if (!queue_empty(q, q->type) && (num_elem < queue_count(q, type))) in resize_finish()
Drxe_queue.h170 static inline u32 queue_count(const struct rxe_queue *q, in queue_count() function
/drivers/scsi/hisi_sas/
Dhisi_sas_v3_hw.c612 for (i = 0; i < hisi_hba->queue_count; i++) in interrupt_enable_v3_hw()
636 (u32)((1ULL << hisi_hba->queue_count) - 1)); in init_reg_v3_hw()
708 for (i = 0; i < hisi_hba->queue_count; i++) { in init_reg_v3_hw()
2664 for (i = 0; i < hisi_hba->queue_count; i++) in interrupt_disable_v3_hw()
3132 (u32)((1ULL << hisi_hba->queue_count) - 1)); in debugfs_snapshot_restore_v3_hw()
3416 experimental_iopoll_q_cnt >= hisi_hba->queue_count) in hisi_sas_shost_alloc_pci()
3440 for (i = 0; i < hisi_hba->queue_count; i++) in debugfs_snapshot_cq_reg_v3_hw()
3452 for (i = 0; i < hisi_hba->queue_count; i++) { in debugfs_snapshot_dq_reg_v3_hw()
3828 for (c = 0; c < hisi_hba->queue_count; c++) { in debugfs_create_files_v3_hw()
3838 for (d = 0; d < hisi_hba->queue_count; d++) { in debugfs_create_files_v3_hw()
[all …]
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()
Dhisi_sas_main.c668 int queue = i % hisi_hba->queue_count; in hisi_sas_alloc_dev()
701 if (cq->id < hisi_hba->queue_count - hisi_hba->iopoll_q_cnt) in hisi_sas_queue_is_poll()
718 for (i = 0; i < hisi_hba->queue_count; i++) { in hisi_sas_sync_poll_cqs()
731 for (i = 0; i < hisi_hba->queue_count; i++) { in hisi_sas_sync_cqs()
2124 for (i = 0; i < hisi_hba->queue_count; i++) { in hisi_sas_init_mem()
2176 for (i = 0; i < hisi_hba->queue_count; i++) { in hisi_sas_alloc()
2398 &hisi_hba->queue_count)) { in hisi_sas_get_fw_info()
/drivers/net/wireless/microchip/wilc1000/
Dnetdev.c729 int queue_count; in wilc_mac_xmit() local
750 queue_count = wilc_wlan_txq_add_net_pkt(ndev, tx_data, in wilc_mac_xmit()
754 if (queue_count > FLOW_CONTROL_UPPER_THRESHOLD) { in wilc_mac_xmit()
/drivers/net/wireless/intel/iwlegacy/
D4965-rs.c240 while (tl->queue_count && tl->time_stamp < oldest_time) { in il4965_rs_tl_rm_old_stats()
244 tl->queue_count--; in il4965_rs_tl_rm_old_stats()
278 if (!(tl->queue_count)) { in il4965_rs_tl_add_packet()
281 tl->queue_count = 1; in il4965_rs_tl_add_packet()
299 if ((idx + 1) > tl->queue_count) in il4965_rs_tl_add_packet()
300 tl->queue_count = idx + 1; in il4965_rs_tl_add_packet()
323 if (!(tl->queue_count)) in il4965_rs_tl_get_load()
/drivers/net/wireless/intel/iwlwifi/dvm/
Drs.h309 u8 queue_count; /* number of queues that has member
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()

12