/Linux-v6.1/drivers/mailbox/ |
D | ti-msgmgr.c | 74 u8 queue_count; member 644 if (qinst->queue_id > d->queue_count) { in ti_msgmgr_queue_setup() 646 idx, qinst->queue_id, d->queue_count); in ti_msgmgr_queue_setup() 768 .queue_count = 64, 783 .queue_count = 190, 815 int queue_count; in ti_msgmgr_probe() local 863 queue_count = desc->num_valid_queues; in ti_msgmgr_probe() 864 if (!queue_count || queue_count > desc->queue_count) { in ti_msgmgr_probe() 866 queue_count, desc->queue_count); in ti_msgmgr_probe() 869 inst->num_valid_queues = queue_count; in ti_msgmgr_probe() [all …]
|
/Linux-v6.1/drivers/s390/crypto/ |
D | ap_queue.c | 159 aq->queue_count = max_t(int, 0, aq->queue_count - 1); in ap_sm_recv() 160 if (!status.queue_empty && !aq->queue_count) in ap_sm_recv() 161 aq->queue_count++; in ap_sm_recv() 162 if (aq->queue_count > 0) in ap_sm_recv() 186 if (!status.queue_empty || aq->queue_count <= 0) in ap_sm_recv() 189 aq->queue_count = 0; in ap_sm_recv() 215 if (aq->queue_count > 0) { in ap_sm_read() 222 if (aq->queue_count > 0) in ap_sm_read() 266 aq->queue_count = max_t(int, 1, aq->queue_count + 1); in ap_sm_write() 267 if (aq->queue_count == 1) in ap_sm_write() [all …]
|
D | ap_bus.h | 202 int queue_count; /* # messages currently on AP queue. */ member
|
/Linux-v6.1/drivers/nvme/target/ |
D | loop.c | 224 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()
|
/Linux-v6.1/drivers/gpu/drm/amd/amdkfd/ |
D | kfd_packet_manager.c | 45 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()
|
D | kfd_packet_manager_v9.c | 50 packet->bitfields14.num_queues = (qpd->is_debug) ? 0 : qpd->queue_count; in pm_map_process_v9() 95 packet->bitfields14.num_queues = (qpd->is_debug) ? 0 : qpd->queue_count; in pm_map_process_aldebaran()
|
D | kfd_device_queue_manager.c | 590 qpd->queue_count++; in create_queue_nocpsch() 780 qpd->queue_count--; in destroy_queue_nocpsch_locked() 1671 qpd->queue_count++; in create_queue_cpsch() 1698 qpd->queue_count--; in create_queue_cpsch() 1894 qpd->queue_count--; in destroy_queue_cpsch() 2200 qpd->queue_count--; in process_termination_cpsch()
|
D | kfd_packet_manager_vi.c | 60 packet->bitfields10.num_queues = (qpd->is_debug) ? 0 : qpd->queue_count; in pm_map_process_vi()
|
/Linux-v6.1/drivers/nvme/host/ |
D | fc.c | 2302 for (i = 1; i < ctrl->ctrl.queue_count; i++) in nvme_fc_free_io_queues() 2323 struct nvme_fc_queue *queue = &ctrl->queues[ctrl->ctrl.queue_count - 1]; in nvme_fc_delete_hw_io_queues() 2326 for (i = ctrl->ctrl.queue_count - 1; i >= 1; i--, queue--) in nvme_fc_delete_hw_io_queues() 2336 for (i = 1; i < ctrl->ctrl.queue_count; i++, queue++) { in nvme_fc_create_hw_io_queues() 2355 for (i = 1; i < ctrl->ctrl.queue_count; i++) { in nvme_fc_connect_io_queues() 2375 for (i = 1; i < ctrl->ctrl.queue_count; i++) in nvme_fc_init_io_queues() 2476 if (ctrl->ctrl.queue_count > 1) { in __nvme_fc_abort_outstanding_ios() 2477 for (q = 1; q < ctrl->ctrl.queue_count; q++) in __nvme_fc_abort_outstanding_ios() 2494 if (ctrl->ctrl.queue_count > 1) { in __nvme_fc_abort_outstanding_ios() 2899 ctrl->ctrl.queue_count = nr_io_queues + 1; in nvme_fc_create_io_queues() [all …]
|
D | rdma.c | 326 BUG_ON(hctx_idx >= ctrl->ctrl.queue_count); in nvme_rdma_init_hctx() 666 for (i = 1; i < ctrl->ctrl.queue_count; i++) in nvme_rdma_free_io_queues() 674 for (i = 1; i < ctrl->ctrl.queue_count; i++) in nvme_rdma_stop_io_queues() 743 ctrl->ctrl.queue_count = nr_io_queues + 1; in nvme_rdma_alloc_io_queues() 775 for (i = 1; i < ctrl->ctrl.queue_count; i++) { in nvme_rdma_alloc_io_queues() 919 nr_queues = min(ctrl->tag_set.nr_hw_queues + 1, ctrl->ctrl.queue_count); in nvme_rdma_configure_io_queues() 936 ctrl->ctrl.queue_count - 1); in nvme_rdma_configure_io_queues() 981 if (ctrl->ctrl.queue_count > 1) { in nvme_rdma_teardown_io_queues() 1084 if (ctrl->ctrl.queue_count > 1) { in nvme_rdma_setup_ctrl() 1108 if (ctrl->ctrl.queue_count > 1) { in nvme_rdma_setup_ctrl() [all …]
|
D | tcp.c | 1711 for (i = 1; i < ctrl->queue_count; i++) in nvme_tcp_free_io_queues() 1719 for (i = 1; i < ctrl->queue_count; i++) in nvme_tcp_stop_io_queues() 1765 for (i = 1; i < ctrl->queue_count; i++) { in __nvme_tcp_alloc_io_queues() 1842 ctrl->queue_count = nr_io_queues + 1; in nvme_tcp_alloc_io_queues() 1881 nr_queues = min(ctrl->tagset->nr_hw_queues + 1, ctrl->queue_count); in nvme_tcp_configure_io_queues() 1898 ctrl->queue_count - 1); in nvme_tcp_configure_io_queues() 1996 if (ctrl->queue_count <= 1) in nvme_tcp_teardown_io_queues() 2062 if (ctrl->queue_count > 1) { in nvme_tcp_setup_ctrl() 2085 if (ctrl->queue_count > 1) { in nvme_tcp_setup_ctrl() 2566 ctrl->ctrl.queue_count = opts->nr_io_queues + opts->nr_write_queues + in nvme_tcp_create_ctrl() [all …]
|
D | pci.c | 1471 for (i = dev->ctrl.queue_count - 1; i >= lowest; i--) { in nvme_free_queues() 1472 dev->ctrl.queue_count--; in nvme_free_queues() 1501 for (i = dev->ctrl.queue_count - 1; i > 0; i--) in nvme_suspend_io_queues() 1527 for (i = dev->ctrl.queue_count - 1; i > 0; i--) { in nvme_reap_pending_cqes() 1589 if (dev->ctrl.queue_count > qid) in nvme_alloc_queue() 1609 dev->ctrl.queue_count++; in nvme_alloc_queue() 1871 for (i = dev->ctrl.queue_count; i <= dev->max_qid; i++) { in nvme_create_io_queues() 1878 max = min(dev->max_qid, dev->ctrl.queue_count - 1); in nvme_create_io_queues() 2708 if (!dead && dev->ctrl.queue_count > 0) { in nvme_dev_disable()
|
/Linux-v6.1/drivers/net/ethernet/pensando/ionic/ |
D | ionic_debugfs.c | 70 (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-v6.1/drivers/infiniband/sw/rxe/ |
D | rxe_cq.c | 28 count = queue_count(cq->queue, QUEUE_TYPE_TO_CLIENT); in rxe_cq_chk_attr()
|
D | rxe_queue.c | 119 if (!queue_empty(q, q->type) && (num_elem < queue_count(q, type))) in resize_finish()
|
D | rxe_queue.h | 159 static inline u32 queue_count(const struct rxe_queue *q, in queue_count() function
|
/Linux-v6.1/drivers/net/ethernet/intel/fm10k/ |
D | fm10k_pf.c | 501 u16 glort, queue_count, vsi_count, pc_count; in fm10k_configure_dglort_map_pf() local 516 queue_count = BIT(dglort->rss_l + dglort->pc_l); in fm10k_configure_dglort_map_pf() 523 for (queue = 0; queue < queue_count; queue++, q_idx++) { in fm10k_configure_dglort_map_pf() 533 queue_count = BIT(dglort->queue_l + dglort->rss_l + dglort->vsi_l); in fm10k_configure_dglort_map_pf() 539 for (queue = 0; queue < queue_count; queue++) { in fm10k_configure_dglort_map_pf()
|
/Linux-v6.1/drivers/net/ethernet/engleder/ |
D | tsnep_main.c | 1353 static int tsnep_queue_init(struct tsnep_adapter *adapter, int queue_count) in tsnep_queue_init() argument 1380 for (i = 1; i < queue_count; i++) { in tsnep_queue_init() 1407 int queue_count; in tsnep_probe() local 1442 queue_count = (type & ECM_QUEUE_COUNT_MASK) >> ECM_QUEUE_COUNT_SHIFT; in tsnep_probe() 1448 retval = tsnep_queue_init(adapter, queue_count); in tsnep_probe()
|
/Linux-v6.1/drivers/net/wireless/microchip/wilc1000/ |
D | netdev.c | 729 int queue_count; in wilc_mac_xmit() local 749 queue_count = wilc_wlan_txq_add_net_pkt(ndev, tx_data, in wilc_mac_xmit() 753 if (queue_count > FLOW_CONTROL_UPPER_THRESHOLD) { in wilc_mac_xmit()
|
/Linux-v6.1/drivers/net/wireless/intel/iwlwifi/dvm/ |
D | rs.h | 309 u8 queue_count; /* number of queues that has member
|
D | rs.c | 249 while (tl->queue_count && in rs_tl_rm_old_stats() 254 tl->queue_count--; in rs_tl_rm_old_stats() 288 if (!(tl->queue_count)) { in rs_tl_add_packet() 291 tl->queue_count = 1; in rs_tl_add_packet() 309 if ((index + 1) > tl->queue_count) in rs_tl_add_packet() 310 tl->queue_count = index + 1; in rs_tl_add_packet() 362 if (!(tl->queue_count)) in rs_tl_get_load()
|
/Linux-v6.1/drivers/scsi/hisi_sas/ |
D | hisi_sas_v1_hw.c | 657 (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() 1651 for (i = 0; i < hisi_hba->queue_count; i++, idx++) { in interrupt_init_v1_hw() 1665 idx = (hisi_hba->n_phy * HISI_SAS_PHY_INT_NR) + hisi_hba->queue_count; in interrupt_init_v1_hw() 1680 hisi_hba->cq_nvecs = hisi_hba->queue_count; in interrupt_init_v1_hw()
|
D | hisi_sas_v3_hw.c | 594 (u32)((1ULL << hisi_hba->queue_count) - 1)); in init_reg_v3_hw() 617 for (i = 0; i < hisi_hba->queue_count; i++) in init_reg_v3_hw() 669 for (i = 0; i < hisi_hba->queue_count; i++) { in init_reg_v3_hw() 2551 for (i = 0; i < hisi_hba->queue_count; i++) in interrupt_disable_v3_hw() 3001 (u32)((1ULL << hisi_hba->queue_count) - 1)); in debugfs_snapshot_restore_v3_hw() 3278 for (i = 0; i < hisi_hba->queue_count; i++) in debugfs_snapshot_cq_reg_v3_hw() 3290 for (i = 0; i < hisi_hba->queue_count; i++) { in debugfs_snapshot_dq_reg_v3_hw() 3666 for (c = 0; c < hisi_hba->queue_count; c++) { in debugfs_create_files_v3_hw() 3676 for (d = 0; d < hisi_hba->queue_count; d++) { in debugfs_create_files_v3_hw() 4528 for (i = 0; i < hisi_hba->queue_count; i++) in debugfs_release_v3_hw() [all …]
|
/Linux-v6.1/drivers/net/wireless/intel/iwlegacy/ |
D | 4965-rs.c | 240 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()
|
/Linux-v6.1/drivers/net/ethernet/amd/xgbe/ |
D | xgbe-dev.c | 2378 unsigned int queue_count, in xgbe_calculate_equal_fifo() argument 2385 q_fifo_size = fifo_size / queue_count; in xgbe_calculate_equal_fifo() 2396 for (i = 0; i < queue_count; i++) in xgbe_calculate_equal_fifo() 2401 unsigned int queue_count, in xgbe_set_nonprio_fifos() argument 2408 if (queue_count <= IEEE_8021QAZ_MAX_TCS) in xgbe_set_nonprio_fifos() 2415 for (i = IEEE_8021QAZ_MAX_TCS; i < queue_count; i++) { in xgbe_set_nonprio_fifos()
|