Lines Matching defs:dev
808 dev_warn(&client->dev,
817 dev_err(&client->dev, "lm93: All read byte retries failed!!\n");
829 dev_warn(&client->dev,
846 dev_warn(&client->dev,
855 dev_err(&client->dev, "lm93: All read word retries failed!!\n");
867 dev_warn(&client->dev,
892 dev_warn(&client->dev,
907 static struct lm93_data *lm93_update_device(struct device *dev)
909 struct lm93_data *data = dev_get_drvdata(dev);
1002 dev_dbg(&client->dev, "starting device update (block data enabled)\n");
1037 dev_dbg(&client->dev, "starting device update (block data disabled)\n");
1101 static ssize_t in_show(struct device *dev, struct device_attribute *attr,
1106 struct lm93_data *data = lm93_update_device(dev);
1127 static ssize_t in_min_show(struct device *dev, struct device_attribute *attr,
1131 struct lm93_data *data = lm93_update_device(dev);
1144 static ssize_t in_min_store(struct device *dev, struct device_attribute *attr,
1148 struct lm93_data *data = dev_get_drvdata(dev);
1192 static ssize_t in_max_show(struct device *dev, struct device_attribute *attr,
1196 struct lm93_data *data = lm93_update_device(dev);
1209 static ssize_t in_max_store(struct device *dev, struct device_attribute *attr,
1213 struct lm93_data *data = dev_get_drvdata(dev);
1257 static ssize_t temp_show(struct device *dev, struct device_attribute *attr,
1261 struct lm93_data *data = lm93_update_device(dev);
1269 static ssize_t temp_min_show(struct device *dev,
1273 struct lm93_data *data = lm93_update_device(dev);
1277 static ssize_t temp_min_store(struct device *dev,
1282 struct lm93_data *data = dev_get_drvdata(dev);
1302 static ssize_t temp_max_show(struct device *dev,
1306 struct lm93_data *data = lm93_update_device(dev);
1310 static ssize_t temp_max_store(struct device *dev,
1315 struct lm93_data *data = dev_get_drvdata(dev);
1335 static ssize_t temp_auto_base_show(struct device *dev,
1339 struct lm93_data *data = lm93_update_device(dev);
1343 static ssize_t temp_auto_base_store(struct device *dev,
1348 struct lm93_data *data = dev_get_drvdata(dev);
1368 static ssize_t temp_auto_boost_show(struct device *dev,
1372 struct lm93_data *data = lm93_update_device(dev);
1376 static ssize_t temp_auto_boost_store(struct device *dev,
1381 struct lm93_data *data = dev_get_drvdata(dev);
1401 static ssize_t temp_auto_boost_hyst_show(struct device *dev,
1406 struct lm93_data *data = lm93_update_device(dev);
1412 static ssize_t temp_auto_boost_hyst_store(struct device *dev,
1417 struct lm93_data *data = dev_get_drvdata(dev);
1442 static ssize_t temp_auto_offset_show(struct device *dev,
1448 struct lm93_data *data = lm93_update_device(dev);
1455 static ssize_t temp_auto_offset_store(struct device *dev,
1462 struct lm93_data *data = dev_get_drvdata(dev);
1521 static ssize_t temp_auto_pwm_min_show(struct device *dev,
1527 struct lm93_data *data = lm93_update_device(dev);
1534 static ssize_t temp_auto_pwm_min_store(struct device *dev,
1539 struct lm93_data *data = dev_get_drvdata(dev);
1566 static ssize_t temp_auto_offset_hyst_show(struct device *dev,
1571 struct lm93_data *data = lm93_update_device(dev);
1577 static ssize_t temp_auto_offset_hyst_store(struct device *dev,
1582 struct lm93_data *data = dev_get_drvdata(dev);
1609 static ssize_t fan_input_show(struct device *dev,
1614 struct lm93_data *data = lm93_update_device(dev);
1624 static ssize_t fan_min_show(struct device *dev, struct device_attribute *attr,
1628 struct lm93_data *data = lm93_update_device(dev);
1633 static ssize_t fan_min_store(struct device *dev,
1638 struct lm93_data *data = dev_get_drvdata(dev);
1673 static ssize_t fan_smart_tach_show(struct device *dev,
1677 struct lm93_data *data = lm93_update_device(dev);
1712 static ssize_t fan_smart_tach_store(struct device *dev,
1717 struct lm93_data *data = dev_get_drvdata(dev);
1747 static ssize_t pwm_show(struct device *dev, struct device_attribute *attr,
1751 struct lm93_data *data = lm93_update_device(dev);
1765 static ssize_t pwm_store(struct device *dev, struct device_attribute *attr,
1769 struct lm93_data *data = dev_get_drvdata(dev);
1796 static ssize_t pwm_enable_show(struct device *dev,
1800 struct lm93_data *data = lm93_update_device(dev);
1812 static ssize_t pwm_enable_store(struct device *dev,
1817 struct lm93_data *data = dev_get_drvdata(dev);
1853 static ssize_t pwm_freq_show(struct device *dev,
1857 struct lm93_data *data = lm93_update_device(dev);
1888 static ssize_t pwm_freq_store(struct device *dev,
1893 struct lm93_data *data = dev_get_drvdata(dev);
1918 static ssize_t pwm_auto_channels_show(struct device *dev,
1923 struct lm93_data *data = lm93_update_device(dev);
1927 static ssize_t pwm_auto_channels_store(struct device *dev,
1932 struct lm93_data *data = dev_get_drvdata(dev);
1952 static ssize_t pwm_auto_spinup_min_show(struct device *dev,
1957 struct lm93_data *data = lm93_update_device(dev);
1967 static ssize_t pwm_auto_spinup_min_store(struct device *dev,
1972 struct lm93_data *data = dev_get_drvdata(dev);
1997 static ssize_t pwm_auto_spinup_time_show(struct device *dev,
2002 struct lm93_data *data = lm93_update_device(dev);
2007 static ssize_t pwm_auto_spinup_time_store(struct device *dev,
2012 struct lm93_data *data = dev_get_drvdata(dev);
2034 static ssize_t pwm_auto_prochot_ramp_show(struct device *dev,
2037 struct lm93_data *data = lm93_update_device(dev);
2042 static ssize_t pwm_auto_prochot_ramp_store(struct device *dev,
2046 struct lm93_data *data = dev_get_drvdata(dev);
2066 static ssize_t pwm_auto_vrdhot_ramp_show(struct device *dev,
2069 struct lm93_data *data = lm93_update_device(dev);
2074 static ssize_t pwm_auto_vrdhot_ramp_store(struct device *dev,
2078 struct lm93_data *data = dev_get_drvdata(dev);
2098 static ssize_t vid_show(struct device *dev, struct device_attribute *attr,
2102 struct lm93_data *data = lm93_update_device(dev);
2109 static ssize_t prochot_show(struct device *dev, struct device_attribute *attr,
2113 struct lm93_data *data = lm93_update_device(dev);
2120 static ssize_t prochot_avg_show(struct device *dev,
2124 struct lm93_data *data = lm93_update_device(dev);
2131 static ssize_t prochot_max_show(struct device *dev,
2135 struct lm93_data *data = lm93_update_device(dev);
2139 static ssize_t prochot_max_store(struct device *dev,
2144 struct lm93_data *data = dev_get_drvdata(dev);
2166 static ssize_t prochot_override_show(struct device *dev,
2170 struct lm93_data *data = lm93_update_device(dev);
2175 static ssize_t prochot_override_store(struct device *dev,
2180 struct lm93_data *data = dev_get_drvdata(dev);
2203 static ssize_t prochot_interval_show(struct device *dev,
2207 struct lm93_data *data = lm93_update_device(dev);
2216 static ssize_t prochot_interval_store(struct device *dev,
2221 struct lm93_data *data = dev_get_drvdata(dev);
2246 static ssize_t prochot_override_duty_cycle_show(struct device *dev,
2250 struct lm93_data *data = lm93_update_device(dev);
2254 static ssize_t prochot_override_duty_cycle_store(struct device *dev,
2258 struct lm93_data *data = dev_get_drvdata(dev);
2278 static ssize_t prochot_short_show(struct device *dev,
2281 struct lm93_data *data = lm93_update_device(dev);
2285 static ssize_t prochot_short_store(struct device *dev,
2289 struct lm93_data *data = dev_get_drvdata(dev);
2310 static ssize_t vrdhot_show(struct device *dev, struct device_attribute *attr,
2314 struct lm93_data *data = lm93_update_device(dev);
2322 static ssize_t gpio_show(struct device *dev, struct device_attribute *attr,
2325 struct lm93_data *data = lm93_update_device(dev);
2331 static ssize_t alarms_show(struct device *dev, struct device_attribute *attr,
2334 struct lm93_data *data = lm93_update_device(dev);
2539 dev_warn(&client->dev,
2556 dev_dbg(&adapter->dev,
2573 dev_dbg(&adapter->dev,
2579 dev_dbg(&adapter->dev, "loading %s at %d, 0x%02x\n",
2588 struct device *dev = &client->dev;
2598 dev_dbg(dev, "using SMBus block data transactions\n");
2601 dev_dbg(dev, "disabled SMBus block data transactions\n");
2604 dev_dbg(dev, "detect failed, smbus byte and/or word data not supported!\n");
2608 data = devm_kzalloc(dev, sizeof(struct lm93_data), GFP_KERNEL);
2620 hwmon_dev = devm_hwmon_device_register_with_groups(dev, client->name,