Lines Matching +full:bm +full:- +full:work
1 /* SPDX-License-Identifier: GPL-2.0 */
355 /* Packet Processor per-port counters */
420 /* Per-port registers */
485 /* Per-port XGMAC registers. PPv2.2 and PPv2.3, only for GOP port 0,
486 * relative to port->base.
522 /* SMI registers. PPv2.2 and PPv2.3, relative to priv->iface_base. */
526 /* TAI registers, PPv2.2 only, relative to priv->iface_base */
596 (((index) < (q)->last_desc) ? ((index) + 1) : 0)
714 /* Maximum number of T-CONTs of PON port */
754 #define MVPP2_TX_DESC_ALIGN (MVPP2_DESC_ALIGNED_SIZE - 1)
771 ((kb) * 1024 - MVPP2_TX_FIFO_THRESHOLD_MIN)
844 ((total_size) - MVPP2_SKB_HEADROOM - MVPP2_SKB_SHINFO_SIZE)
846 #define MVPP2_MAX_RX_BUF_SIZE (PAGE_SIZE - MVPP2_SKB_SHINFO_SIZE - MVPP2_SKB_HEADROOM)
855 /* There are 7 supported high-level flows */
929 /* BM constants */
933 #define MVPP2_BM_POOL_SIZE_MAX (16*1024 - MVPP2_BM_POOL_PTR_ALIGN/4)
937 /* BM cookie (32 bits) definition */
944 /* BM short pool packet size
1018 __le16 reserved1; /* bm_qset (for future use, BM) */
1070 /* Are we using page_pool with per-cpu pools? */
1073 /* BM pools */
1129 /* Per-CPU port control */
1166 /* TCAM key and mask for C2-based steering. These fields should be
1200 /* Per-port registers' base address */
1214 /* Per-CPU port control */
1217 /* Protect the BM refills and the Tx paths when a thread is used on more
1233 /* Per-port work and its lock to gather hardware statistics */
1316 __le32 reserved1[3]; /* hw_cmd (for future use, BM, PON, PNC) */
1329 u8 reserved4; /* bm_qset (for future use, BM) */
1398 /* Per-CPU Tx queue control */
1443 /* Per-CPU control of physical Tx queues */
1462 /* RX queue number, in the range 0-31 for physical RXQs */
1495 /* Pool number in the range 0-7 */
1515 /* Ports using BM pool */
1520 ((addr) >= (txq_pcpu)->tso_headers_dma && \
1521 (addr) < (txq_pcpu)->tso_headers_dma + \
1522 (txq_pcpu)->size * TSO_HEADER_SIZE)
1561 return -1; in mvpp22_tai_ptp_clock_index()
1567 return IS_ENABLED(CONFIG_MVPP2_PTP) && port->rx_hwtstamp; in mvpp22_rx_hwtstamping()