Lines Matching refs:netdev
106 static int mlxsw_m_get_module_info(struct net_device *netdev, in mlxsw_m_get_module_info() argument
109 struct mlxsw_m_port *mlxsw_m_port = netdev_priv(netdev); in mlxsw_m_get_module_info()
112 return mlxsw_env_get_module_info(netdev, core, in mlxsw_m_get_module_info()
118 mlxsw_m_get_module_eeprom(struct net_device *netdev, struct ethtool_eeprom *ee, in mlxsw_m_get_module_eeprom() argument
121 struct mlxsw_m_port *mlxsw_m_port = netdev_priv(netdev); in mlxsw_m_get_module_eeprom()
124 return mlxsw_env_get_module_eeprom(netdev, core, in mlxsw_m_get_module_eeprom()
130 mlxsw_m_get_module_eeprom_by_page(struct net_device *netdev, in mlxsw_m_get_module_eeprom_by_page() argument
134 struct mlxsw_m_port *mlxsw_m_port = netdev_priv(netdev); in mlxsw_m_get_module_eeprom_by_page()
143 static int mlxsw_m_reset(struct net_device *netdev, u32 *flags) in mlxsw_m_reset() argument
145 struct mlxsw_m_port *mlxsw_m_port = netdev_priv(netdev); in mlxsw_m_reset()
148 return mlxsw_env_reset_module(netdev, core, mlxsw_m_port->slot_index, in mlxsw_m_reset()
154 mlxsw_m_get_module_power_mode(struct net_device *netdev, in mlxsw_m_get_module_power_mode() argument
158 struct mlxsw_m_port *mlxsw_m_port = netdev_priv(netdev); in mlxsw_m_get_module_power_mode()
167 mlxsw_m_set_module_power_mode(struct net_device *netdev, in mlxsw_m_set_module_power_mode() argument
171 struct mlxsw_m_port *mlxsw_m_port = netdev_priv(netdev); in mlxsw_m_set_module_power_mode()