Home
last modified time | relevance | path

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

/drivers/mmc/host/
Dmmc_hsq.c43 if (!hsq->qcnt || !hsq->enabled) { in mmc_hsq_pump_requests()
50 hsq->qcnt--; in mmc_hsq_pump_requests()
118 remains = hsq->qcnt; in mmc_hsq_post_request()
200 remains = hsq->qcnt; in mmc_hsq_recovery_finish()
239 hsq->qcnt++; in mmc_hsq_request()
260 is_idle = (!hsq->mrq && !hsq->qcnt) || in mmc_hsq_queue_is_idle()
Dcqhci-core.c646 cq_host->qcnt += 1; in cqhci_request()
710 if (!cq_host->qcnt) { in cqhci_error_irq()
799 cq_host->qcnt -= 1; in cqhci_finish_mrq()
851 if (cq_host->waiting_for_idle && !cq_host->qcnt) { in cqhci_irq()
875 is_idle = !cq_host->qcnt || cq_host->recovery_halt; in cqhci_is_idle()
1034 cq_host->qcnt -= 1; in cqhci_recover_mrq()
1103 WARN_ON(cq_host->qcnt); in cqhci_recovery_finish()
1106 cq_host->qcnt = 0; in cqhci_recovery_finish()
Dmmc_hsq.h19 int qcnt; member
Dcqhci.h231 int qcnt; member
/drivers/staging/rtl8723bs/core/
Drtw_sta_mgt.c301 phwxmit->accnt -= pstaxmitpriv->vo_q.qcnt; in rtw_free_stainfo()
302 pstaxmitpriv->vo_q.qcnt = 0; in rtw_free_stainfo()
310 phwxmit->accnt -= pstaxmitpriv->vi_q.qcnt; in rtw_free_stainfo()
311 pstaxmitpriv->vi_q.qcnt = 0; in rtw_free_stainfo()
319 phwxmit->accnt -= pstaxmitpriv->be_q.qcnt; in rtw_free_stainfo()
320 pstaxmitpriv->be_q.qcnt = 0; in rtw_free_stainfo()
328 phwxmit->accnt -= pstaxmitpriv->bk_q.qcnt; in rtw_free_stainfo()
329 pstaxmitpriv->bk_q.qcnt = 0; in rtw_free_stainfo()
Drtw_xmit.c17 ptxservq->qcnt = 0; in _init_txservq()
1810 ptxservq->qcnt++; in rtw_xmit_classifier()
2142 ptxservq->qcnt--; in dequeue_xmitframes_to_sleeping_queue()
/drivers/scsi/
Datp870u.h12 #define qcnt 32 macro
44 struct scsi_cmnd *quereq[2][qcnt];
Datp870u.c672 if (dev->quend[c] >= qcnt) { in atp870u_queuecommand_lck()
681 dev->quend[c] = qcnt; in atp870u_queuecommand_lck()
761 if (dev->quhd[c] >= qcnt) in DEF_SCSI_QCMD()
1294 for (k = 0; k < qcnt; k++) { in atp870u_init_tables()
1750 .can_queue = qcnt /* can_queue */,
/drivers/ptp/
Dptp_sysfs.c70 size_t qcnt; in extts_fifo_show() local
79 qcnt = queue_cnt(queue); in extts_fifo_show()
80 if (qcnt) { in extts_fifo_show()
87 if (!qcnt) in extts_fifo_show()
Dptp_chardev.c450 size_t qcnt, i; in ptp_read() local
483 qcnt = queue_cnt(queue); in ptp_read()
485 if (cnt > qcnt) in ptp_read()
486 cnt = qcnt; in ptp_read()
/drivers/net/ethernet/mellanox/mlx5/core/
Den_stats.c490 static MLX5E_DECLARE_STATS_GRP_OP_NUM_STATS(qcnt) in MLX5E_DECLARE_STATS_GRP_OP_NUM_STATS() argument
503 static MLX5E_DECLARE_STATS_GRP_OP_FILL_STRS(qcnt) in MLX5E_DECLARE_STATS_GRP_OP_FILL_STRS() argument
518 static MLX5E_DECLARE_STATS_GRP_OP_FILL_STATS(qcnt) in MLX5E_DECLARE_STATS_GRP_OP_FILL_STATS() argument
523 data[idx++] = MLX5E_READ_CTR32_CPU(&priv->stats.qcnt, in MLX5E_DECLARE_STATS_GRP_OP_FILL_STATS()
526 data[idx++] = MLX5E_READ_CTR32_CPU(&priv->stats.qcnt, in MLX5E_DECLARE_STATS_GRP_OP_FILL_STATS()
531 static MLX5E_DECLARE_STATS_GRP_OP_UPDATE_STATS(qcnt) in MLX5E_DECLARE_STATS_GRP_OP_UPDATE_STATS() argument
533 struct mlx5e_qcounter_stats *qcnt = &priv->stats.qcnt; in MLX5E_DECLARE_STATS_GRP_OP_UPDATE_STATS() local
545 qcnt->rx_out_of_buffer = MLX5_GET(query_q_counter_out, in MLX5E_DECLARE_STATS_GRP_OP_UPDATE_STATS()
554 qcnt->rx_if_down_packets = MLX5_GET(query_q_counter_out, in MLX5E_DECLARE_STATS_GRP_OP_UPDATE_STATS()
2227 MLX5E_DEFINE_STATS_GRP(qcnt, MLX5E_NDO_UPDATE_STATS);
[all …]
Den_stats.h425 struct mlx5e_qcounter_stats qcnt; member
437 extern MLX5E_DECLARE_STATS_GRP(qcnt);
Den_rep.c1068 &MLX5E_STATS_GRP(qcnt),
Den_main.c3188 stats->rx_dropped = priv->stats.qcnt.rx_out_of_buffer; in mlx5e_get_stats()
/drivers/staging/rtl8712/
Drtl8712_xmit.c79 return ptxservq->qcnt; in r8712_txframes_sta_ac_pending()
163 ptxservq->qcnt--; in dequeue_one_xmitframe()
Drtl871x_xmit.h163 int qcnt; member
Drtl871x_xmit.c37 ptxservq->qcnt = 0; in _init_txservq()
944 ptxservq->qcnt++; in r8712_xmit_classifier()
/drivers/staging/r8188eu/core/
Drtw_xmit.c21 ptxservq->qcnt = 0; in _init_txservq()
865 return ptxservq->qcnt; in rtw_txframes_sta_ac_pending()
1395 ptxservq->qcnt--; in dequeue_one_xmitframe()
1516 ptxservq->qcnt++; in rtw_xmit_classifier()
1917 ptxservq->qcnt--; in dequeue_xmitframes_to_sleeping_queue()
/drivers/staging/r8188eu/include/
Drtw_xmit.h225 int qcnt; member
/drivers/staging/rtl8723bs/include/
Drtw_xmit.h303 int qcnt; member
/drivers/staging/rtl8723bs/hal/
Drtl8723bs_xmit.c286 ptxservq->qcnt--; in xmit_xmitframes()
/drivers/staging/r8188eu/hal/
Drtl8188eu_xmit.c526 ptxservq->qcnt--; in rtl8188eu_xmitframe_complete()
/drivers/net/ethernet/mellanox/mlx5/core/ipoib/
Dipoib.c411 &MLX5E_STATS_GRP(qcnt),
/drivers/net/ethernet/intel/i40e/
Di40e_main.c7849 static int i40e_setup_macvlans(struct i40e_vsi *vsi, u16 macvlan_cnt, u16 qcnt, in i40e_setup_macvlans() argument
7863 num_qps = vsi->num_queue_pairs - (macvlan_cnt * qcnt); in i40e_setup_macvlans()
7886 vsi->rss_size = max_t(u16, num_qps, qcnt); in i40e_setup_macvlans()
7924 ch->num_queue_pairs = qcnt; in i40e_setup_macvlans()
/drivers/net/ethernet/broadcom/
Dtg3.c9817 static void tg3_rss_init_dflt_indir_tbl(struct tg3 *tp, u32 qcnt) in tg3_rss_init_dflt_indir_tbl() argument
9822 tp->rss_ind_tbl[i] = ethtool_rxfh_indir_default(i, qcnt); in tg3_rss_init_dflt_indir_tbl()