Lines Matching refs:getter
410 u64 (*getter)(char *payload); member
416 .getter = mlxsw_reg_ppcnt_a_frames_transmitted_ok_get,
420 .getter = mlxsw_reg_ppcnt_a_frames_received_ok_get,
424 .getter = mlxsw_reg_ppcnt_a_frame_check_sequence_errors_get,
428 .getter = mlxsw_reg_ppcnt_a_alignment_errors_get,
432 .getter = mlxsw_reg_ppcnt_a_octets_transmitted_ok_get,
436 .getter = mlxsw_reg_ppcnt_a_octets_received_ok_get,
440 .getter = mlxsw_reg_ppcnt_a_multicast_frames_xmitted_ok_get,
444 .getter = mlxsw_reg_ppcnt_a_broadcast_frames_xmitted_ok_get,
448 .getter = mlxsw_reg_ppcnt_a_multicast_frames_received_ok_get,
452 .getter = mlxsw_reg_ppcnt_a_broadcast_frames_received_ok_get,
456 .getter = mlxsw_reg_ppcnt_a_in_range_length_errors_get,
460 .getter = mlxsw_reg_ppcnt_a_out_of_range_length_field_get,
464 .getter = mlxsw_reg_ppcnt_a_frame_too_long_errors_get,
468 .getter = mlxsw_reg_ppcnt_a_symbol_error_during_carrier_get,
472 .getter = mlxsw_reg_ppcnt_a_mac_control_frames_transmitted_get,
476 .getter = mlxsw_reg_ppcnt_a_mac_control_frames_received_get,
480 .getter = mlxsw_reg_ppcnt_a_unsupported_opcodes_received_get,
484 .getter = mlxsw_reg_ppcnt_a_pause_mac_ctrl_frames_received_get,
488 .getter = mlxsw_reg_ppcnt_a_pause_mac_ctrl_frames_transmitted_get,
523 data[i] = !err ? mlxsw_sx_port_hw_stats[i].getter(ppcnt_pl) : 0; in mlxsw_sx_port_get_stats()