Searched refs:ppcnt_pl (Results 1 – 2 of 2) sorted by relevance
515 char ppcnt_pl[MLXSW_REG_PPCNT_LEN]; in mlxsw_sx_port_get_stats() local519 mlxsw_reg_ppcnt_pack(ppcnt_pl, mlxsw_sx_port->local_port); in mlxsw_sx_port_get_stats()520 err = mlxsw_reg_query(mlxsw_sx->core, MLXSW_REG(ppcnt), ppcnt_pl); in mlxsw_sx_port_get_stats()522 data[i] = !err ? mlxsw_sx_port_hw_stats[i].getter(ppcnt_pl) : 0; in mlxsw_sx_port_get_stats()
867 char ppcnt_pl[MLXSW_REG_PPCNT_LEN]; in mlxsw_sp_port_get_stats() local871 mlxsw_reg_ppcnt_pack(ppcnt_pl, mlxsw_sp_port->local_port); in mlxsw_sp_port_get_stats()872 err = mlxsw_reg_query(mlxsw_sp->core, MLXSW_REG(ppcnt), ppcnt_pl); in mlxsw_sp_port_get_stats()874 data[i] = !err ? mlxsw_sp_port_hw_stats[i].getter(ppcnt_pl) : 0; in mlxsw_sp_port_get_stats()