Searched refs:modes_str (Results 1 - 2 of 2) sorted by relevance

/linux-4.1.27/tools/power/acpi/os_specific/service_layers/
H A Doslibcfs.c68 char modes_str[4]; acpi_os_open_file() local
71 modes_str[i++] = 'r'; acpi_os_open_file()
74 modes_str[i++] = 'w'; acpi_os_open_file()
77 modes_str[i++] = 'b'; acpi_os_open_file()
80 modes_str[i++] = '\0'; acpi_os_open_file()
82 file = fopen(path, modes_str); acpi_os_open_file()
/linux-4.1.27/drivers/net/wireless/iwlwifi/mvm/
H A Ddebugfs.c610 static const char * const modes_str[BT_FORCE_ANT_MAX] = { iwl_dbgfs_bt_force_ant_write() local
619 bt_force_ant_mode < ARRAY_SIZE(modes_str); iwl_dbgfs_bt_force_ant_write()
621 if (!strcmp(buf, modes_str[bt_force_ant_mode])) iwl_dbgfs_bt_force_ant_write()
625 if (bt_force_ant_mode >= ARRAY_SIZE(modes_str)) iwl_dbgfs_bt_force_ant_write()
635 modes_str[mvm->bt_force_ant_mode]); iwl_dbgfs_bt_force_ant_write()

Completed in 119 milliseconds