Lines Matching refs:dev
655 static ssize_t display_show(struct device *dev, struct device_attribute *attr, in display_show() argument
665 static ssize_t hddtemp_show(struct device *dev, struct device_attribute *attr, in hddtemp_show() argument
675 static ssize_t als_show(struct device *dev, struct device_attribute *attr, in als_show() argument
685 static ssize_t dock_show(struct device *dev, struct device_attribute *attr, in dock_show() argument
695 static ssize_t tablet_show(struct device *dev, struct device_attribute *attr, in tablet_show() argument
705 static ssize_t postcode_show(struct device *dev, struct device_attribute *attr, in postcode_show() argument
716 static ssize_t als_store(struct device *dev, struct device_attribute *attr, in als_store() argument
734 static ssize_t postcode_store(struct device *dev, struct device_attribute *attr, in postcode_store() argument
1020 wifi_rfkill = rfkill_alloc("hp-wifi", &device->dev, in hp_wmi_rfkill_setup()
1036 bluetooth_rfkill = rfkill_alloc("hp-bluetooth", &device->dev, in hp_wmi_rfkill_setup()
1054 wwan_rfkill = rfkill_alloc("hp-wwan", &device->dev, in hp_wmi_rfkill_setup()
1138 rfkill = rfkill_alloc(name, &device->dev, type, in hp_wmi_rfkill2_setup()
1584 static int hp_wmi_hwmon_read(struct device *dev, enum hwmon_sensor_types type, in hp_wmi_hwmon_read() argument
1618 static int hp_wmi_hwmon_write(struct device *dev, enum hwmon_sensor_types type, in hp_wmi_hwmon_write() argument
1658 struct device *dev = &hp_wmi_platform_dev->dev; in hp_wmi_hwmon_init() local
1661 hwmon = devm_hwmon_device_register_with_info(dev, "hp", &hp_wmi_driver, in hp_wmi_hwmon_init()
1665 dev_err(dev, "Could not register hp hwmon device\n"); in hp_wmi_hwmon_init()