Lines Matching refs:samsung_laptop
318 struct samsung_laptop;
321 struct samsung_laptop *samsung;
326 struct samsung_laptop { struct
383 static int sabi_command(struct samsung_laptop *samsung, u16 command, in sabi_command()
457 static int sabi_set_commandb(struct samsung_laptop *samsung, in sabi_set_commandb()
466 static int read_brightness(struct samsung_laptop *samsung) in read_brightness()
488 static void set_brightness(struct samsung_laptop *samsung, u8 user_brightness) in set_brightness()
510 struct samsung_laptop *samsung = bl_get_data(bd); in get_brightness()
515 static void check_for_stepping_quirk(struct samsung_laptop *samsung) in check_for_stepping_quirk()
551 struct samsung_laptop *samsung = bl_get_data(bd); in update_status()
572 struct samsung_laptop *samsung = srfkill->samsung; in seclinux_rfkill_set()
583 static int swsmi_wireless_status(struct samsung_laptop *samsung, in swsmi_wireless_status()
595 struct samsung_laptop *samsung = srfkill->samsung; in swsmi_rfkill_set()
621 struct samsung_laptop *samsung = srfkill->samsung; in swsmi_rfkill_query()
647 struct samsung_laptop *samsung = dev_get_drvdata(dev); in get_performance_level()
672 struct samsung_laptop *samsung = dev_get_drvdata(dev); in set_performance_level()
700 static int read_battery_life_extender(struct samsung_laptop *samsung) in read_battery_life_extender()
723 static int write_battery_life_extender(struct samsung_laptop *samsung, in write_battery_life_extender()
739 struct samsung_laptop *samsung = dev_get_drvdata(dev); in get_battery_life_extender()
753 struct samsung_laptop *samsung = dev_get_drvdata(dev); in set_battery_life_extender()
769 static int read_usb_charge(struct samsung_laptop *samsung) in read_usb_charge()
792 static int write_usb_charge(struct samsung_laptop *samsung, in write_usb_charge()
808 struct samsung_laptop *samsung = dev_get_drvdata(dev); in get_usb_charge()
822 struct samsung_laptop *samsung = dev_get_drvdata(dev); in set_usb_charge()
838 static int read_lid_handling(struct samsung_laptop *samsung) in read_lid_handling()
857 static int write_lid_handling(struct samsung_laptop *samsung, in write_lid_handling()
873 struct samsung_laptop *samsung = dev_get_drvdata(dev); in get_lid_handling()
887 struct samsung_laptop *samsung = dev_get_drvdata(dev); in set_lid_handling()
930 static void samsung_rfkill_exit(struct samsung_laptop *samsung) in samsung_rfkill_exit()
944 static int samsung_new_rfkill(struct samsung_laptop *samsung, in samsung_new_rfkill()
974 static int __init samsung_rfkill_init_seclinux(struct samsung_laptop *samsung) in samsung_rfkill_init_seclinux()
980 static int __init samsung_rfkill_init_swsmi(struct samsung_laptop *samsung) in samsung_rfkill_init_swsmi()
1021 static int __init samsung_rfkill_init(struct samsung_laptop *samsung) in samsung_rfkill_init()
1030 static void samsung_lid_handling_exit(struct samsung_laptop *samsung) in samsung_lid_handling_exit()
1036 static int __init samsung_lid_handling_init(struct samsung_laptop *samsung) in samsung_lid_handling_init()
1046 static int kbd_backlight_enable(struct samsung_laptop *samsung) in kbd_backlight_enable()
1068 static int kbd_backlight_read(struct samsung_laptop *samsung) in kbd_backlight_read()
1085 static int kbd_backlight_write(struct samsung_laptop *samsung, int brightness) in kbd_backlight_write()
1098 struct samsung_laptop *samsung; in kbd_led_update()
1100 samsung = container_of(work, struct samsung_laptop, kbd_led_work); in kbd_led_update()
1107 struct samsung_laptop *samsung; in kbd_led_set()
1109 samsung = container_of(led_cdev, struct samsung_laptop, kbd_led); in kbd_led_set()
1120 struct samsung_laptop *samsung; in kbd_led_get()
1122 samsung = container_of(led_cdev, struct samsung_laptop, kbd_led); in kbd_led_get()
1126 static void samsung_leds_exit(struct samsung_laptop *samsung) in samsung_leds_exit()
1133 static int __init samsung_leds_init(struct samsung_laptop *samsung) in samsung_leds_init()
1161 static void samsung_backlight_exit(struct samsung_laptop *samsung) in samsung_backlight_exit()
1169 static int __init samsung_backlight_init(struct samsung_laptop *samsung) in samsung_backlight_init()
1201 struct samsung_laptop *samsung = dev_get_drvdata(dev); in samsung_sysfs_is_visible()
1221 static void samsung_sysfs_exit(struct samsung_laptop *samsung) in samsung_sysfs_exit()
1228 static int __init samsung_sysfs_init(struct samsung_laptop *samsung) in samsung_sysfs_init()
1238 struct samsung_laptop *samsung = m->private; in samsung_laptop_call_show()
1260 static void samsung_debugfs_exit(struct samsung_laptop *samsung) in samsung_debugfs_exit()
1265 static void samsung_debugfs_init(struct samsung_laptop *samsung) in samsung_debugfs_init()
1294 static void samsung_sabi_exit(struct samsung_laptop *samsung) in samsung_sabi_exit()
1314 static __init void samsung_sabi_infos(struct samsung_laptop *samsung, int loca, in samsung_sabi_infos()
1339 static void __init samsung_sabi_diag(struct samsung_laptop *samsung) in samsung_sabi_diag()
1367 static int __init samsung_sabi_init(struct samsung_laptop *samsung) in samsung_sabi_init()
1448 static void samsung_platform_exit(struct samsung_laptop *samsung) in samsung_platform_exit()
1459 struct samsung_laptop *samsung; in samsung_pm_notification()
1461 samsung = container_of(nb, struct samsung_laptop, pm_nb); in samsung_pm_notification()
1472 static int __init samsung_platform_init(struct samsung_laptop *samsung) in samsung_platform_init()
1558 struct samsung_laptop *samsung; in samsung_init()
1634 struct samsung_laptop *samsung; in samsung_exit()