Home
last modified time | relevance | path

Searched refs:rsrc_bmap (Results 1 – 7 of 7) sorted by relevance

/linux/drivers/net/ethernet/marvell/octeontx2/af/
H A Dmcs.h115 struct rsrc_bmap flow_ids;
116 struct rsrc_bmap secy;
117 struct rsrc_bmap sc;
118 struct rsrc_bmap sa;
119 struct rsrc_bmap ctrlpktrule;
181 int mcs_alloc_rsrc(struct rsrc_bmap *rsrc, u16 *pf_map, u16 pcifunc);
182 int mcs_free_rsrc(struct rsrc_bmap *rsrc, u16 *pf_map, int rsrc_id, u16 pcifunc);
207 int mcs_alloc_ctrlpktrule(struct rsrc_bmap *rsrc, u16 *pf_map, u16 offset, u16 pcifunc);
H A Drvu.h123 struct rsrc_bmap { struct
129 struct rsrc_bmap lf; argument
153 struct rsrc_bmap mce_counter[2];
212 struct rsrc_bmap counters;
255 struct rsrc_bmap msix; /* Bitmap for MSIX vector alloc */
324 struct rsrc_bmap bpids; /* free bpids bitmap */
334 struct rsrc_bmap schq;
367 struct rsrc_bmap rsrc;
384 struct rsrc_bmap rsrc;
390 struct rsrc_bmap band_prof;
[all …]
H A Dlmac_common.h38 struct rsrc_bmap mac_to_index_bmap;
39 struct rsrc_bmap rx_fc_pfvf_bmap;
40 struct rsrc_bmap tx_fc_pfvf_bmap;
H A Dmcs_cnf10kb.c159 struct rsrc_bmap *sc_bmap; in cnf10kb_mcs_tx_pn_thresh_reached_handler()
195 struct rsrc_bmap *sc_bmap; in cnf10kb_mcs_tx_pn_wrapped_handler()
H A Dmcs.c565 int mcs_alloc_ctrlpktrule(struct rsrc_bmap *rsrc, u16 *pf_map, u16 offset, u16 pcifunc) in mcs_alloc_ctrlpktrule()
700 int mcs_free_rsrc(struct rsrc_bmap *rsrc, u16 *pf_map, int rsrc_id, u16 pcifunc) in mcs_free_rsrc()
760 int mcs_alloc_rsrc(struct rsrc_bmap *rsrc, u16 *pf_map, u16 pcifunc) in mcs_alloc_rsrc()
813 struct rsrc_bmap *sc_bmap; in cn10kb_mcs_tx_pn_wrapped_handler()
840 struct rsrc_bmap *sc_bmap; in cn10kb_mcs_tx_pn_thresh_reached_handler()
H A Drvu.c129 int rvu_alloc_rsrc(struct rsrc_bmap *rsrc) in rvu_alloc_rsrc()
145 int rvu_alloc_rsrc_contig(struct rsrc_bmap *rsrc, int nrsrc) in rvu_alloc_rsrc_contig()
160 void rvu_free_rsrc_contig(struct rsrc_bmap *rsrc, int nrsrc, int start) in rvu_free_rsrc_contig()
170 bool rvu_rsrc_check_contig(struct rsrc_bmap *rsrc, int nrsrc) in rvu_rsrc_check_contig()
184 void rvu_free_rsrc(struct rsrc_bmap *rsrc, int id) in rvu_free_rsrc()
192 int rvu_rsrc_free_count(struct rsrc_bmap *rsrc) in rvu_rsrc_free_count()
203 bool is_rsrc_free(struct rsrc_bmap *rsrc, int id) in is_rsrc_free()
211 int rvu_alloc_bitmap(struct rsrc_bmap *rsrc) in rvu_alloc_bitmap()
220 void rvu_free_bitmap(struct rsrc_bmap *rsrc) in rvu_free_bitmap()
H A Drvu_nix.c178 struct rsrc_bmap *mce_counter; in nix_alloc_mce_list()
194 struct rsrc_bmap *mce_counter; in nix_free_mce_list()