Searched refs:fmt_idx (Results 1 – 1 of 1) sorted by relevance
1899 int fmt_idx; in rvu_nix_reserve_mark_format() local1901 for (fmt_idx = 0; fmt_idx < nix_hw->mark_format.in_use; fmt_idx++) { in rvu_nix_reserve_mark_format()1902 if (nix_hw->mark_format.cfg[fmt_idx] == cfg) in rvu_nix_reserve_mark_format()1903 return fmt_idx; in rvu_nix_reserve_mark_format()1905 if (fmt_idx >= nix_hw->mark_format.total) in rvu_nix_reserve_mark_format()1908 rvu_write64(rvu, blkaddr, NIX_AF_MARK_FORMATX_CTL(fmt_idx), cfg); in rvu_nix_reserve_mark_format()1909 nix_hw->mark_format.cfg[fmt_idx] = cfg; in rvu_nix_reserve_mark_format()1911 return fmt_idx; in rvu_nix_reserve_mark_format()