Lines Matching refs:ppcnt_pl
890 int prio, char *ppcnt_pl)
895 mlxsw_reg_ppcnt_pack(ppcnt_pl, mlxsw_sp_port->local_port, grp, prio);
896 return mlxsw_reg_query(mlxsw_sp->core, MLXSW_REG(ppcnt), ppcnt_pl);
902 char ppcnt_pl[MLXSW_REG_PPCNT_LEN];
906 0, ppcnt_pl);
911 mlxsw_reg_ppcnt_a_frames_transmitted_ok_get(ppcnt_pl);
913 mlxsw_reg_ppcnt_a_frames_received_ok_get(ppcnt_pl);
915 mlxsw_reg_ppcnt_a_octets_transmitted_ok_get(ppcnt_pl);
917 mlxsw_reg_ppcnt_a_octets_received_ok_get(ppcnt_pl);
919 mlxsw_reg_ppcnt_a_multicast_frames_received_ok_get(ppcnt_pl);
922 mlxsw_reg_ppcnt_a_frame_check_sequence_errors_get(ppcnt_pl);
924 mlxsw_reg_ppcnt_a_alignment_errors_get(ppcnt_pl);
927 mlxsw_reg_ppcnt_a_in_range_length_errors_get(ppcnt_pl) +
928 mlxsw_reg_ppcnt_a_out_of_range_length_field_get(ppcnt_pl) +
929 mlxsw_reg_ppcnt_a_frame_too_long_errors_get(ppcnt_pl));
942 char ppcnt_pl[MLXSW_REG_PPCNT_LEN];
946 ppcnt_pl);
948 xstats->ecn = mlxsw_reg_ppcnt_ecn_marked_get(ppcnt_pl);
953 i, ppcnt_pl);
958 mlxsw_reg_ppcnt_wred_discard_get(ppcnt_pl);
959 xstats->tc_ecn[i] = mlxsw_reg_ppcnt_ecn_marked_tc_get(ppcnt_pl);
963 i, ppcnt_pl);
968 mlxsw_reg_ppcnt_tc_transmit_queue_get(ppcnt_pl);
970 mlxsw_reg_ppcnt_tc_no_buffer_discard_uc_get(ppcnt_pl);
975 i, ppcnt_pl);
979 xstats->tx_packets[i] = mlxsw_reg_ppcnt_tx_frames_get(ppcnt_pl);
980 xstats->tx_bytes[i] = mlxsw_reg_ppcnt_tx_octets_get(ppcnt_pl);