Searched refs:hw_q (Results 1 – 10 of 10) sorted by relevance
/openbmc/linux/drivers/net/wireless/mediatek/mt7601u/ |
H A 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() 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 D | dma.c | 367 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 D | mt7601u.h | 391 struct mt76_wcid *wcid, int hw_q);
|
/openbmc/linux/drivers/net/ethernet/cadence/ |
H A D | macb.h | 213 #define GEM_ISR(hw_q) (0x0400 + ((hw_q) << 2)) argument 214 #define GEM_TBQP(hw_q) (0x0440 + ((hw_q) << 2)) argument 215 #define GEM_TBQPH(hw_q) (0x04C8) argument 216 #define GEM_RBQP(hw_q) (0x0480 + ((hw_q) << 2)) argument 217 #define GEM_RBQS(hw_q) (0x04A0 + ((hw_q) << 2)) argument 218 #define GEM_RBQPH(hw_q) (0x04D4) 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
|
H A D | macb_main.c | 4069 unsigned int hw_q, q; in macb_init() local 4082 for (hw_q = 0, q = 0; hw_q < MACB_MAX_QUEUES; ++hw_q) { in macb_init() 4083 if (!(bp->queue_mask & (1 << hw_q))) in macb_init() 4091 if (hw_q) { in macb_init() 4092 queue->ISR = GEM_ISR(hw_q - 1); in macb_init() 4093 queue->IER = GEM_IER(hw_q - 1); in macb_init() 4094 queue->IDR = GEM_IDR(hw_q - 1); in macb_init() 4095 queue->IMR = GEM_IMR(hw_q - 1); in macb_init() 4096 queue->TBQP = GEM_TBQP(hw_q - 1); in macb_init() 4097 queue->RBQP = GEM_RBQP(hw_q - 1); in macb_init() [all …]
|
/openbmc/linux/drivers/net/ethernet/marvell/octeon_ep/ |
H A D | octep_ctrl_mbox.c | 112 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 D | octep_ctrl_mbox.h | 120 u8 __iomem *hw_q; member
|
/openbmc/u-boot/drivers/net/ |
H A D | macb.h | 69 #define GEM_TBQP(hw_q) (0x0440 + ((hw_q) << 2)) argument
|
/openbmc/linux/drivers/scsi/elx/efct/ |
H A D | efct_hw_queues.c | 406 struct hw_q *q; in efct_hw_del_cq() 407 struct hw_q *q_next; in efct_hw_del_cq()
|
H A D | efct_hw.h | 493 struct hw_q { struct
|