Lines Matching full:commands

147 	const struct sabi_commands commands;  member
172 .commands = {
235 .commands = {
297 * This allow to call arbitrary sabi commands wihout
457 /* simple wrappers usable with most commands */
470 const struct sabi_commands *commands = &samsung->config->commands; in read_brightness() local
475 retval = sabi_command(samsung, commands->get_brightness, in read_brightness()
492 const struct sabi_commands *commands = &samsung->config->commands; in set_brightness() local
503 sabi_set_commandb(samsung, commands->set_brightness, 0); in set_brightness()
506 sabi_set_commandb(samsung, commands->set_brightness, user_level); in set_brightness()
553 const struct sabi_commands *commands = &samsung->config->commands; in update_status() local
558 sabi_set_commandb(samsung, commands->set_backlight, 1); in update_status()
560 sabi_set_commandb(samsung, commands->set_backlight, 0); in update_status()
574 const struct sabi_commands *commands = &samsung->config->commands; in seclinux_rfkill_set() local
576 return sabi_set_commandb(samsung, commands->set_wireless_button, in seclinux_rfkill_set()
587 const struct sabi_commands *commands = &samsung->config->commands; in swsmi_wireless_status() local
589 return sabi_command(samsung, commands->get_wireless_status, in swsmi_wireless_status()
597 const struct sabi_commands *commands = &samsung->config->commands; in swsmi_rfkill_set() local
615 return sabi_command(samsung, commands->set_wireless_status, in swsmi_rfkill_set()
650 const struct sabi_commands *commands = &config->commands; in get_performance_level() local
656 retval = sabi_command(samsung, commands->get_performance_level, in get_performance_level()
675 const struct sabi_commands *commands = &config->commands; in set_performance_level() local
686 commands->set_performance_level, in set_performance_level()
703 const struct sabi_commands *commands = &samsung->config->commands; in read_battery_life_extender() local
707 if (commands->get_battery_life_extender == 0xFFFF) in read_battery_life_extender()
712 retval = sabi_command(samsung, commands->get_battery_life_extender, in read_battery_life_extender()
727 const struct sabi_commands *commands = &samsung->config->commands; in write_battery_life_extender() local
732 return sabi_command(samsung, commands->set_battery_life_extender, in write_battery_life_extender()
772 const struct sabi_commands *commands = &samsung->config->commands; in read_usb_charge() local
776 if (commands->get_usb_charge == 0xFFFF) in read_usb_charge()
781 retval = sabi_command(samsung, commands->get_usb_charge, in read_usb_charge()
796 const struct sabi_commands *commands = &samsung->config->commands; in write_usb_charge() local
801 return sabi_command(samsung, commands->set_usb_charge, in write_usb_charge()
841 const struct sabi_commands *commands = &samsung->config->commands; in read_lid_handling() local
845 if (commands->get_lid_handling == 0xFFFF) in read_lid_handling()
849 retval = sabi_command(samsung, commands->get_lid_handling, in read_lid_handling()
861 const struct sabi_commands *commands = &samsung->config->commands; in write_lid_handling() local
866 return sabi_command(samsung, commands->set_lid_handling, in write_lid_handling()
1049 const struct sabi_commands *commands = &samsung->config->commands; in kbd_backlight_enable() local
1053 if (commands->kbd_backlight == 0xFFFF) in kbd_backlight_enable()
1058 retval = sabi_command(samsung, commands->kbd_backlight, in kbd_backlight_enable()
1071 const struct sabi_commands *commands = &samsung->config->commands; in kbd_backlight_read() local
1077 retval = sabi_command(samsung, commands->kbd_backlight, in kbd_backlight_read()
1088 const struct sabi_commands *commands = &samsung->config->commands; in kbd_backlight_write() local
1093 return sabi_command(samsung, commands->kbd_backlight, in kbd_backlight_write()
1300 if (config && config->commands.set_linux != 0xff) in samsung_sabi_exit()
1301 sabi_set_commandb(samsung, config->commands.set_linux, 0x80); in samsung_sabi_exit()
1371 const struct sabi_commands *commands; in samsung_sabi_init() local
1404 commands = &config->commands; in samsung_sabi_init()
1425 if (commands->set_linux != 0xff) { in samsung_sabi_init()
1427 commands->set_linux, 0x81); in samsung_sabi_init()