cgxd 118 drivers/net/ethernet/marvell/octeontx2/af/cgx.c int cgx_get_lmac_cnt(void *cgxd) cgxd 120 drivers/net/ethernet/marvell/octeontx2/af/cgx.c struct cgx *cgx = cgxd; cgxd 146 drivers/net/ethernet/marvell/octeontx2/af/cgx.c int cgx_get_link_info(void *cgxd, int lmac_id, cgxd 149 drivers/net/ethernet/marvell/octeontx2/af/cgx.c struct lmac *lmac = lmac_pdata(lmac_id, cgxd); cgxd 200 drivers/net/ethernet/marvell/octeontx2/af/cgx.c int cgx_set_pkind(void *cgxd, u8 lmac_id, int pkind) cgxd 202 drivers/net/ethernet/marvell/octeontx2/af/cgx.c struct cgx *cgx = cgxd; cgxd 221 drivers/net/ethernet/marvell/octeontx2/af/cgx.c int cgx_lmac_internal_loopback(void *cgxd, int lmac_id, bool enable) cgxd 223 drivers/net/ethernet/marvell/octeontx2/af/cgx.c struct cgx *cgx = cgxd; cgxd 284 drivers/net/ethernet/marvell/octeontx2/af/cgx.c int cgx_get_rx_stats(void *cgxd, int lmac_id, int idx, u64 *rx_stat) cgxd 286 drivers/net/ethernet/marvell/octeontx2/af/cgx.c struct cgx *cgx = cgxd; cgxd 295 drivers/net/ethernet/marvell/octeontx2/af/cgx.c int cgx_get_tx_stats(void *cgxd, int lmac_id, int idx, u64 *tx_stat) cgxd 297 drivers/net/ethernet/marvell/octeontx2/af/cgx.c struct cgx *cgx = cgxd; cgxd 306 drivers/net/ethernet/marvell/octeontx2/af/cgx.c int cgx_lmac_rx_tx_enable(void *cgxd, int lmac_id, bool enable) cgxd 308 drivers/net/ethernet/marvell/octeontx2/af/cgx.c struct cgx *cgx = cgxd; cgxd 606 drivers/net/ethernet/marvell/octeontx2/af/cgx.c int cgx_lmac_evh_register(struct cgx_event_cb *cb, void *cgxd, int lmac_id) cgxd 608 drivers/net/ethernet/marvell/octeontx2/af/cgx.c struct cgx *cgx = cgxd; cgxd 621 drivers/net/ethernet/marvell/octeontx2/af/cgx.c int cgx_lmac_evh_unregister(void *cgxd, int lmac_id) cgxd 625 drivers/net/ethernet/marvell/octeontx2/af/cgx.c struct cgx *cgx = cgxd; cgxd 701 drivers/net/ethernet/marvell/octeontx2/af/cgx.c int cgx_lmac_linkup_start(void *cgxd) cgxd 703 drivers/net/ethernet/marvell/octeontx2/af/cgx.c struct cgx *cgx = cgxd; cgxd 99 drivers/net/ethernet/marvell/octeontx2/af/cgx.h int cgx_get_lmac_cnt(void *cgxd); cgxd 101 drivers/net/ethernet/marvell/octeontx2/af/cgx.h int cgx_set_pkind(void *cgxd, u8 lmac_id, int pkind); cgxd 102 drivers/net/ethernet/marvell/octeontx2/af/cgx.h int cgx_lmac_evh_register(struct cgx_event_cb *cb, void *cgxd, int lmac_id); cgxd 103 drivers/net/ethernet/marvell/octeontx2/af/cgx.h int cgx_lmac_evh_unregister(void *cgxd, int lmac_id); cgxd 104 drivers/net/ethernet/marvell/octeontx2/af/cgx.h int cgx_get_tx_stats(void *cgxd, int lmac_id, int idx, u64 *tx_stat); cgxd 105 drivers/net/ethernet/marvell/octeontx2/af/cgx.h int cgx_get_rx_stats(void *cgxd, int lmac_id, int idx, u64 *rx_stat); cgxd 106 drivers/net/ethernet/marvell/octeontx2/af/cgx.h int cgx_lmac_rx_tx_enable(void *cgxd, int lmac_id, bool enable); cgxd 110 drivers/net/ethernet/marvell/octeontx2/af/cgx.h int cgx_lmac_internal_loopback(void *cgxd, int lmac_id, bool enable); cgxd 111 drivers/net/ethernet/marvell/octeontx2/af/cgx.h int cgx_get_link_info(void *cgxd, int lmac_id, cgxd 113 drivers/net/ethernet/marvell/octeontx2/af/cgx.h int cgx_lmac_linkup_start(void *cgxd); cgxd 225 drivers/net/ethernet/marvell/octeontx2/af/rvu_cgx.c void *cgxd; cgxd 240 drivers/net/ethernet/marvell/octeontx2/af/rvu_cgx.c cgxd = rvu_cgx_pdata(cgx, rvu); cgxd 241 drivers/net/ethernet/marvell/octeontx2/af/rvu_cgx.c if (!cgxd) cgxd 243 drivers/net/ethernet/marvell/octeontx2/af/rvu_cgx.c for (lmac = 0; lmac < cgx_get_lmac_cnt(cgxd); lmac++) { cgxd 244 drivers/net/ethernet/marvell/octeontx2/af/rvu_cgx.c err = cgx_lmac_evh_register(&cb, cgxd, lmac); cgxd 267 drivers/net/ethernet/marvell/octeontx2/af/rvu_cgx.c void *cgxd; cgxd 304 drivers/net/ethernet/marvell/octeontx2/af/rvu_cgx.c cgxd = rvu_cgx_pdata(cgx, rvu); cgxd 305 drivers/net/ethernet/marvell/octeontx2/af/rvu_cgx.c if (!cgxd) cgxd 307 drivers/net/ethernet/marvell/octeontx2/af/rvu_cgx.c err = cgx_lmac_linkup_start(cgxd); cgxd 320 drivers/net/ethernet/marvell/octeontx2/af/rvu_cgx.c void *cgxd; cgxd 323 drivers/net/ethernet/marvell/octeontx2/af/rvu_cgx.c cgxd = rvu_cgx_pdata(cgx, rvu); cgxd 324 drivers/net/ethernet/marvell/octeontx2/af/rvu_cgx.c if (!cgxd) cgxd 326 drivers/net/ethernet/marvell/octeontx2/af/rvu_cgx.c for (lmac = 0; lmac < cgx_get_lmac_cnt(cgxd); lmac++) cgxd 327 drivers/net/ethernet/marvell/octeontx2/af/rvu_cgx.c cgx_lmac_evh_unregister(cgxd, lmac); cgxd 376 drivers/net/ethernet/marvell/octeontx2/af/rvu_cgx.c void *cgxd; cgxd 383 drivers/net/ethernet/marvell/octeontx2/af/rvu_cgx.c cgxd = rvu_cgx_pdata(cgx_idx, rvu); cgxd 387 drivers/net/ethernet/marvell/octeontx2/af/rvu_cgx.c err = cgx_get_rx_stats(cgxd, lmac, stat, &rx_stat); cgxd 397 drivers/net/ethernet/marvell/octeontx2/af/rvu_cgx.c err = cgx_get_tx_stats(cgxd, lmac, stat, &tx_stat);