Lines Matching refs:ppcnt_pl

870 				int prio, char *ppcnt_pl)  in mlxsw_sp_port_get_stats_raw()  argument
875 mlxsw_reg_ppcnt_pack(ppcnt_pl, mlxsw_sp_port->local_port, grp, prio); in mlxsw_sp_port_get_stats_raw()
876 return mlxsw_reg_query(mlxsw_sp->core, MLXSW_REG(ppcnt), ppcnt_pl); in mlxsw_sp_port_get_stats_raw()
882 char ppcnt_pl[MLXSW_REG_PPCNT_LEN]; in mlxsw_sp_port_get_hw_stats() local
886 0, ppcnt_pl); in mlxsw_sp_port_get_hw_stats()
891 mlxsw_reg_ppcnt_a_frames_transmitted_ok_get(ppcnt_pl); in mlxsw_sp_port_get_hw_stats()
893 mlxsw_reg_ppcnt_a_frames_received_ok_get(ppcnt_pl); in mlxsw_sp_port_get_hw_stats()
895 mlxsw_reg_ppcnt_a_octets_transmitted_ok_get(ppcnt_pl); in mlxsw_sp_port_get_hw_stats()
897 mlxsw_reg_ppcnt_a_octets_received_ok_get(ppcnt_pl); in mlxsw_sp_port_get_hw_stats()
899 mlxsw_reg_ppcnt_a_multicast_frames_received_ok_get(ppcnt_pl); in mlxsw_sp_port_get_hw_stats()
902 mlxsw_reg_ppcnt_a_frame_check_sequence_errors_get(ppcnt_pl); in mlxsw_sp_port_get_hw_stats()
904 mlxsw_reg_ppcnt_a_alignment_errors_get(ppcnt_pl); in mlxsw_sp_port_get_hw_stats()
907 mlxsw_reg_ppcnt_a_in_range_length_errors_get(ppcnt_pl) + in mlxsw_sp_port_get_hw_stats()
908 mlxsw_reg_ppcnt_a_out_of_range_length_field_get(ppcnt_pl) + in mlxsw_sp_port_get_hw_stats()
909 mlxsw_reg_ppcnt_a_frame_too_long_errors_get(ppcnt_pl)); in mlxsw_sp_port_get_hw_stats()
922 char ppcnt_pl[MLXSW_REG_PPCNT_LEN]; in mlxsw_sp_port_get_hw_xstats() local
926 ppcnt_pl); in mlxsw_sp_port_get_hw_xstats()
928 xstats->ecn = mlxsw_reg_ppcnt_ecn_marked_get(ppcnt_pl); in mlxsw_sp_port_get_hw_xstats()
933 i, ppcnt_pl); in mlxsw_sp_port_get_hw_xstats()
938 mlxsw_reg_ppcnt_wred_discard_get(ppcnt_pl); in mlxsw_sp_port_get_hw_xstats()
939 xstats->tc_ecn[i] = mlxsw_reg_ppcnt_ecn_marked_tc_get(ppcnt_pl); in mlxsw_sp_port_get_hw_xstats()
943 i, ppcnt_pl); in mlxsw_sp_port_get_hw_xstats()
948 mlxsw_reg_ppcnt_tc_transmit_queue_get(ppcnt_pl); in mlxsw_sp_port_get_hw_xstats()
950 mlxsw_reg_ppcnt_tc_no_buffer_discard_uc_get(ppcnt_pl); in mlxsw_sp_port_get_hw_xstats()
955 i, ppcnt_pl); in mlxsw_sp_port_get_hw_xstats()
959 xstats->tx_packets[i] = mlxsw_reg_ppcnt_tx_frames_get(ppcnt_pl); in mlxsw_sp_port_get_hw_xstats()
960 xstats->tx_bytes[i] = mlxsw_reg_ppcnt_tx_octets_get(ppcnt_pl); in mlxsw_sp_port_get_hw_xstats()