Home
last modified time | relevance | path

Searched refs:rsrc_bmap (Results 1 – 8 of 8) 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 */
323 struct rsrc_bmap bpids; /* free bpids bitmap */
333 struct rsrc_bmap schq;
366 struct rsrc_bmap rsrc;
383 struct rsrc_bmap rsrc;
389 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.c128 int rvu_alloc_rsrc(struct rsrc_bmap *rsrc) in rvu_alloc_rsrc()
144 int rvu_alloc_rsrc_contig(struct rsrc_bmap *rsrc, int nrsrc) in rvu_alloc_rsrc_contig()
159 void rvu_free_rsrc_contig(struct rsrc_bmap *rsrc, int nrsrc, int start) in rvu_free_rsrc_contig()
169 bool rvu_rsrc_check_contig(struct rsrc_bmap *rsrc, int nrsrc) in rvu_rsrc_check_contig()
183 void rvu_free_rsrc(struct rsrc_bmap *rsrc, int id) in rvu_free_rsrc()
191 int rvu_rsrc_free_count(struct rsrc_bmap *rsrc) in rvu_rsrc_free_count()
202 bool is_rsrc_free(struct rsrc_bmap *rsrc, int id) in is_rsrc_free()
210 int rvu_alloc_bitmap(struct rsrc_bmap *rsrc) in rvu_alloc_bitmap()
219 void rvu_free_bitmap(struct rsrc_bmap *rsrc) in rvu_free_bitmap()
H A Drvu_debugfs.c245 struct rsrc_bmap *map; in rvu_dbg_mcs_sa_stats_display()
298 struct rsrc_bmap *map; in rvu_dbg_mcs_tx_sc_stats_display()
328 struct rsrc_bmap *map; in rvu_dbg_mcs_rx_sc_stats_display()
365 struct rsrc_bmap *map; in rvu_dbg_mcs_flowid_stats_display()
402 struct rsrc_bmap *map; in rvu_dbg_mcs_tx_secy_stats_display()
445 struct rsrc_bmap *map; in rvu_dbg_mcs_rx_secy_stats_display()
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()