Lines Matching refs:device
39 struct device *dev;
292 static int pwm_fan_write(struct device *dev, enum hwmon_sensor_types type,
321 static int pwm_fan_read(struct device *dev, enum hwmon_sensor_types type,
368 /* thermal cooling device callbacks */
409 dev_err(&cdev->device, "Cannot set pwm!\n");
424 static int pwm_fan_of_get_cooling_data(struct device *dev,
478 struct device *dev = &pdev->dev;
480 struct device *hwmon;
621 dev_err(dev, "Failed to register hwmon device\n");
636 "Failed to register pwm-fan as cooling device: %d\n",
653 static int pwm_fan_suspend(struct device *dev)
660 static int pwm_fan_resume(struct device *dev)