Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/cavium/thunder/
H A 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/drivers/net/ethernet/marvell/octeontx2/af/
H A Drvu_nix.c2305 int tl2; in nix_smq_flush_enadis_xoff() local
2313 for (tl2 = 0; tl2 < txsch->schq.max; tl2++) { in nix_smq_flush_enadis_xoff()
2315 if (tl2 == smq_flush_ctx->tl2_schq) in nix_smq_flush_enadis_xoff()
2318 if (TXSCH_MAP_FLAGS(txsch->pfvf_map[tl2]) & NIX_TXSCHQ_FREE) in nix_smq_flush_enadis_xoff()
2321 if ((TXSCH_MAP_FUNC(txsch->pfvf_map[tl2]) & ~RVU_PFVF_FUNC_MASK) != in nix_smq_flush_enadis_xoff()
2326 regoff = NIX_AF_TL2X_SW_XOFF(tl2); in nix_smq_flush_enadis_xoff()