Searched refs:cgx_dev (Results 1 – 2 of 2) sorted by relevance
135 struct cgx *cgx_dev; in cgx_get_cgxcnt_max() local138 list_for_each_entry(cgx_dev, &cgx_list, cgx_list) in cgx_get_cgxcnt_max()139 if (cgx_dev->cgx_id > idmax) in cgx_get_cgxcnt_max()140 idmax = cgx_dev->cgx_id; in cgx_get_cgxcnt_max()160 struct cgx *cgx_dev; in cgx_get_pdata() local162 list_for_each_entry(cgx_dev, &cgx_list, cgx_list) { in cgx_get_pdata()163 if (cgx_dev->cgx_id == cgx_id) in cgx_get_pdata()164 return cgx_dev; in cgx_get_pdata()171 struct cgx *cgx_dev = cgx_get_pdata(cgx_id); in cgx_lmac_write() local174 if (!is_lmac_valid(cgx_dev, lmac_id)) in cgx_lmac_write()[all …]
483 void *cgx_dev; in rvu_cgx_disable_dmac_entries() local494 cgx_dev = cgx_get_pdata(cgx_id); in rvu_cgx_disable_dmac_entries()495 lmac_count = cgx_get_lmac_cnt(cgx_dev); in rvu_cgx_disable_dmac_entries()497 mac_ops = get_mac_ops(cgx_dev); in rvu_cgx_disable_dmac_entries()