Lines Matching refs:mac_ops
845 struct mac_ops *mac_ops; in rvu_dbg_rvu_pf_cgx_map_display() local
853 mac_ops = get_mac_ops(rvu_first_cgx_pdata(rvu)); in rvu_dbg_rvu_pf_cgx_map_display()
855 if (!mac_ops) in rvu_dbg_rvu_pf_cgx_map_display()
858 mac_ops->name); in rvu_dbg_rvu_pf_cgx_map_display()
879 sprintf(cgx, "%s%d", mac_ops->name, cgx_id); in rvu_dbg_rvu_pf_cgx_map_display()
2393 struct mac_ops *mac_ops; in cgx_print_stats() local
2405 mac_ops = get_mac_ops(cgxd); in cgx_print_stats()
2407 if (!mac_ops) in cgx_print_stats()
2420 mac_ops->name); in cgx_print_stats()
2443 mac_ops->name); in cgx_print_stats()
2462 seq_printf(s, "\n=======%s RX_STATS======\n\n", mac_ops->name); in cgx_print_stats()
2463 while (stat < mac_ops->rx_stats_cnt) { in cgx_print_stats()
2464 err = mac_ops->mac_get_rx_stats(cgxd, lmac_id, stat, &rx_stat); in cgx_print_stats()
2478 seq_printf(s, "\n=======%s TX_STATS======\n\n", mac_ops->name); in cgx_print_stats()
2479 while (stat < mac_ops->tx_stats_cnt) { in cgx_print_stats()
2480 err = mac_ops->mac_get_tx_stats(cgxd, lmac_id, stat, &tx_stat); in cgx_print_stats()
2590 struct mac_ops *mac_ops; in rvu_dbg_cgx_init() local
2599 mac_ops = get_mac_ops(rvu_first_cgx_pdata(rvu)); in rvu_dbg_cgx_init()
2600 if (!mac_ops) in rvu_dbg_cgx_init()
2603 rvu->rvu_dbg.cgx_root = debugfs_create_dir(mac_ops->name, in rvu_dbg_cgx_init()
2612 sprintf(dname, "%s%d", mac_ops->name, i); in rvu_dbg_cgx_init()