Searched refs:hw_q (Results 1 – 5 of 5) sorted by relevance
/drivers/net/wireless/mediatek/mt7601u/ |
D | tx.c | 208 int hw_q = skb2q(skb); in mt7601u_tx() local 229 if (mt7601u_dma_enqueue_tx(dev, skb, wcid, hw_q)) in mt7601u_tx() 271 u8 cw_min = 5, cw_max = 10, hw_q = q2hwq(queue); in mt7601u_conf_tx() local 295 if (!hw_q) in mt7601u_conf_tx() 299 mt76_wr(dev, MT_EDCA_CFG_AC(hw_q), val); in mt7601u_conf_tx() 301 val = mt76_rr(dev, MT_WMM_TXOP(hw_q)); in mt7601u_conf_tx() 302 val &= ~(MT_WMM_TXOP_MASK << MT_WMM_TXOP_SHIFT(hw_q)); in mt7601u_conf_tx() 303 val |= params->txop << MT_WMM_TXOP_SHIFT(hw_q); in mt7601u_conf_tx() 304 mt76_wr(dev, MT_WMM_TXOP(hw_q), val); in mt7601u_conf_tx() 307 val &= ~(MT_WMM_AIFSN_MASK << MT_WMM_AIFSN_SHIFT(hw_q)); in mt7601u_conf_tx() [all …]
|
D | dma.c | 363 struct mt76_wcid *wcid, int hw_q) in mt7601u_dma_enqueue_tx() argument 365 u8 ep = q2ep(hw_q); in mt7601u_dma_enqueue_tx()
|
D | mt7601u.h | 394 struct mt76_wcid *wcid, int hw_q);
|
/drivers/net/ethernet/cadence/ |
D | macb.h | 140 #define GEM_ISR(hw_q) (0x0400 + ((hw_q) << 2)) argument 141 #define GEM_TBQP(hw_q) (0x0440 + ((hw_q) << 2)) argument 142 #define GEM_RBQP(hw_q) (0x0480 + ((hw_q) << 2)) argument 143 #define GEM_IER(hw_q) (0x0600 + ((hw_q) << 2)) argument 144 #define GEM_IDR(hw_q) (0x0620 + ((hw_q) << 2)) argument 145 #define GEM_IMR(hw_q) (0x0640 + ((hw_q) << 2)) argument
|
D | macb.c | 2249 unsigned int hw_q; in macb_probe_queues() local 2268 for (hw_q = 1; hw_q < MACB_MAX_QUEUES; ++hw_q) in macb_probe_queues() 2269 if (*queue_mask & (1 << hw_q)) in macb_probe_queues() 2328 unsigned int hw_q, q; in macb_init() local 2338 for (hw_q = 0, q = 0; hw_q < MACB_MAX_QUEUES; ++hw_q) { in macb_init() 2339 if (!(bp->queue_mask & (1 << hw_q))) in macb_init() 2344 if (hw_q) { in macb_init() 2345 queue->ISR = GEM_ISR(hw_q - 1); in macb_init() 2346 queue->IER = GEM_IER(hw_q - 1); in macb_init() 2347 queue->IDR = GEM_IDR(hw_q - 1); in macb_init() [all …]
|