Home
last modified time | relevance | path

Searched refs:tl2 (Results 1 – 2 of 2) sorted by relevance

/Linux-v6.6/drivers/net/ethernet/cavium/thunder/
Dnic_main.c616 u32 tl2, tl3, tl4; in nic_tx_channel_cfg() local
678 tl2 = tl3 >> 2; in nic_tx_channel_cfg()
679 nic_reg_write(nic, NIC_PF_TL3A_0_63_CFG | (tl2 << 3), tl2); in nic_tx_channel_cfg()
680 nic_reg_write(nic, NIC_PF_TL2_0_63_CFG | (tl2 << 3), rr_quantum); in nic_tx_channel_cfg()
682 nic_reg_write(nic, NIC_PF_TL2_0_63_PRI | (tl2 << 3), 0x00); in nic_tx_channel_cfg()
691 nic_reg_write(nic, NIC_PF_TL2_LMAC | (tl2 << 3), in nic_tx_channel_cfg()
/Linux-v6.6/drivers/net/ethernet/marvell/octeontx2/af/
Drvu_nix.c2191 int tl2; in nix_smq_flush_enadis_xoff() local
2199 for (tl2 = 0; tl2 < txsch->schq.max; tl2++) { in nix_smq_flush_enadis_xoff()
2201 if (tl2 == smq_flush_ctx->tl2_schq) in nix_smq_flush_enadis_xoff()
2204 if (TXSCH_MAP_FLAGS(txsch->pfvf_map[tl2]) & NIX_TXSCHQ_FREE) in nix_smq_flush_enadis_xoff()
2207 if ((TXSCH_MAP_FUNC(txsch->pfvf_map[tl2]) & ~RVU_PFVF_FUNC_MASK) != in nix_smq_flush_enadis_xoff()
2212 regoff = NIX_AF_TL2X_SW_XOFF(tl2); in nix_smq_flush_enadis_xoff()