• Home
  • Raw
  • Download

Lines Matching refs:data_index

752 				      u64 *data, int data_index)  in __mlxsw_sp_port_get_stats()  argument
766 data[data_index + i] = hw_stats[i].getter(ppcnt_pl); in __mlxsw_sp_port_get_stats()
769 data[data_index + i] = mlxsw_sp_cells_bytes(mlxsw_sp, in __mlxsw_sp_port_get_stats()
770 data[data_index + i]); in __mlxsw_sp_port_get_stats()
774 static void __mlxsw_sp_port_get_env_stats(struct net_device *dev, u64 *data, int data_index, in __mlxsw_sp_port_get_env_stats() argument
782 data[data_index + i] = port_stats[i].getter(mlxsw_sp_port); in __mlxsw_sp_port_get_env_stats()
789 int i, data_index = 0; in mlxsw_sp_port_get_stats() local
793 data, data_index); in mlxsw_sp_port_get_stats()
794 data_index = MLXSW_SP_PORT_HW_STATS_LEN; in mlxsw_sp_port_get_stats()
798 data, data_index); in mlxsw_sp_port_get_stats()
799 data_index += MLXSW_SP_PORT_HW_RFC_2863_STATS_LEN; in mlxsw_sp_port_get_stats()
803 data, data_index); in mlxsw_sp_port_get_stats()
804 data_index += MLXSW_SP_PORT_HW_RFC_2819_STATS_LEN; in mlxsw_sp_port_get_stats()
808 data, data_index); in mlxsw_sp_port_get_stats()
809 data_index += MLXSW_SP_PORT_HW_RFC_3635_STATS_LEN; in mlxsw_sp_port_get_stats()
813 data, data_index); in mlxsw_sp_port_get_stats()
814 data_index += MLXSW_SP_PORT_HW_EXT_STATS_LEN; in mlxsw_sp_port_get_stats()
818 data, data_index); in mlxsw_sp_port_get_stats()
819 data_index += MLXSW_SP_PORT_HW_DISCARD_STATS_LEN; in mlxsw_sp_port_get_stats()
824 data, data_index); in mlxsw_sp_port_get_stats()
825 data_index += MLXSW_SP_PORT_HW_PRIO_STATS_LEN; in mlxsw_sp_port_get_stats()
831 data, data_index); in mlxsw_sp_port_get_stats()
832 data_index += MLXSW_SP_PORT_HW_TC_STATS_LEN; in mlxsw_sp_port_get_stats()
837 data, data_index); in mlxsw_sp_port_get_stats()
838 data_index += mlxsw_sp_port->mlxsw_sp->ptp_ops->get_stats_count(); in mlxsw_sp_port_get_stats()
841 __mlxsw_sp_port_get_env_stats(dev, data, data_index, mlxsw_sp_port_transceiver_stats, in mlxsw_sp_port_get_stats()
843 data_index += MLXSW_SP_PORT_HW_TRANSCEIVER_STATS_LEN; in mlxsw_sp_port_get_stats()