txsch 189 drivers/net/ethernet/marvell/octeontx2/af/rvu.h struct nix_txsch txsch[NIX_TXSCH_LVL_CNT]; /* Tx schedulers */ txsch 141 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c struct nix_txsch *txsch; txsch 149 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c txsch = &nix_hw->txsch[lvl]; txsch 151 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c if (schq >= txsch->schq.max) txsch 155 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c map_func = TXSCH_MAP_FUNC(txsch->pfvf_map[schq]); txsch 1068 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c struct nix_txsch *txsch; txsch 1081 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c txsch = &nix_hw->txsch[NIX_TXSCH_LVL_TL1]; txsch 1082 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c pfvf_map = txsch->pfvf_map; txsch 1100 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c if (schq_base + 1 > txsch->schq.max) txsch 1136 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c struct nix_txsch *txsch; txsch 1155 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c txsch = &nix_hw->txsch[lvl]; txsch 1157 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c pfvf_map = txsch->pfvf_map; txsch 1178 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c !rvu_rsrc_check_contig(&txsch->schq, req->schq_contig[lvl])) txsch 1182 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c if (req_schq >= rvu_rsrc_free_count(&txsch->schq)) txsch 1187 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c txsch = &nix_hw->txsch[lvl]; txsch 1189 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c pfvf_map = txsch->pfvf_map; txsch 1210 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c schq = rvu_alloc_rsrc_contig(&txsch->schq, txsch 1224 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c schq = rvu_alloc_rsrc(&txsch->schq); txsch 1243 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c struct nix_txsch *txsch; txsch 1265 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c txsch = &nix_hw->txsch[lvl]; txsch 1266 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c for (schq = 0; schq < txsch->schq.max; schq++) { txsch 1267 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c if (TXSCH_MAP_FUNC(txsch->pfvf_map[schq]) != pcifunc) txsch 1274 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c txsch = &nix_hw->txsch[NIX_TXSCH_LVL_SMQ]; txsch 1275 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c for (schq = 0; schq < txsch->schq.max; schq++) { txsch 1276 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c if (TXSCH_MAP_FUNC(txsch->pfvf_map[schq]) != pcifunc) txsch 1300 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c txsch = &nix_hw->txsch[lvl]; txsch 1301 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c for (schq = 0; schq < txsch->schq.max; schq++) { txsch 1302 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c if (TXSCH_MAP_FUNC(txsch->pfvf_map[schq]) != pcifunc) txsch 1304 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c rvu_free_rsrc(&txsch->schq, schq); txsch 1305 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c txsch->pfvf_map[schq] = 0; txsch 1325 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c struct nix_txsch *txsch; txsch 1344 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c txsch = &nix_hw->txsch[lvl]; txsch 1348 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c schq >= txsch->schq.max) txsch 1351 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c pfvf_map = txsch->pfvf_map; txsch 1378 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c rvu_free_rsrc(&txsch->schq, schq); txsch 1379 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c txsch->pfvf_map[schq] = 0; txsch 1452 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c pfvf_map = nix_hw->txsch[NIX_TXSCH_LVL_TL1].pfvf_map; txsch 1496 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c struct nix_txsch *txsch; txsch 1519 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c txsch = &nix_hw->txsch[req->lvl]; txsch 1520 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c pfvf_map = txsch->pfvf_map; txsch 1536 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c txsch->lvl, reg, regval)) txsch 1851 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c struct nix_txsch *txsch; txsch 1859 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c txsch = &nix_hw->txsch[lvl]; txsch 1860 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c txsch->lvl = lvl; txsch 1879 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c txsch->schq.max = cfg & 0xFFFF; txsch 1880 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c err = rvu_alloc_bitmap(&txsch->schq); txsch 1887 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c txsch->pfvf_map = devm_kcalloc(rvu->dev, txsch->schq.max, txsch 1889 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c if (!txsch->pfvf_map) txsch 1891 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c memset(txsch->pfvf_map, U8_MAX, txsch->schq.max * sizeof(u32)); txsch 2374 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c struct nix_txsch *txsch; txsch 2398 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c txsch = &nix_hw->txsch[NIX_TXSCH_LVL_SMQ]; txsch 2400 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c for (schq = 0; schq < txsch->schq.max; schq++) { txsch 2401 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c if (TXSCH_MAP_FUNC(txsch->pfvf_map[schq]) != pcifunc) txsch 2799 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c struct nix_txsch *txsch; txsch 2817 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c txsch = &nix_hw->txsch[lvl]; txsch 2818 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c kfree(txsch->schq.bmap);