Home
last modified time | relevance | path

Searched refs:hw_q (Results 1 – 9 of 9) sorted by relevance

/linux/drivers/net/wireless/mediatek/mt7601u/
H A Dtx.c201 int hw_q = skb2q(skb); in mt7601u_tx() local
222 if (mt7601u_dma_enqueue_tx(dev, skb, wcid, hw_q)) in mt7601u_tx()
265 u8 cw_min = 5, cw_max = 10, hw_q = q2hwq(queue); in mt7601u_conf_tx() local
289 if (!hw_q) in mt7601u_conf_tx()
293 mt76_wr(dev, MT_EDCA_CFG_AC(hw_q), val); in mt7601u_conf_tx()
295 val = mt76_rr(dev, MT_WMM_TXOP(hw_q)); in mt7601u_conf_tx()
296 val &= ~(MT_WMM_TXOP_MASK << MT_WMM_TXOP_SHIFT(hw_q)); in mt7601u_conf_tx()
297 val |= params->txop << MT_WMM_TXOP_SHIFT(hw_q); in mt7601u_conf_tx()
298 mt76_wr(dev, MT_WMM_TXOP(hw_q), val); in mt7601u_conf_tx()
301 val &= ~(MT_WMM_AIFSN_MASK << MT_WMM_AIFSN_SHIFT(hw_q)); in mt7601u_conf_tx()
[all …]
H A Ddma.c367 struct mt76_wcid *wcid, int hw_q) in mt7601u_dma_enqueue_tx() argument
369 u8 ep = q2ep(hw_q); in mt7601u_dma_enqueue_tx()
H A Dmt7601u.h391 struct mt76_wcid *wcid, int hw_q);
/linux/drivers/net/ethernet/cadence/
H A Dmacb.h215 #define GEM_ISR(hw_q) (0x0400 + ((hw_q) << 2)) argument
216 #define GEM_TBQP(hw_q) (0x0440 + ((hw_q) << 2)) argument
217 #define GEM_RBQP(hw_q) (0x0480 + ((hw_q) << 2)) argument
218 #define GEM_RBQS(hw_q) (0x04A0 + ((hw_q) << 2)) argument
219 #define GEM_IER(hw_q) (0x0600 + ((hw_q) << 2)) argument
220 #define GEM_IDR(hw_q) (0x0620 + ((hw_q) << 2)) argument
221 #define GEM_IMR(hw_q) (0x0640 + ((hw_q) << 2)) argument
223 #define GEM_ENST_START_TIME(hw_q) (0x0800 + ((hw_q) << 2)) argument
224 #define GEM_ENST_ON_TIME(hw_q) (0x0820 + ((hw_q) << 2)) argument
225 #define GEM_ENST_OFF_TIME(hw_q) (0x0840 + ((hw_q) << 2)) argument
/linux/drivers/net/ethernet/marvell/octeon_ep/
H A Doctep_ctrl_mbox.c112 mbox->h2fq.hw_q = mbox->barmem + OCTEP_CTRL_MBOX_TOTAL_INFO_SZ; in octep_ctrl_mbox_init()
117 mbox->f2hq.hw_q = mbox->barmem + in octep_ctrl_mbox_init()
139 qbuf = (q->hw_q + *pi); in octep_write_mbox_data()
153 qbuf = (q->hw_q + *pi); in octep_write_mbox_data()
204 qbuf = (q->hw_q + *ci); in octep_read_mbox_data()
218 qbuf = (q->hw_q + *ci); in octep_read_mbox_data()
H A Doctep_ctrl_mbox.h122 u8 __iomem *hw_q; member
/linux/drivers/net/ethernet/meta/fbnic/
H A Dfbnic_netdev.c471 rx_over += fbd->hw_stats.hw_q[i].rde_pkt_cq_drop.value; in fbnic_get_stats64()
472 rx_over += fbd->hw_stats.hw_q[i].rde_pkt_bdq_drop.value; in fbnic_get_stats64()
475 rx_errors += fbd->hw_stats.hw_q[i].rde_pkt_err.value; in fbnic_get_stats64()
622 fbnic_get_hw_q_stats(fbd, fbd->hw_stats.hw_q); in fbnic_get_queue_stats_rx()
625 rx->hw_drop_overruns = fbd->hw_stats.hw_q[idx].rde_pkt_cq_drop.value + in fbnic_get_queue_stats_rx()
626 fbd->hw_stats.hw_q[idx].rde_pkt_bdq_drop.value; in fbnic_get_queue_stats_rx()
627 rx->hw_drops = fbd->hw_stats.hw_q[idx].rde_pkt_err.value + in fbnic_get_queue_stats_rx()
H A Dfbnic_ethtool.c571 const struct fbnic_hw_q_stats *hw_q = &fbd->hw_stats.hw_q[i]; in fbnic_get_ethtool_stats() local
573 fbnic_report_hw_stats(fbnic_gstrings_hw_q_stats, hw_q, in fbnic_get_ethtool_stats()
/linux/drivers/scsi/elx/efct/
H A Defct_hw_queues.c406 struct hw_q *q; in efct_hw_del_cq()
407 struct hw_q *q_next; in efct_hw_del_cq()