/linux-6.6.21/drivers/mailbox/ |
D | ti-msgmgr.c | 74 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 …]
|
/linux-6.6.21/drivers/s390/crypto/ |
D | ap_queue.c | 135 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 …]
|
D | ap_bus.h | 211 int queue_count; /* # messages currently on AP queue. */ member
|
/linux-6.6.21/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-6.6.21/drivers/net/ethernet/freescale/dpaa2/ |
D | dpaa2-ethtool.c | 913 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()
|
/linux-6.6.21/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 | 53 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()
|
D | kfd_packet_manager_vi.c | 60 packet->bitfields10.num_queues = (qpd->is_debug) ? 0 : qpd->queue_count; in pm_map_process_vi()
|
D | kfd_device_queue_manager.c | 619 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() 2107 qpd->queue_count--; in destroy_queue_cpsch() 2421 qpd->queue_count--; in process_termination_cpsch()
|
/linux-6.6.21/drivers/nvme/host/ |
D | fc.c | 2308 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 …]
|
D | rdma.c | 325 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 …]
|
D | tcp.c | 1741 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 …]
|
D | pci.c | 1420 for (i = dev->ctrl.queue_count - 1; i >= lowest; i--) { in nvme_free_queues() 1421 dev->ctrl.queue_count--; in nvme_free_queues() 1447 for (i = dev->ctrl.queue_count - 1; i > 0; i--) in nvme_suspend_io_queues() 1461 for (i = dev->ctrl.queue_count - 1; i > 0; i--) { in nvme_reap_pending_cqes() 1523 if (dev->ctrl.queue_count > qid) in nvme_alloc_queue() 1543 dev->ctrl.queue_count++; in nvme_alloc_queue() 1779 for (i = dev->ctrl.queue_count; i <= dev->max_qid; i++) { in nvme_create_io_queues() 1786 max = min(dev->max_qid, dev->ctrl.queue_count - 1); in nvme_create_io_queues() 2596 if (!dead && dev->ctrl.queue_count > 0) { in nvme_dev_disable()
|
/linux-6.6.21/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-6.6.21/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 | 118 if (!queue_empty(q, q->type) && (num_elem < queue_count(q, type))) in resize_finish()
|
D | rxe_queue.h | 170 static inline u32 queue_count(const struct rxe_queue *q, in queue_count() function
|
/linux-6.6.21/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-6.6.21/drivers/scsi/hisi_sas/ |
D | hisi_sas_v3_hw.c | 612 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() 2656 for (i = 0; i < hisi_hba->queue_count; i++) in interrupt_disable_v3_hw() 3124 (u32)((1ULL << hisi_hba->queue_count) - 1)); in debugfs_snapshot_restore_v3_hw() 3408 experimental_iopoll_q_cnt >= hisi_hba->queue_count) in hisi_sas_shost_alloc_pci() 3432 for (i = 0; i < hisi_hba->queue_count; i++) in debugfs_snapshot_cq_reg_v3_hw() 3444 for (i = 0; i < hisi_hba->queue_count; i++) { in debugfs_snapshot_dq_reg_v3_hw() 3820 for (c = 0; c < hisi_hba->queue_count; c++) { in debugfs_create_files_v3_hw() 3830 for (d = 0; d < hisi_hba->queue_count; d++) { in debugfs_create_files_v3_hw() [all …]
|
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() 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()
|
D | hisi_sas_main.c | 668 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()
|
/linux-6.6.21/drivers/net/wireless/microchip/wilc1000/ |
D | netdev.c | 729 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()
|
/linux-6.6.21/drivers/net/wireless/intel/iwlwifi/dvm/ |
D | rs.h | 309 u8 queue_count; /* number of queues that has member
|
D | rs.c | 232 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-6.6.21/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()
|