Home
last modified time | relevance | path

Searched refs:rsrc_bmap (Results 1 - 9 of 9) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/marvell/octeontx2/af/
H A Drvu.h71 struct rsrc_bmap { struct
77 struct rsrc_bmap lf;
109 struct rsrc_bmap counters;
145 struct rsrc_bmap msix; /* Bitmap for MSIX vector alloc */
192 struct rsrc_bmap schq;
210 struct rsrc_bmap rsrc;
431 int rvu_alloc_bitmap(struct rsrc_bmap *rsrc);
432 int rvu_alloc_rsrc(struct rsrc_bmap *rsrc);
433 void rvu_free_rsrc(struct rsrc_bmap *rsrc, int id);
434 int rvu_rsrc_free_count(struct rsrc_bmap *rsr
[all...]
H A Drvu.c115 int rvu_alloc_rsrc(struct rsrc_bmap *rsrc) in rvu_alloc_rsrc()
131 int rvu_alloc_rsrc_contig(struct rsrc_bmap *rsrc, int nrsrc) in rvu_alloc_rsrc_contig()
146 static void rvu_free_rsrc_contig(struct rsrc_bmap *rsrc, int nrsrc, int start) in rvu_free_rsrc_contig()
156 bool rvu_rsrc_check_contig(struct rsrc_bmap *rsrc, int nrsrc) in rvu_rsrc_check_contig()
170 void rvu_free_rsrc(struct rsrc_bmap *rsrc, int id) in rvu_free_rsrc()
178 int rvu_rsrc_free_count(struct rsrc_bmap *rsrc) in rvu_rsrc_free_count()
189 int rvu_alloc_bitmap(struct rsrc_bmap *rsrc) in rvu_alloc_bitmap()
/kernel/linux/linux-6.6/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 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 Drvu.h92 struct rsrc_bmap { struct
98 struct rsrc_bmap lf;
163 struct rsrc_bmap counters;
206 struct rsrc_bmap msix; /* Bitmap for MSIX vector alloc */
274 struct rsrc_bmap schq;
308 struct rsrc_bmap rsrc;
325 struct rsrc_bmap rsrc;
331 struct rsrc_bmap band_prof;
740 int rvu_alloc_bitmap(struct rsrc_bmap *rsrc);
741 void rvu_free_bitmap(struct rsrc_bmap *rsr
[all...]
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 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 static 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 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_debugfs.c270 struct rsrc_bmap *map; in rvu_dbg_mcs_sa_stats_display()
323 struct rsrc_bmap *map; in rvu_dbg_mcs_tx_sc_stats_display()
353 struct rsrc_bmap *map; in rvu_dbg_mcs_rx_sc_stats_display()
390 struct rsrc_bmap *map; in rvu_dbg_mcs_flowid_stats_display()
427 struct rsrc_bmap *map; in rvu_dbg_mcs_tx_secy_stats_display()
470 struct rsrc_bmap *map; in rvu_dbg_mcs_rx_secy_stats_display()

Completed in 17 milliseconds