Lines Matching defs:dev

723 	struct acpi_device *dev;
725 if (acpi_bus_get_device(handle, &dev))
727 if (strcmp(ACPI_VIDEO_HID, acpi_device_hid(dev)))
934 static int tpacpi_suspend_handler(struct device *dev)
948 static int tpacpi_resume_handler(struct device *dev)
1252 &tpacpi_pdev->dev,
2701 static int hotkey_inputdev_open(struct input_dev *dev)
2717 static void hotkey_inputdev_close(struct input_dev *dev)
2726 static ssize_t hotkey_enable_show(struct device *dev,
2742 static ssize_t hotkey_enable_store(struct device *dev,
2763 static ssize_t hotkey_mask_show(struct device *dev,
2770 static ssize_t hotkey_mask_store(struct device *dev,
2799 static ssize_t hotkey_bios_enabled_show(struct device *dev,
2809 static ssize_t hotkey_bios_mask_show(struct device *dev,
2821 static ssize_t hotkey_all_mask_show(struct device *dev,
2832 static ssize_t hotkey_adaptive_all_mask_show(struct device *dev,
2843 static ssize_t hotkey_recommended_mask_show(struct device *dev,
2857 static ssize_t hotkey_source_mask_show(struct device *dev,
2864 static ssize_t hotkey_source_mask_store(struct device *dev,
2908 static ssize_t hotkey_poll_freq_show(struct device *dev,
2915 static ssize_t hotkey_poll_freq_store(struct device *dev,
2942 static ssize_t hotkey_radio_sw_show(struct device *dev,
2963 sysfs_notify(&tpacpi_pdev->dev.kobj, NULL,
2968 static ssize_t hotkey_tablet_mode_show(struct device *dev,
2985 sysfs_notify(&tpacpi_pdev->dev.kobj, NULL,
2990 static ssize_t hotkey_wakeup_reason_show(struct device *dev,
3001 sysfs_notify(&tpacpi_pdev->dev.kobj, NULL,
3006 static ssize_t hotkey_wakeup_hotunplug_complete_show(struct device *dev,
3018 sysfs_notify(&tpacpi_pdev->dev.kobj, NULL,
3035 static ssize_t adaptive_kbd_mode_show(struct device *dev,
3048 static ssize_t adaptive_kbd_mode_store(struct device *dev,
3146 delete_attr_set(hotkey_dev_attributes, &tpacpi_pdev->dev.kobj);
3563 &tpacpi_pdev->dev.kobj,
3630 &tpacpi_pdev->dev.kobj);
3729 delete_attr_set(hotkey_dev_attributes, &tpacpi_pdev->dev.kobj);
3730 sysfs_remove_group(&tpacpi_pdev->dev.kobj,
4116 dev_name(&ibm->acpi->device->dev),
4202 dev_name(&ibm->acpi->device->dev),
4423 static ssize_t bluetooth_enable_show(struct device *dev,
4431 static ssize_t bluetooth_enable_store(struct device *dev,
4470 sysfs_remove_group(&tpacpi_pdev->dev.kobj,
4591 res = sysfs_create_group(&tpacpi_pdev->dev.kobj,
4679 static ssize_t wan_enable_show(struct device *dev,
4687 static ssize_t wan_enable_store(struct device *dev,
4727 sysfs_remove_group(&tpacpi_pdev->dev.kobj,
4778 res = sysfs_create_group(&tpacpi_pdev->dev.kobj,
5415 rc = led_classdev_register(&tpacpi_pdev->dev,
5601 rc = led_classdev_register(&tpacpi_pdev->dev,
5671 static ssize_t cmos_command_store(struct device *dev,
5701 res = device_create_file(&tpacpi_pdev->dev, &dev_attr_cmos_command);
5710 device_remove_file(&tpacpi_pdev->dev, &dev_attr_cmos_command);
5958 return led_classdev_register(&tpacpi_pdev->dev, &tpacpi_leds[led].led_classdev);
6368 static ssize_t thermal_temp_input_show(struct device *dev,
7611 rc = snd_card_new(&tpacpi_pdev->dev,
8579 static ssize_t fan_pwm1_enable_show(struct device *dev,
8600 static ssize_t fan_pwm1_enable_store(struct device *dev,
8645 static ssize_t fan_pwm1_show(struct device *dev,
8666 static ssize_t fan_pwm1_store(struct device *dev,
8705 static ssize_t fan_fan1_input_show(struct device *dev,
8722 static ssize_t fan_fan2_input_show(struct device *dev,
9302 err = led_classdev_register(&tpacpi_pdev->dev, &mute_led_cdev[i]);
9542 struct device *dev,
9545 struct power_supply *supply = to_power_supply(dev);
9610 struct device *dev,
9613 struct power_supply *supply = to_power_supply(dev);
9650 static ssize_t charge_control_start_threshold_store(struct device *dev,
9654 return tpacpi_battery_store(THRESHOLD_START, dev, buf, count);
9657 static ssize_t charge_control_end_threshold_store(struct device *dev,
9661 return tpacpi_battery_store(THRESHOLD_STOP, dev, buf, count);
9697 if (device_add_groups(&battery->dev, tpacpi_battery_groups))
9704 device_remove_groups(&battery->dev, tpacpi_battery_groups);
9863 sysfs_notify(&tpacpi_pdev->dev.kobj, NULL, "dytc_lapmode");
9904 static ssize_t dytc_lapmode_show(struct device *dev,
9937 err = sysfs_create_group(&tpacpi_pdev->dev.kobj, &dytc_attr_group);
9943 sysfs_remove_group(&tpacpi_pdev->dev.kobj, &dytc_attr_group);
10221 const struct dmi_device *dev = NULL;
10256 while ((dev = dmi_find_device(DMI_DEV_TYPE_OEM_STRING, NULL, dev))) {
10257 if (sscanf(dev->name,
10710 &tpacpi_sensors_pdev->dev, TPACPI_NAME, NULL, NULL);
10732 tpacpi_inputdev->dev.parent = &tpacpi_pdev->dev;