Lines Matching defs:dev
320 static acpi_status tci_raw(struct toshiba_acpi_dev *dev, in tci_raw()
357 static u32 hci_write(struct toshiba_acpi_dev *dev, u32 reg, u32 in1) in hci_write()
366 static u32 hci_read(struct toshiba_acpi_dev *dev, u32 reg, u32 *out1) in hci_read()
384 static int sci_open(struct toshiba_acpi_dev *dev) in sci_open()
421 static void sci_close(struct toshiba_acpi_dev *dev) in sci_close()
440 static u32 sci_read(struct toshiba_acpi_dev *dev, u32 reg, u32 *out1) in sci_read()
454 static u32 sci_write(struct toshiba_acpi_dev *dev, u32 reg, u32 in1) in sci_write()
464 static void toshiba_illumination_available(struct toshiba_acpi_dev *dev) in toshiba_illumination_available()
491 struct toshiba_acpi_dev *dev = container_of(cdev, in toshiba_illumination_set() local
510 struct toshiba_acpi_dev *dev = container_of(cdev, in toshiba_illumination_get() local
533 static void toshiba_kbd_illum_available(struct toshiba_acpi_dev *dev) in toshiba_kbd_illum_available()
573 static int toshiba_kbd_illum_status_set(struct toshiba_acpi_dev *dev, u32 time) in toshiba_kbd_illum_status_set()
590 static int toshiba_kbd_illum_status_get(struct toshiba_acpi_dev *dev, u32 *time) in toshiba_kbd_illum_status_get()
609 struct toshiba_acpi_dev *dev = container_of(cdev, in toshiba_kbd_backlight_get() local
629 struct toshiba_acpi_dev *dev = container_of(cdev, in toshiba_kbd_backlight_set() local
642 static int toshiba_touchpad_set(struct toshiba_acpi_dev *dev, u32 state) in toshiba_touchpad_set()
659 static int toshiba_touchpad_get(struct toshiba_acpi_dev *dev, u32 *state) in toshiba_touchpad_get()
677 static void toshiba_eco_mode_available(struct toshiba_acpi_dev *dev) in toshiba_eco_mode_available()
721 struct toshiba_acpi_dev *dev = container_of(cdev, in toshiba_eco_mode_get_status() local
742 struct toshiba_acpi_dev *dev = container_of(cdev, in toshiba_eco_mode_set_status() local
756 static void toshiba_accelerometer_available(struct toshiba_acpi_dev *dev) in toshiba_accelerometer_available()
780 static int toshiba_accelerometer_get(struct toshiba_acpi_dev *dev, in toshiba_accelerometer_get()
807 static void toshiba_usb_sleep_charge_available(struct toshiba_acpi_dev *dev) in toshiba_usb_sleep_charge_available()
848 static int toshiba_usb_sleep_charge_get(struct toshiba_acpi_dev *dev, in toshiba_usb_sleep_charge_get()
866 static int toshiba_usb_sleep_charge_set(struct toshiba_acpi_dev *dev, in toshiba_usb_sleep_charge_set()
884 static int toshiba_sleep_functions_status_get(struct toshiba_acpi_dev *dev, in toshiba_sleep_functions_status_get()
914 static int toshiba_sleep_functions_status_set(struct toshiba_acpi_dev *dev, in toshiba_sleep_functions_status_set()
939 static int toshiba_usb_rapid_charge_get(struct toshiba_acpi_dev *dev, in toshiba_usb_rapid_charge_get()
968 static int toshiba_usb_rapid_charge_set(struct toshiba_acpi_dev *dev, in toshiba_usb_rapid_charge_set()
993 static int toshiba_usb_sleep_music_get(struct toshiba_acpi_dev *dev, u32 *state) in toshiba_usb_sleep_music_get()
1010 static int toshiba_usb_sleep_music_set(struct toshiba_acpi_dev *dev, u32 state) in toshiba_usb_sleep_music_set()
1028 static int toshiba_function_keys_get(struct toshiba_acpi_dev *dev, u32 *mode) in toshiba_function_keys_get()
1045 static int toshiba_function_keys_set(struct toshiba_acpi_dev *dev, u32 mode) in toshiba_function_keys_set()
1063 static int toshiba_panel_power_on_get(struct toshiba_acpi_dev *dev, u32 *state) in toshiba_panel_power_on_get()
1080 static int toshiba_panel_power_on_set(struct toshiba_acpi_dev *dev, u32 state) in toshiba_panel_power_on_set()
1098 static int toshiba_usb_three_get(struct toshiba_acpi_dev *dev, u32 *state) in toshiba_usb_three_get()
1115 static int toshiba_usb_three_set(struct toshiba_acpi_dev *dev, u32 state) in toshiba_usb_three_set()
1133 static int toshiba_hotkey_event_type_get(struct toshiba_acpi_dev *dev, in toshiba_hotkey_event_type_get()
1158 static int toshiba_wireless_status(struct toshiba_acpi_dev *dev) in toshiba_wireless_status()
1184 static void toshiba_wwan_available(struct toshiba_acpi_dev *dev) in toshiba_wwan_available()
1215 static int toshiba_wwan_set(struct toshiba_acpi_dev *dev, u32 state) in toshiba_wwan_set()
1253 static void toshiba_cooling_method_available(struct toshiba_acpi_dev *dev) in toshiba_cooling_method_available()
1275 static int toshiba_cooling_method_get(struct toshiba_acpi_dev *dev, u32 *state) in toshiba_cooling_method_get()
1288 static int toshiba_cooling_method_set(struct toshiba_acpi_dev *dev, u32 state) in toshiba_cooling_method_set()
1302 static void toshiba_battery_charge_mode_available(struct toshiba_acpi_dev *dev) in toshiba_battery_charge_mode_available()
1322 static int toshiba_battery_charge_mode_get(struct toshiba_acpi_dev *dev, u32 *state) in toshiba_battery_charge_mode_get()
1351 static int toshiba_battery_charge_mode_set(struct toshiba_acpi_dev *dev, u32 state) in toshiba_battery_charge_mode_set()
1365 static int get_tr_backlight_status(struct toshiba_acpi_dev *dev, u32 *status) in get_tr_backlight_status()
1377 static int set_tr_backlight_status(struct toshiba_acpi_dev *dev, u32 status) in set_tr_backlight_status()
1392 static int __get_lcd_brightness(struct toshiba_acpi_dev *dev) in __get_lcd_brightness()
1421 struct toshiba_acpi_dev *dev = bl_get_data(bd); in get_lcd_brightness() local
1428 struct toshiba_acpi_dev *dev = m->private; in lcd_proc_show() local
1453 static int set_lcd_brightness(struct toshiba_acpi_dev *dev, int value) in set_lcd_brightness()
1478 struct toshiba_acpi_dev *dev = bl_get_data(bd); in set_lcd_status() local
1486 struct toshiba_acpi_dev *dev = pde_data(file_inode(file)); in lcd_proc_write() local
1517 static int get_video_status(struct toshiba_acpi_dev *dev, u32 *status) in get_video_status()
1531 struct toshiba_acpi_dev *dev = m->private; in video_proc_show() local
1557 struct toshiba_acpi_dev *dev = pde_data(file_inode(file)); in video_proc_write() local
1622 static int get_fan_status(struct toshiba_acpi_dev *dev, u32 *status) in get_fan_status()
1634 static int set_fan_status(struct toshiba_acpi_dev *dev, u32 status) in set_fan_status()
1648 struct toshiba_acpi_dev *dev = m->private; in fan_proc_show() local
1668 struct toshiba_acpi_dev *dev = pde_data(file_inode(file)); in fan_proc_write() local
1699 static int get_fan_rpm(struct toshiba_acpi_dev *dev, u32 *rpm) in get_fan_rpm()
1723 struct toshiba_acpi_dev *dev = m->private; in keys_proc_show() local
1739 struct toshiba_acpi_dev *dev = pde_data(file_inode(file)); in keys_proc_write() local
1778 static void create_toshiba_proc_entries(struct toshiba_acpi_dev *dev) in create_toshiba_proc_entries()
1796 static void remove_toshiba_proc_entries(struct toshiba_acpi_dev *dev) in remove_toshiba_proc_entries()
1823 static ssize_t version_show(struct device *dev, in version_show()
1830 static ssize_t fan_store(struct device *dev, in fan_store()
1852 static ssize_t fan_show(struct device *dev, in fan_show()
1867 static ssize_t kbd_backlight_mode_store(struct device *dev, in kbd_backlight_mode_store()
1943 static ssize_t kbd_backlight_mode_show(struct device *dev, in kbd_backlight_mode_show()
1957 static ssize_t kbd_type_show(struct device *dev, in kbd_type_show()
1966 static ssize_t available_kbd_modes_show(struct device *dev, in available_kbd_modes_show()
1981 static ssize_t kbd_backlight_timeout_store(struct device *dev, in kbd_backlight_timeout_store()
2024 static ssize_t kbd_backlight_timeout_show(struct device *dev, in kbd_backlight_timeout_show()
2038 static ssize_t touchpad_store(struct device *dev, in touchpad_store()
2060 static ssize_t touchpad_show(struct device *dev, in touchpad_show()
2075 static ssize_t usb_sleep_charge_show(struct device *dev, in usb_sleep_charge_show()
2089 static ssize_t usb_sleep_charge_store(struct device *dev, in usb_sleep_charge_store()
2130 static ssize_t sleep_functions_on_battery_show(struct device *dev, in sleep_functions_on_battery_show()
2153 static ssize_t sleep_functions_on_battery_store(struct device *dev, in sleep_functions_on_battery_store()
2192 static ssize_t usb_rapid_charge_show(struct device *dev, in usb_rapid_charge_show()
2206 static ssize_t usb_rapid_charge_store(struct device *dev, in usb_rapid_charge_store()
2228 static ssize_t usb_sleep_music_show(struct device *dev, in usb_sleep_music_show()
2242 static ssize_t usb_sleep_music_store(struct device *dev, in usb_sleep_music_store()
2264 static ssize_t kbd_function_keys_show(struct device *dev, in kbd_function_keys_show()
2278 static ssize_t kbd_function_keys_store(struct device *dev, in kbd_function_keys_store()
2307 static ssize_t panel_power_on_show(struct device *dev, in panel_power_on_show()
2321 static ssize_t panel_power_on_store(struct device *dev, in panel_power_on_store()
2345 static ssize_t usb_three_show(struct device *dev, in usb_three_show()
2359 static ssize_t usb_three_store(struct device *dev, in usb_three_store()
2388 static ssize_t cooling_method_show(struct device *dev, in cooling_method_show()
2402 static ssize_t cooling_method_store(struct device *dev, in cooling_method_store()
2458 struct device *dev = kobj_to_dev(kobj); in toshiba_sysfs_is_visible() local
2669 struct toshiba_acpi_dev *dev = data; in toshiba_acpi_wwan_set_block() local
2684 struct toshiba_acpi_dev *dev = data; in toshiba_acpi_wwan_poll() local
2697 static int toshiba_acpi_setup_wwan_rfkill(struct toshiba_acpi_dev *dev) in toshiba_acpi_setup_wwan_rfkill()
2728 static int toshiba_acpi_enable_hotkeys(struct toshiba_acpi_dev *dev) in toshiba_acpi_enable_hotkeys()
2794 static int toshiba_acpi_query_hotkey(struct toshiba_acpi_dev *dev) in toshiba_acpi_query_hotkey()
2809 static void toshiba_acpi_report_hotkey(struct toshiba_acpi_dev *dev, in toshiba_acpi_report_hotkey()
2823 static void toshiba_acpi_process_hotkeys(struct toshiba_acpi_dev *dev) in toshiba_acpi_process_hotkeys()
2866 static int toshiba_acpi_setup_keyboard(struct toshiba_acpi_dev *dev) in toshiba_acpi_setup_keyboard()
2963 static int toshiba_acpi_setup_backlight(struct toshiba_acpi_dev *dev) in toshiba_acpi_setup_backlight()
3028 static int toshiba_acpi_hwmon_read(struct device *dev, enum hwmon_sensor_types type, in toshiba_acpi_hwmon_read()
3091 static ssize_t charge_control_end_threshold_store(struct device *dev, in charge_control_end_threshold_store()
3152 static void print_supported_features(struct toshiba_acpi_dev *dev) in print_supported_features()
3202 struct toshiba_acpi_dev *dev = acpi_driver_data(acpi_dev); in toshiba_acpi_remove() local
3311 struct toshiba_acpi_dev *dev; in toshiba_acpi_add() local
3504 struct toshiba_acpi_dev *dev = acpi_driver_data(acpi_dev); in toshiba_acpi_notify() local
3564 struct toshiba_acpi_dev *dev = acpi_driver_data(to_acpi_device(device)); in toshiba_acpi_suspend() local
3579 struct toshiba_acpi_dev *dev = acpi_driver_data(to_acpi_device(device)); in toshiba_acpi_resume() local