Searched refs:cgxd (Results 1 – 8 of 8) sorted by relevance
| /linux-6.15/drivers/net/ethernet/marvell/octeontx2/af/ |
| H A D | cgx.h | 140 int cgx_get_cgxid(void *cgxd); 141 int cgx_get_lmac_cnt(void *cgxd); 148 int cgx_stats_reset(void *cgxd, int lmac_id); 160 int cgx_get_link_info(void *cgxd, int lmac_id, 162 int cgx_lmac_linkup_start(void *cgxd); 175 u64 cgx_features_get(void *cgxd); 176 struct mac_ops *get_mac_ops(void *cgxd); 177 int cgx_get_nr_lmacs(void *cgxd); 178 u8 cgx_get_lmacid(void *cgxd, u8 lmac_index); 179 unsigned long cgx_get_lmac_bmap(void *cgxd); [all …]
|
| H A D | rvu_cgx.c | 47 void *cgxd; in is_mac_feature_supported() local 100 if (cgxd) in rvu_first_cgx_pdata() 104 return cgxd; in rvu_first_cgx_pdata() 311 void *cgxd; in cgx_lmac_event_handler_init() local 327 if (!cgxd) in cgx_lmac_event_handler_init() 354 void *cgxd; in rvu_cgx_init() local 382 if (!cgxd) in rvu_cgx_init() 403 void *cgxd; in cgx_start_linkup() local 408 if (!cgxd) in cgx_start_linkup() 419 if (!cgxd) in cgx_start_linkup() [all …]
|
| H A D | lmac_common.h | 99 void (*mac_enadis_rx_pause_fwding)(void *cgxd, 103 int (*mac_get_pause_frm_status)(void *cgxd, 108 int (*mac_enadis_pause_frm)(void *cgxd, 113 void (*mac_pause_frm_config)(void *cgxd, 118 void (*mac_enadis_ptp_config)(void *cgxd, 123 int (*mac_tx_enable)(void *cgxd, int lmac_id, bool enable); 124 int (*pfc_config)(void *cgxd, int lmac_id, 129 int (*mac_reset)(void *cgxd, int lmac_id, u8 pf_req_flr); 132 int (*get_fec_stats)(void *cgxd, int lmac_id, 134 int (*mac_stats_reset)(void *cgxd, int lmac_id); [all …]
|
| H A D | cgx.c | 88 struct cgx *cgx = cgxd; in is_dev_rpm() 119 if (!cgxd) in get_mac_ops() 120 return cgxd; in get_mac_ops() 167 struct cgx *cgx = cgxd; in cgx_get_lmac_cnt() 209 struct cgx *cgx = cgxd; in cgx_get_cgxid() 299 struct cgx *cgx = cgxd; in cgx_read_dmac_ctrl() 301 if (!cgxd || !is_lmac_valid(cgxd, lmac_id)) in cgx_read_dmac_ctrl() 304 cgx = cgxd; in cgx_read_dmac_ctrl() 316 if (!cgxd) in cgx_read_dmac_entry() 319 cgx = cgxd; in cgx_read_dmac_entry() [all …]
|
| H A D | rpm.h | 125 int rpm_lmac_get_pause_frm_status(void *cgxd, int lmac_id, u8 *tx_pause, 141 int rpm_get_fec_stats(void *cgxd, int lmac_id, struct cgx_fec_stats_rsp *rsp);
|
| H A D | rvu_debugfs.c | 2731 err = rvu_cgx_nix_cuml_stats(rvu, cgxd, lmac_id, (idx), \ 2741 err = rvu_cgx_nix_cuml_stats(rvu, cgxd, lmac_id, (idx), \ 2752 void *cgxd = s->private; in cgx_print_stats() local 2763 mac_ops = get_mac_ops(cgxd); in cgx_print_stats() 2770 err = cgx_get_link_info(cgxd, lmac_id, &linfo); in cgx_print_stats() 2822 err = mac_ops->mac_get_rx_stats(cgxd, lmac_id, stat, &rx_stat); in cgx_print_stats() 2838 err = mac_ops->mac_get_tx_stats(cgxd, lmac_id, stat, &tx_stat); in cgx_print_stats() 2869 void *cgxd = s->private; in cgx_print_dmac_flt() local 2882 pf = cgxlmac_to_pf(rvu, cgx_get_cgxid(cgxd), lmac_id); in cgx_print_dmac_flt() 2889 cfg = cgx_read_dmac_ctrl(cgxd, lmac_id); in cgx_print_dmac_flt() [all …]
|
| H A D | rvu.h | 910 int rvu_cgx_nix_cuml_stats(struct rvu *rvu, void *cgxd, int lmac_id, int index, 1023 int rvu_cgx_config_tx(void *cgxd, int lmac_id, bool enable);
|
| H A D | rvu_nix.c | 5303 void *cgxd; in rvu_nix_lf_teardown() local 5350 cgxd = rvu_cgx_pdata(cgx_id, rvu); in rvu_nix_lf_teardown() 5351 mac_ops = get_mac_ops(cgxd); in rvu_nix_lf_teardown() 5352 mac_ops->mac_enadis_ptp_config(cgxd, lmac_id, false); in rvu_nix_lf_teardown()
|