Home
last modified time | relevance | path

Searched refs:mark_format (Results 1 - 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/marvell/octeontx2/af/
H A Drvu_nix.c2248 for (fmt_idx = 0; fmt_idx < nix_hw->mark_format.in_use; fmt_idx++) { in rvu_nix_reserve_mark_format()
2249 if (nix_hw->mark_format.cfg[fmt_idx] == cfg) in rvu_nix_reserve_mark_format()
2252 if (fmt_idx >= nix_hw->mark_format.total) in rvu_nix_reserve_mark_format()
2256 nix_hw->mark_format.cfg[fmt_idx] = cfg; in rvu_nix_reserve_mark_format()
2257 nix_hw->mark_format.in_use++; in rvu_nix_reserve_mark_format()
2279 nix_hw->mark_format.total = (u8)total; in nix_af_mark_format_setup()
2280 nix_hw->mark_format.cfg = devm_kcalloc(rvu->dev, total, sizeof(u32), in nix_af_mark_format_setup()
2282 if (!nix_hw->mark_format.cfg) in nix_af_mark_format_setup()
H A Drvu.h229 struct nix_mark_format mark_format; member
/kernel/linux/linux-6.6/drivers/net/ethernet/marvell/octeontx2/af/
H A Drvu_nix.c3371 for (fmt_idx = 0; fmt_idx < nix_hw->mark_format.in_use; fmt_idx++) { in rvu_nix_reserve_mark_format()
3372 if (nix_hw->mark_format.cfg[fmt_idx] == cfg) in rvu_nix_reserve_mark_format()
3375 if (fmt_idx >= nix_hw->mark_format.total) in rvu_nix_reserve_mark_format()
3379 nix_hw->mark_format.cfg[fmt_idx] = cfg; in rvu_nix_reserve_mark_format()
3380 nix_hw->mark_format.in_use++; in rvu_nix_reserve_mark_format()
3402 nix_hw->mark_format.total = (u8)total; in nix_af_mark_format_setup()
3403 nix_hw->mark_format.cfg = devm_kcalloc(rvu->dev, total, sizeof(u32), in nix_af_mark_format_setup()
3405 if (!nix_hw->mark_format.cfg) in nix_af_mark_format_setup()
H A Drvu.h343 struct nix_mark_format mark_format; member

Completed in 15 milliseconds