Searched refs:ppcnt_pl (Results 1 – 4 of 4) sorted by relevance
| /linux/drivers/net/ethernet/mellanox/mlxsw/ |
| H A D | spectrum_ethtool.c | 764 char ppcnt_pl[MLXSW_REG_PPCNT_LEN]; in __mlxsw_sp_port_get_stats() local 771 err = mlxsw_sp_port_get_stats_raw(dev, grp, prio, ppcnt_pl); in __mlxsw_sp_port_get_stats() 775 data[data_index + i] = hw_stats[i].getter(ppcnt_pl); in __mlxsw_sp_port_get_stats() 1099 char ppcnt_pl[MLXSW_REG_PPCNT_LEN]; in mlxsw_sp_get_eth_phy_stats() local 1102 0, ppcnt_pl)) in mlxsw_sp_get_eth_phy_stats() 1106 mlxsw_reg_ppcnt_a_symbol_error_during_carrier_get(ppcnt_pl); in mlxsw_sp_get_eth_phy_stats() 1113 char ppcnt_pl[MLXSW_REG_PPCNT_LEN]; in mlxsw_sp_get_eth_mac_stats() local 1116 0, ppcnt_pl)) in mlxsw_sp_get_eth_mac_stats() 1120 mlxsw_reg_ppcnt_a_frames_transmitted_ok_get(ppcnt_pl); in mlxsw_sp_get_eth_mac_stats() 1122 mlxsw_reg_ppcnt_a_frames_received_ok_get(ppcnt_pl); in mlxsw_sp_get_eth_mac_stats() [all …]
|
| H A D | spectrum_dcb.c | 482 char ppcnt_pl[MLXSW_REG_PPCNT_LEN]; in mlxsw_sp_port_pfc_cnt_get() local 485 mlxsw_reg_ppcnt_pack(ppcnt_pl, mlxsw_sp_port->local_port, in mlxsw_sp_port_pfc_cnt_get() 487 err = mlxsw_reg_query(mlxsw_sp->core, MLXSW_REG(ppcnt), ppcnt_pl); in mlxsw_sp_port_pfc_cnt_get() 491 my_pfc->requests[prio] = mlxsw_reg_ppcnt_tx_pause_get(ppcnt_pl); in mlxsw_sp_port_pfc_cnt_get() 492 my_pfc->indications[prio] = mlxsw_reg_ppcnt_rx_pause_get(ppcnt_pl); in mlxsw_sp_port_pfc_cnt_get()
|
| H A D | spectrum.c | 770 int prio, char *ppcnt_pl) in mlxsw_sp_port_get_stats_raw() argument 775 mlxsw_reg_ppcnt_pack(ppcnt_pl, mlxsw_sp_port->local_port, grp, prio); in mlxsw_sp_port_get_stats_raw() 776 return mlxsw_reg_query(mlxsw_sp->core, MLXSW_REG(ppcnt), ppcnt_pl); in mlxsw_sp_port_get_stats_raw() 782 char ppcnt_pl[MLXSW_REG_PPCNT_LEN]; in mlxsw_sp_port_get_hw_stats() local 786 0, ppcnt_pl); in mlxsw_sp_port_get_hw_stats() 791 mlxsw_reg_ppcnt_a_frames_transmitted_ok_get(ppcnt_pl); in mlxsw_sp_port_get_hw_stats() 793 mlxsw_reg_ppcnt_a_frames_received_ok_get(ppcnt_pl); in mlxsw_sp_port_get_hw_stats() 795 mlxsw_reg_ppcnt_a_octets_transmitted_ok_get(ppcnt_pl); in mlxsw_sp_port_get_hw_stats() 797 mlxsw_reg_ppcnt_a_octets_received_ok_get(ppcnt_pl); in mlxsw_sp_port_get_hw_stats() 799 mlxsw_reg_ppcnt_a_multicast_frames_received_ok_get(ppcnt_pl); in mlxsw_sp_port_get_hw_stats() [all …]
|
| H A D | spectrum.h | 511 int prio, char *ppcnt_pl);
|