Lines Matching refs:toshiba_acpi
232 static struct toshiba_acpi_dev *toshiba_acpi; variable
1919 toshiba_acpi->kbd_mode = mode; in kbd_backlight_mode_store()
2498 if (sysfs_update_group(&toshiba_acpi->acpi_dev->dev.kobj, in toshiba_acpi_kbd_bl_work()
2503 if (toshiba_acpi->kbd_type == 2 && in toshiba_acpi_kbd_bl_work()
2504 toshiba_acpi->kbd_mode != SCI_KBD_MODE_AUTO) in toshiba_acpi_kbd_bl_work()
2505 led_classdev_notify_brightness_hw_changed(&toshiba_acpi->kbd_led, in toshiba_acpi_kbd_bl_work()
2506 (toshiba_acpi->kbd_mode == SCI_KBD_MODE_ON) ? in toshiba_acpi_kbd_bl_work()
2510 acpi_bus_generate_netlink_event(toshiba_acpi->acpi_dev->pnp.device_class, in toshiba_acpi_kbd_bl_work()
2511 dev_name(&toshiba_acpi->acpi_dev->dev), in toshiba_acpi_kbd_bl_work()
2530 ret = toshiba_accelerometer_get(toshiba_acpi, &xyval, &zval); in toshiba_iio_accel_get_axis()
2599 status = tci_raw(toshiba_acpi, in, out); in toshiba_acpi_smm_bridge()
2642 if (!sci_open(toshiba_acpi)) in toshiba_acpi_ioctl()
2645 sci_close(toshiba_acpi); in toshiba_acpi_ioctl()
2771 schedule_work(&toshiba_acpi->hotkey_work); in toshiba_acpi_i8042_filter()
3041 ret = get_fan_rpm(toshiba_acpi, &value); in toshiba_acpi_hwmon_read()
3075 if (toshiba_acpi == NULL) { in charge_control_end_threshold_show()
3080 status = toshiba_battery_charge_mode_get(toshiba_acpi, &state); in charge_control_end_threshold_show()
3099 if (toshiba_acpi == NULL) { in charge_control_end_threshold_store()
3110 rval = toshiba_battery_charge_mode_set(toshiba_acpi, in charge_control_end_threshold_store()
3129 if (toshiba_acpi == NULL) { in toshiba_acpi_battery_add()
3133 if (!toshiba_acpi->battery_charge_mode_supported) in toshiba_acpi_battery_add()
3244 if (toshiba_acpi) in toshiba_acpi_remove()
3245 toshiba_acpi = NULL; in toshiba_acpi_remove()
3316 if (toshiba_acpi) in toshiba_acpi_add()
3486 toshiba_acpi = dev; in toshiba_acpi_add()