Lines Matching refs:hwmon

8 #include <linux/hwmon.h>
46 struct mlxsw_hwmon *hwmon;
72 struct mlxsw_hwmon *mlxsw_hwmon = mlxsw_hwmon_dev->hwmon;
97 struct mlxsw_hwmon *mlxsw_hwmon = mlxsw_hwmon_dev->hwmon;
122 struct mlxsw_hwmon *mlxsw_hwmon = mlxsw_hwmon_dev->hwmon;
159 struct mlxsw_hwmon *mlxsw_hwmon = mlxsw_hwmon_dev->hwmon;
179 struct mlxsw_hwmon *mlxsw_hwmon = mlxsw_hwmon_dev->hwmon;
201 struct mlxsw_hwmon *mlxsw_hwmon = mlxsw_hwmon_dev->hwmon;
222 struct mlxsw_hwmon *mlxsw_hwmon = mlxsw_hwmon_dev->hwmon;
249 struct mlxsw_hwmon *mlxsw_hwmon = mlxsw_hwmon_dev->hwmon;
288 struct mlxsw_hwmon *mlxsw_hwmon = mlxsw_hwmon_dev->hwmon;
331 struct mlxsw_hwmon *mlxsw_hwmon = mlxsw_hwmon_dev->hwmon;
368 struct mlxsw_hwmon *mlxsw_hwmon = mlxsw_hwmon_dev->hwmon;
608 struct mlxsw_hwmon *mlxsw_hwmon = mlxsw_hwmon_dev->hwmon;
650 struct mlxsw_hwmon *mlxsw_hwmon = mlxsw_hwmon_dev->hwmon;
688 struct mlxsw_hwmon *mlxsw_hwmon = mlxsw_hwmon_dev->hwmon;
737 struct mlxsw_hwmon *mlxsw_hwmon = mlxsw_hwmon_dev->hwmon;
791 struct mlxsw_hwmon *hwmon = priv;
796 dev = hwmon->bus_info->dev;
797 linecard = &hwmon->line_cards[slot_index];
805 linecard->hwmon = hwmon;
808 dev_err(dev, "Failed to configure hwmon objects for line card modules in slot %d\n",
815 dev_err(dev, "Failed to configure hwmon objects for line card gearboxes in slot %d\n",
827 dev_err(dev, "Failed to register hwmon objects for line card in slot %d\n",
839 struct mlxsw_hwmon *hwmon = priv;
842 linecard = &hwmon->line_cards[slot_index];
881 mlxsw_hwmon->line_cards[0].hwmon = mlxsw_hwmon;