Home
last modified time | relevance | path

Searched refs:oq (Results 1 – 15 of 15) sorted by relevance

/drivers/net/ethernet/cavium/liquidio/
Dcn23xx_vf_regs.h164 #define CN23XX_VF_SLI_OQ_PKT_CONTROL(oq) \ argument
165 (CN23XX_VF_SLI_OQ_PKT_CONTROL_START + ((oq) * CN23XX_VF_OQ_OFFSET))
167 #define CN23XX_VF_SLI_OQ_BASE_ADDR64(oq) \ argument
168 (CN23XX_VF_SLI_OQ_BASE_ADDR_START64 + ((oq) * CN23XX_VF_OQ_OFFSET))
170 #define CN23XX_VF_SLI_OQ_SIZE(oq) \ argument
171 (CN23XX_VF_SLI_OQ_SIZE_START + ((oq) * CN23XX_VF_OQ_OFFSET))
173 #define CN23XX_VF_SLI_OQ_BUFF_INFO_SIZE(oq) \ argument
174 (CN23XX_VF_SLI_OQ0_BUFF_INFO_SIZE + ((oq) * CN23XX_VF_OQ_OFFSET))
176 #define CN23XX_VF_SLI_OQ_PKTS_SENT(oq) \ argument
177 (CN23XX_VF_SLI_OQ_PKT_SENT_START + ((oq) * CN23XX_VF_OQ_OFFSET))
[all …]
Dcn23xx_pf_regs.h282 #define CN23XX_SLI_OQ_PKT_CONTROL(oq) \ argument
283 (CN23XX_SLI_OQ_PKT_CONTROL_START + ((oq) * CN23XX_OQ_OFFSET))
285 #define CN23XX_SLI_OQ_BASE_ADDR64(oq) \ argument
286 (CN23XX_SLI_OQ_BASE_ADDR_START64 + ((oq) * CN23XX_OQ_OFFSET))
288 #define CN23XX_SLI_OQ_SIZE(oq) \ argument
289 (CN23XX_SLI_OQ_SIZE_START + ((oq) * CN23XX_OQ_OFFSET))
291 #define CN23XX_SLI_OQ_BUFF_INFO_SIZE(oq) \ argument
292 (CN23XX_SLI_OQ0_BUFF_INFO_SIZE + ((oq) * CN23XX_OQ_OFFSET))
294 #define CN23XX_SLI_OQ_PKTS_SENT(oq) \ argument
295 (CN23XX_SLI_OQ_PKT_SENT_START + ((oq) * CN23XX_OQ_OFFSET))
[all …]
Dcn66xx_regs.h277 #define CN6XXX_SLI_OQ_BASE_ADDR64(oq) \ argument
278 (CN6XXX_SLI_OQ_BASE_ADDR_START64 + ((oq) * CN6XXX_OQ_OFFSET))
280 #define CN6XXX_SLI_OQ_SIZE(oq) \ argument
281 (CN6XXX_SLI_OQ_SIZE_START + ((oq) * CN6XXX_OQ_OFFSET))
283 #define CN6XXX_SLI_OQ_BUFF_INFO_SIZE(oq) \ argument
284 (CN6XXX_SLI_OQ0_BUFF_INFO_SIZE + ((oq) * CN6XXX_OQ_OFFSET))
286 #define CN6XXX_SLI_OQ_PKTS_SENT(oq) \ argument
287 (CN6XXX_SLI_OQ_PKT_SENT_START + ((oq) * CN6XXX_OQ_OFFSET))
289 #define CN6XXX_SLI_OQ_PKTS_CREDIT(oq) \ argument
290 (CN6XXX_SLI_OQ_PKT_CREDITS_START + ((oq) * CN6XXX_OQ_OFFSET))
Docteon_config.h131 #define CFG_GET_OQ_MAX_Q(cfg) ((cfg)->oq.max_oqs)
132 #define CFG_GET_OQ_PKTS_PER_INTR(cfg) ((cfg)->oq.pkts_per_intr)
133 #define CFG_GET_OQ_REFILL_THRESHOLD(cfg) ((cfg)->oq.refill_threshold)
134 #define CFG_GET_OQ_INTR_PKT(cfg) ((cfg)->oq.oq_intr_pkt)
135 #define CFG_GET_OQ_INTR_TIME(cfg) ((cfg)->oq.oq_intr_time)
136 #define CFG_SET_OQ_INTR_PKT(cfg, val) (cfg)->oq.oq_intr_pkt = val
137 #define CFG_SET_OQ_INTR_TIME(cfg, val) (cfg)->oq.oq_intr_time = val
413 struct octeon_oq_config oq; member
Dcn66xx_device.c343 mask |= oct->io_qmask.oq; in lio_cn6xxx_enable_io_queues()
378 mask ^= oct->io_qmask.oq; in lio_cn6xxx_disable_io_queues()
383 mask = (u32)oct->io_qmask.oq; in lio_cn6xxx_disable_io_queues()
393 if (!(oct->io_qmask.oq & BIT_ULL(i))) in lio_cn6xxx_disable_io_queues()
521 droq_mask &= oct->io_qmask.oq; in lio_cn6xxx_process_droq_intr_regs()
557 droq_time_mask &= oct->io_qmask.oq; in lio_cn6xxx_process_droq_intr_regs()
558 droq_cnt_mask &= oct->io_qmask.oq; in lio_cn6xxx_process_droq_intr_regs()
Docteon_device.c52 .oq = {
161 .oq = {
327 .oq = {
430 .oq = {
650 if (oct->io_qmask.oq & BIT_ULL(i)) in octeon_free_device_mem()
1283 (oct->io_qmask.oq & BIT_ULL(q_no))) in octeon_get_rx_qsize()
Docteon_droq.c212 oct->io_qmask.oq &= ~(1ULL << q_no); in octeon_delete_droq()
309 oct->io_qmask.oq |= BIT_ULL(q_no); in octeon_init_droq()
Docteon_device.h189 u64 oq; member
Dcn23xx_vf_device.c347 if (oct->io_qmask.oq & BIT_ULL(q_no)) { in cn23xx_enable_vf_io_queues()
Dlio_ethtool.c1151 if (!(oct->io_qmask.oq & BIT_ULL(i))) in lio_reset_queues()
1677 if (!(oct_dev->io_qmask.oq & BIT_ULL(j))) in lio_get_ethtool_stats()
1876 if (!(oct_dev->io_qmask.oq & BIT_ULL(i))) in lio_get_strings()
1924 if (!(oct_dev->io_qmask.oq & BIT_ULL(i))) in lio_vf_get_strings()
Dlio_vf_main.c86 if (!(oct->io_qmask.oq & BIT_ULL(i))) in lio_wait_for_oq_pkts()
550 if (!(oct->io_qmask.oq & BIT_ULL(i))) in octeon_destroy_resources()
Dlio_main.c174 if (!(oct->io_qmask.oq & BIT_ULL(q_no))) in octeon_droq_bh()
209 if (!(oct->io_qmask.oq & BIT_ULL(i))) in lio_wait_for_oq_pkts()
1103 if (!(oct->io_qmask.oq & BIT_ULL(i))) in octeon_destroy_resources()
Dcn23xx_pf_device.c856 if (oct->io_qmask.oq & BIT_ULL(q_no - srn)) { in cn23xx_enable_io_queues()
Dlio_core.c1270 if (!(oct->io_qmask.oq & BIT_ULL(idx))) in lio_wait_for_clean_oq()
/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_main.c586 struct sge_uld_txq *oq; in fwevtq_handler() local
588 oq = container_of(txq, struct sge_uld_txq, q); in fwevtq_handler()
589 tasklet_schedule(&oq->qresume_tsk); in fwevtq_handler()