Home
last modified time | relevance | path

Searched refs:rtas_function_token (Results 1 – 21 of 21) sorted by relevance

/linux/arch/powerpc/kernel/
H A Drtas.c581 s32 rtas_function_token(const rtas_fn_handle_t handle) in rtas_function_token() function
597 EXPORT_SYMBOL_GPL(rtas_function_token);
857 display_character = rtas_function_token(RTAS_FN_DISPLAY_CHARACTER); in rtas_progress()
858 set_indicator = rtas_function_token(RTAS_FN_SET_INDICATOR); in rtas_progress()
1016 const s32 token = rtas_function_token(RTAS_FN_RTAS_LAST_ERROR); in __fetch_rtas_last_error()
1116 return token == rtas_function_token(RTAS_FN_IBM_OPEN_ERRINJCT) || in token_is_restricted_errinjct()
1117 token == rtas_function_token(RTAS_FN_IBM_ERRINJCT); in token_is_restricted_errinjct()
1420 int token = rtas_function_token(RTAS_FN_GET_POWER_LEVEL); in rtas_get_power_level()
1437 int token = rtas_function_token(RTAS_FN_SET_POWER_LEVEL); in rtas_set_power_level()
1455 int token = rtas_function_token(RTAS_FN_GET_SENSOR_STATE); in rtas_get_sensor()
[all …]
H A Drtas-rtc.c24 error = rtas_call(rtas_function_token(RTAS_FN_GET_TIME_OF_DAY), 0, 8, ret); in rtas_get_boot_time()
56 error = rtas_call(rtas_function_token(RTAS_FN_GET_TIME_OF_DAY), 0, 8, ret); in rtas_get_rtc_time()
93 error = rtas_call(rtas_function_token(RTAS_FN_SET_TIME_OF_DAY), 7, 1, NULL, in rtas_set_rtc_time()
H A Drtas_pci.c194 read_pci_config = rtas_function_token(RTAS_FN_READ_PCI_CONFIG); in init_pci_config_tokens()
195 write_pci_config = rtas_function_token(RTAS_FN_WRITE_PCI_CONFIG); in init_pci_config_tokens()
196 ibm_read_pci_config = rtas_function_token(RTAS_FN_IBM_READ_PCI_CONFIG); in init_pci_config_tokens()
197 ibm_write_pci_config = rtas_function_token(RTAS_FN_IBM_WRITE_PCI_CONFIG); in init_pci_config_tokens()
H A Drtas-proc.c290 error = rtas_call(rtas_function_token(RTAS_FN_SET_TIME_FOR_POWER_ON), 7, 1, NULL, in ppc_rtas_poweron_write()
353 error = rtas_call(rtas_function_token(RTAS_FN_SET_TIME_OF_DAY), 7, 1, NULL, in ppc_rtas_clock_write()
365 int error = rtas_call(rtas_function_token(RTAS_FN_GET_TIME_OF_DAY), 0, 8, ret); in ppc_rtas_clock_show()
388 int get_sensor_state = rtas_function_token(RTAS_FN_GET_SENSOR_STATE); in ppc_rtas_sensors_show()
711 error = rtas_call(rtas_function_token(RTAS_FN_SET_INDICATOR), 3, 1, NULL, in ppc_rtas_tone_freq_write()
739 error = rtas_call(rtas_function_token(RTAS_FN_SET_INDICATOR), 3, 1, NULL, in ppc_rtas_tone_volume_write()
H A Drtas_flash.c371 rc = rtas_call(rtas_function_token(RTAS_FN_IBM_MANAGE_FLASH_IMAGE), 1, 1, in manage_flash()
431 int token = rtas_function_token(RTAS_FN_IBM_VALIDATE_FLASH_IMAGE); in validate_flash()
549 update_token = rtas_function_token(RTAS_FN_IBM_UPDATE_FLASH_64_AND_REBOOT); in rtas_flash_firmware()
679 if (rtas_function_token(RTAS_FN_IBM_UPDATE_FLASH_64_AND_REBOOT) == RTAS_UNKNOWN_SERVICE) { in rtas_flash_init()
708 token = rtas_function_token(f->handle); in rtas_flash_init()
H A Drtasd.c511 event_scan = rtas_function_token(RTAS_FN_EVENT_SCAN); in rtas_event_scan_init()
/linux/arch/powerpc/sysdev/xics/
H A Dics-rtas.c203 ibm_get_xive = rtas_function_token(RTAS_FN_IBM_GET_XIVE); in ics_rtas_init()
204 ibm_set_xive = rtas_function_token(RTAS_FN_IBM_SET_XIVE); in ics_rtas_init()
205 ibm_int_on = rtas_function_token(RTAS_FN_IBM_INT_ON); in ics_rtas_init()
206 ibm_int_off = rtas_function_token(RTAS_FN_IBM_INT_OFF); in ics_rtas_init()
/linux/arch/powerpc/platforms/chrp/
H A Dnvram.c34 if ((rtas_call(rtas_function_token(RTAS_FN_NVRAM_FETCH), 3, 2, &done, addr, in chrp_nvram_read_val()
56 if ((rtas_call(rtas_function_token(RTAS_FN_NVRAM_STORE), 3, 2, &done, addr, in chrp_nvram_write_val()
H A Dpci.c107 rval = rtas_call(rtas_function_token(RTAS_FN_READ_PCI_CONFIG), 2, 2, &ret, addr, len); in rtas_read_config()
121 rval = rtas_call(rtas_function_token(RTAS_FN_WRITE_PCI_CONFIG), 3, 1, NULL, in rtas_write_config()
H A Dsetup.c326 if (rtas_function_token(RTAS_FN_DISPLAY_CHARACTER) >= 0) in chrp_setup_arch()
330 if (rtas_function_token(RTAS_FN_GET_TIME_OF_DAY) != RTAS_UNKNOWN_SERVICE) { in chrp_setup_arch()
/linux/arch/powerpc/platforms/pseries/
H A Dnvram.c230 nvram_fetch = rtas_function_token(RTAS_FN_NVRAM_FETCH); in pSeries_nvram_init()
231 nvram_store = rtas_function_token(RTAS_FN_NVRAM_STORE); in pSeries_nvram_init()
H A Dpapr-sysparm.c98 const s32 token = rtas_function_token(RTAS_FN_IBM_GET_SYSTEM_PARAMETER); in papr_sysparm_get()
154 const s32 token = rtas_function_token(RTAS_FN_IBM_SET_SYSTEM_PARAMETER); in papr_sysparm_set()
H A Dio_event_irq.c146 ioei_check_exception_token = rtas_function_token(RTAS_FN_CHECK_EXCEPTION); in ioei_init()
H A Dsetup.c139 ibm_nmi_register_token = rtas_function_token(RTAS_FN_IBM_NMI_REGISTER); in fwnmi_init()
143 ibm_nmi_interlock_token = rtas_function_token(RTAS_FN_IBM_NMI_INTERLOCK); in fwnmi_init()
1078 int rtas_poweroff_ups_token = rtas_function_token(RTAS_FN_IBM_POWER_OFF_UPS); in pseries_power_off()
1085 rc = rtas_call(rtas_function_token(RTAS_FN_POWER_OFF), 2, 1, NULL, -1, -1); in pseries_power_off()
H A Dmobility.c191 update_properties_token = rtas_function_token(RTAS_FN_IBM_UPDATE_PROPERTIES); in update_dt_node()
302 update_nodes_token = rtas_function_token(RTAS_FN_IBM_UPDATE_NODES); in pseries_devicetree_update()
H A Dhotplug-cpu.c863 rtas_stop_self_token = rtas_function_token(RTAS_FN_STOP_SELF); in pseries_cpu_hotplug_init()
864 qcss_tok = rtas_function_token(RTAS_FN_QUERY_CPU_STOPPED_STATE); in pseries_cpu_hotplug_init()
H A Dmsi.c658 query_token = rtas_function_token(RTAS_FN_IBM_QUERY_INTERRUPT_SOURCE_NUMBER); in rtas_msi_init()
659 change_token = rtas_function_token(RTAS_FN_IBM_CHANGE_MSI); in rtas_msi_init()
H A Dpci.c36 int ibm_map_pes = rtas_function_token(RTAS_FN_IBM_OPEN_SRIOV_MAP_PE_NUMBER); in pseries_send_map_pe()
H A Dras.c158 ras_check_exception_token = rtas_function_token(RTAS_FN_CHECK_EXCEPTION); in init_ras_IRQ()
H A Ddlpar.c147 cc_token = rtas_function_token(RTAS_FN_IBM_CONFIGURE_CONNECTOR); in dlpar_configure_connector()
/linux/arch/powerpc/include/asm/
H A Drtas.h429 s32 rtas_function_token(const rtas_fn_handle_t handle);
432 return rtas_function_token(handle) != RTAS_UNKNOWN_SERVICE; in rtas_function_implemented()