Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/marvell/octeontx2/af/
Dcgx.c132 struct cgx *cgx_dev; in cgx_get_cgxcnt_max() local
135 list_for_each_entry(cgx_dev, &cgx_list, cgx_list) in cgx_get_cgxcnt_max()
136 if (cgx_dev->cgx_id > idmax) in cgx_get_cgxcnt_max()
137 idmax = cgx_dev->cgx_id; in cgx_get_cgxcnt_max()
157 struct cgx *cgx_dev; in cgx_get_pdata() local
159 list_for_each_entry(cgx_dev, &cgx_list, cgx_list) { in cgx_get_pdata()
160 if (cgx_dev->cgx_id == cgx_id) in cgx_get_pdata()
161 return cgx_dev; in cgx_get_pdata()
168 struct cgx *cgx_dev = cgx_get_pdata(cgx_id); in cgx_lmac_write() local
170 cgx_write(cgx_dev, lmac_id, offset, val); in cgx_lmac_write()
[all …]
Drvu_cgx.c473 void *cgx_dev; in rvu_cgx_disable_dmac_entries() local
484 cgx_dev = cgx_get_pdata(cgx_id); in rvu_cgx_disable_dmac_entries()
485 lmac_count = cgx_get_lmac_cnt(cgx_dev); in rvu_cgx_disable_dmac_entries()