Searched refs:cgxd (Results 1 – 5 of 5) sorted by relevance
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/marvell/octeontx2/af/ |
| H A D | cgx.h | 121 int cgx_get_cgxid(void *cgxd); 122 int cgx_get_lmac_cnt(void *cgxd); 124 int cgx_set_pkind(void *cgxd, u8 lmac_id, int pkind); 125 int cgx_lmac_evh_register(struct cgx_event_cb *cb, void *cgxd, int lmac_id); 126 int cgx_lmac_evh_unregister(void *cgxd, int lmac_id); 127 int cgx_get_tx_stats(void *cgxd, int lmac_id, int idx, u64 *tx_stat); 128 int cgx_get_rx_stats(void *cgxd, int lmac_id, int idx, u64 *rx_stat); 129 int cgx_lmac_rx_tx_enable(void *cgxd, int lmac_id, bool enable); 130 int cgx_lmac_tx_enable(void *cgxd, int lmac_id, bool enable); 134 void cgx_lmac_enadis_rx_pause_fwding(void *cgxd, int lmac_id, bool enable); [all …]
|
| H A D | rvu_cgx.c | 241 void *cgxd; in cgx_lmac_event_handler_init() local 256 cgxd = rvu_cgx_pdata(cgx, rvu); in cgx_lmac_event_handler_init() 257 if (!cgxd) in cgx_lmac_event_handler_init() 259 for (lmac = 0; lmac < cgx_get_lmac_cnt(cgxd); lmac++) { in cgx_lmac_event_handler_init() 260 err = cgx_lmac_evh_register(&cb, cgxd, lmac); in cgx_lmac_event_handler_init() 283 void *cgxd; in rvu_cgx_init() local 322 cgxd = rvu_cgx_pdata(cgx, rvu); in rvu_cgx_init() 323 if (!cgxd) in rvu_cgx_init() 325 err = cgx_lmac_linkup_start(cgxd); in rvu_cgx_init() 338 void *cgxd; in rvu_cgx_exit() local [all …]
|
| H A D | cgx.c | 117 int cgx_get_lmac_cnt(void *cgxd) in cgx_get_lmac_cnt() argument 119 struct cgx *cgx = cgxd; in cgx_get_lmac_cnt() 138 int cgx_get_cgxid(void *cgxd) in cgx_get_cgxid() argument 140 struct cgx *cgx = cgxd; in cgx_get_cgxid() 153 int cgx_get_link_info(void *cgxd, int lmac_id, in cgx_get_link_info() argument 156 struct lmac *lmac = lmac_pdata(lmac_id, cgxd); in cgx_get_link_info() 204 int cgx_set_pkind(void *cgxd, u8 lmac_id, int pkind) in cgx_set_pkind() argument 206 struct cgx *cgx = cgxd; in cgx_set_pkind() 224 int cgx_lmac_internal_loopback(void *cgxd, int lmac_id, bool enable) in cgx_lmac_internal_loopback() argument 226 struct cgx *cgx = cgxd; in cgx_lmac_internal_loopback() [all …]
|
| H A D | rvu_debugfs.c | 1451 err = rvu_cgx_nix_cuml_stats(rvu, cgxd, lmac_id, (idx), \ 1461 err = rvu_cgx_nix_cuml_stats(rvu, cgxd, lmac_id, (idx), \ 1471 void *cgxd = s->private; in cgx_print_stats() local 1484 err = cgx_get_link_info(cgxd, lmac_id, &linfo); in cgx_print_stats() 1534 err = cgx_get_rx_stats(cgxd, lmac_id, stat, &rx_stat); in cgx_print_stats() 1545 err = cgx_get_tx_stats(cgxd, lmac_id, stat, &tx_stat); in cgx_print_stats()
|
| H A D | rvu.h | 469 int rvu_cgx_nix_cuml_stats(struct rvu *rvu, void *cgxd, int lmac_id, int index,
|