Lines Matching refs:menf21bmc_hwmon
35 struct menf21bmc_hwmon { struct
52 static struct menf21bmc_hwmon *menf21bmc_hwmon_update(struct device *dev) in menf21bmc_hwmon_update() argument
56 struct menf21bmc_hwmon *drv_data = dev_get_drvdata(dev); in menf21bmc_hwmon_update()
57 struct menf21bmc_hwmon *data_ret = drv_data; in menf21bmc_hwmon_update()
77 static int menf21bmc_hwmon_get_volt_limits(struct menf21bmc_hwmon *drv_data) in menf21bmc_hwmon_get_volt_limits()
111 struct menf21bmc_hwmon *drv_data = menf21bmc_hwmon_update(dev); in in_show()
123 struct menf21bmc_hwmon *drv_data = dev_get_drvdata(dev); in min_show()
132 struct menf21bmc_hwmon *drv_data = dev_get_drvdata(dev); in max_show()
186 ATTRIBUTE_GROUPS(menf21bmc_hwmon);
191 struct menf21bmc_hwmon *drv_data; in menf21bmc_hwmon_probe()
195 drv_data = devm_kzalloc(&pdev->dev, sizeof(struct menf21bmc_hwmon), in menf21bmc_hwmon_probe()
219 static struct platform_driver menf21bmc_hwmon = { variable
226 module_platform_driver(menf21bmc_hwmon);