Home
last modified time | relevance | path

Searched refs:cgx_users (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/net/ethernet/marvell/octeontx2/af/
H A Drvu_cgx.c624 if (parent_pf->cgx_users > 1) { in rvu_mbox_handler_cgx_stats_rst()
1109 int cgx_users, err = 0; in rvu_cgx_start_stop_io() local
1125 cgx_users = parent_pf->cgx_users; in rvu_cgx_start_stop_io()
1126 parent_pf->cgx_users++; in rvu_cgx_start_stop_io()
1128 parent_pf->cgx_users--; in rvu_cgx_start_stop_io()
1129 cgx_users = parent_pf->cgx_users; in rvu_cgx_start_stop_io()
1135 if (!cgx_users) { in rvu_cgx_start_stop_io()
1142 parent_pf->cgx_users = start ? parent_pf->cgx_users - 1 in rvu_cgx_start_stop_io()
1143 : parent_pf->cgx_users + 1; in rvu_cgx_start_stop_io()
H A Drvu.h270 int cgx_users; /* number of cgx users - used only by PFs */ member