Searched refs:hw_q (Results 1 – 5 of 5) sorted by relevance
/drivers/net/wireless/mediatek/mt7601u/ |
D | tx.c | 201 int hw_q = skb2q(skb); in mt7601u_tx() local 222 if (mt7601u_dma_enqueue_tx(dev, skb, wcid, hw_q)) in mt7601u_tx() 264 u8 cw_min = 5, cw_max = 10, hw_q = q2hwq(queue); in mt7601u_conf_tx() local 288 if (!hw_q) in mt7601u_conf_tx() 292 mt76_wr(dev, MT_EDCA_CFG_AC(hw_q), val); in mt7601u_conf_tx() 294 val = mt76_rr(dev, MT_WMM_TXOP(hw_q)); in mt7601u_conf_tx() 295 val &= ~(MT_WMM_TXOP_MASK << MT_WMM_TXOP_SHIFT(hw_q)); in mt7601u_conf_tx() 296 val |= params->txop << MT_WMM_TXOP_SHIFT(hw_q); in mt7601u_conf_tx() 297 mt76_wr(dev, MT_WMM_TXOP(hw_q), val); in mt7601u_conf_tx() 300 val &= ~(MT_WMM_AIFSN_MASK << MT_WMM_AIFSN_SHIFT(hw_q)); in mt7601u_conf_tx() [all …]
|
D | dma.c | 356 struct mt76_wcid *wcid, int hw_q) in mt7601u_dma_enqueue_tx() argument 358 u8 ep = q2ep(hw_q); in mt7601u_dma_enqueue_tx()
|
D | mt7601u.h | 390 struct mt76_wcid *wcid, int hw_q);
|
/drivers/net/ethernet/cadence/ |
D | macb.h | 194 #define GEM_ISR(hw_q) (0x0400 + ((hw_q) << 2)) argument 195 #define GEM_TBQP(hw_q) (0x0440 + ((hw_q) << 2)) argument 196 #define GEM_TBQPH(hw_q) (0x04C8) argument 197 #define GEM_RBQP(hw_q) (0x0480 + ((hw_q) << 2)) argument 198 #define GEM_RBQS(hw_q) (0x04A0 + ((hw_q) << 2)) argument 199 #define GEM_RBQPH(hw_q) (0x04D4) argument 200 #define GEM_IER(hw_q) (0x0600 + ((hw_q) << 2)) argument 201 #define GEM_IDR(hw_q) (0x0620 + ((hw_q) << 2)) argument 202 #define GEM_IMR(hw_q) (0x0640 + ((hw_q) << 2)) argument
|
D | macb_main.c | 3702 unsigned int hw_q, q; in macb_init() local 3715 for (hw_q = 0, q = 0; hw_q < MACB_MAX_QUEUES; ++hw_q) { in macb_init() 3716 if (!(bp->queue_mask & (1 << hw_q))) in macb_init() 3722 if (hw_q) { in macb_init() 3723 queue->ISR = GEM_ISR(hw_q - 1); in macb_init() 3724 queue->IER = GEM_IER(hw_q - 1); in macb_init() 3725 queue->IDR = GEM_IDR(hw_q - 1); in macb_init() 3726 queue->IMR = GEM_IMR(hw_q - 1); in macb_init() 3727 queue->TBQP = GEM_TBQP(hw_q - 1); in macb_init() 3728 queue->RBQP = GEM_RBQP(hw_q - 1); in macb_init() [all …]
|