Lines Matching refs:acpi_dev

172 	struct acpi_device *acpi_dev;  member
333 status = acpi_evaluate_object(dev->acpi_dev->handle, in tci_raw()
2492 if (sysfs_update_group(&toshiba_acpi->acpi_dev->dev.kobj, in toshiba_acpi_kbd_bl_work()
2504 acpi_bus_generate_netlink_event(toshiba_acpi->acpi_dev->pnp.device_class, in toshiba_acpi_kbd_bl_work()
2505 dev_name(&toshiba_acpi->acpi_dev->dev), in toshiba_acpi_kbd_bl_work()
2699 &dev->acpi_dev->dev, in toshiba_acpi_setup_wwan_rfkill()
2727 status = acpi_evaluate_object(dev->acpi_dev->handle, in toshiba_acpi_enable_hotkeys()
2788 status = acpi_evaluate_integer(dev->acpi_dev->handle, "INFO", in toshiba_acpi_query_hotkey()
2885 dev->hotkey_dev->dev.parent = &dev->acpi_dev->dev; in toshiba_acpi_setup_keyboard()
2924 if (acpi_has_method(dev->acpi_dev->handle, "INFO")) in toshiba_acpi_setup_keyboard()
2993 &dev->acpi_dev->dev, in toshiba_acpi_setup_backlight()
3189 static int toshiba_acpi_remove(struct acpi_device *acpi_dev) in toshiba_acpi_remove() argument
3191 struct toshiba_acpi_dev *dev = acpi_driver_data(acpi_dev); in toshiba_acpi_remove()
3208 sysfs_remove_group(&dev->acpi_dev->dev.kobj, in toshiba_acpi_remove()
3289 static int toshiba_acpi_add(struct acpi_device *acpi_dev) in toshiba_acpi_add() argument
3302 hci_method = find_hci_method(acpi_dev->handle); in toshiba_acpi_add()
3311 dev->acpi_dev = acpi_dev; in toshiba_acpi_add()
3324 acpi_dev->driver_data = dev; in toshiba_acpi_add()
3325 dev_set_drvdata(&acpi_dev->dev, dev); in toshiba_acpi_add()
3355 led_classdev_register(&acpi_dev->dev, &dev->led_dev); in toshiba_acpi_add()
3364 led_classdev_register(&dev->acpi_dev->dev, &dev->eco_led); in toshiba_acpi_add()
3380 led_classdev_register(&dev->acpi_dev->dev, &dev->kbd_led); in toshiba_acpi_add()
3388 dev->indio_dev = iio_device_alloc(&acpi_dev->dev, sizeof(*dev)); in toshiba_acpi_add()
3437 &dev->acpi_dev->dev, "toshiba_acpi_sensors", NULL, in toshiba_acpi_add()
3459 ret = sysfs_create_group(&dev->acpi_dev->dev.kobj, in toshiba_acpi_add()
3481 toshiba_acpi_remove(acpi_dev); in toshiba_acpi_add()
3485 static void toshiba_acpi_notify(struct acpi_device *acpi_dev, u32 event) in toshiba_acpi_notify() argument
3487 struct toshiba_acpi_dev *dev = acpi_driver_data(acpi_dev); in toshiba_acpi_notify()
3519 if (sysfs_update_group(&acpi_dev->dev.kobj, in toshiba_acpi_notify()
3538 acpi_bus_generate_netlink_event(acpi_dev->pnp.device_class, in toshiba_acpi_notify()
3539 dev_name(&acpi_dev->dev), in toshiba_acpi_notify()