Home
last modified time | relevance | path

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

12

/linux-6.12.1/arch/powerpc/kernel/
Drtas.c557 s32 rtas_function_token(const rtas_fn_handle_t handle) in rtas_function_token() function
573 EXPORT_SYMBOL_GPL(rtas_function_token);
893 display_character = rtas_function_token(RTAS_FN_DISPLAY_CHARACTER); in rtas_progress()
894 set_indicator = rtas_function_token(RTAS_FN_SET_INDICATOR); in rtas_progress()
1052 const s32 token = rtas_function_token(RTAS_FN_RTAS_LAST_ERROR); in __fetch_rtas_last_error()
1152 return token == rtas_function_token(RTAS_FN_IBM_OPEN_ERRINJCT) || in token_is_restricted_errinjct()
1153 token == rtas_function_token(RTAS_FN_IBM_ERRINJCT); in token_is_restricted_errinjct()
1463 int token = rtas_function_token(RTAS_FN_GET_POWER_LEVEL); in rtas_get_power_level()
1480 int token = rtas_function_token(RTAS_FN_SET_POWER_LEVEL); in rtas_set_power_level()
1498 int token = rtas_function_token(RTAS_FN_GET_SENSOR_STATE); in rtas_get_sensor()
[all …]
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()
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()
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()
Drtas_flash.c379 rc = rtas_call(rtas_function_token(RTAS_FN_IBM_MANAGE_FLASH_IMAGE), 1, 1, in manage_flash()
447 int token = rtas_function_token(RTAS_FN_IBM_VALIDATE_FLASH_IMAGE); in validate_flash()
573 update_token = rtas_function_token(RTAS_FN_IBM_UPDATE_FLASH_64_AND_REBOOT); in rtas_flash_firmware()
703 if (rtas_function_token(RTAS_FN_IBM_UPDATE_FLASH_64_AND_REBOOT) == RTAS_UNKNOWN_SERVICE) { in rtas_flash_init()
732 token = rtas_function_token(f->handle); in rtas_flash_init()
Drtasd.c509 event_scan = rtas_function_token(RTAS_FN_EVENT_SCAN); in rtas_event_scan_init()
/linux-6.12.1/arch/powerpc/platforms/pseries/
Deeh_pseries.c702 int ibm_allow_unfreeze = rtas_function_token(RTAS_FN_IBM_OPEN_SRIOV_ALLOW_UNFREEZE); in pseries_send_allow_unfreeze()
777 if (rtas_function_token(RTAS_FN_IBM_OPEN_SRIOV_ALLOW_UNFREEZE) == RTAS_UNKNOWN_SERVICE) in pseries_notify_resume()
855 ibm_set_eeh_option = rtas_function_token(RTAS_FN_IBM_SET_EEH_OPTION); in eeh_pseries_init()
856 ibm_set_slot_reset = rtas_function_token(RTAS_FN_IBM_SET_SLOT_RESET); in eeh_pseries_init()
857 ibm_read_slot_reset_state2 = rtas_function_token(RTAS_FN_IBM_READ_SLOT_RESET_STATE2); in eeh_pseries_init()
858 ibm_read_slot_reset_state = rtas_function_token(RTAS_FN_IBM_READ_SLOT_RESET_STATE); in eeh_pseries_init()
859 ibm_slot_error_detail = rtas_function_token(RTAS_FN_IBM_SLOT_ERROR_DETAIL); in eeh_pseries_init()
860 ibm_get_config_addr_info2 = rtas_function_token(RTAS_FN_IBM_GET_CONFIG_ADDR_INFO2); in eeh_pseries_init()
861 ibm_get_config_addr_info = rtas_function_token(RTAS_FN_IBM_GET_CONFIG_ADDR_INFO); in eeh_pseries_init()
862 ibm_configure_pe = rtas_function_token(RTAS_FN_IBM_CONFIGURE_PE); in eeh_pseries_init()
[all …]
Dsmp.c58 int qcss_tok = rtas_function_token(RTAS_FN_QUERY_CPU_STOPPED_STATE); in smp_query_cpu_stopped()
111 start_cpu = rtas_function_token(RTAS_FN_START_CPU); in smp_startup_cpu()
269 if (rtas_function_token(RTAS_FN_QUERY_CPU_STOPPED_STATE) == RTAS_UNKNOWN_SERVICE) { in smp_init_pseries()
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()
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()
Dio_event_irq.c146 ioei_check_exception_token = rtas_function_token(RTAS_FN_CHECK_EXCEPTION); in ioei_init()
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()
Dmobility.c190 update_properties_token = rtas_function_token(RTAS_FN_IBM_UPDATE_PROPERTIES); in update_dt_node()
301 update_nodes_token = rtas_function_token(RTAS_FN_IBM_UPDATE_NODES); in pseries_devicetree_update()
Dmsi.c687 query_token = rtas_function_token(RTAS_FN_IBM_QUERY_INTERRUPT_SOURCE_NUMBER); in rtas_msi_init()
688 change_token = rtas_function_token(RTAS_FN_IBM_CHANGE_MSI); in rtas_msi_init()
Dhotplug-cpu.c860 rtas_stop_self_token = rtas_function_token(RTAS_FN_STOP_SELF); in pseries_cpu_hotplug_init()
861 qcss_tok = rtas_function_token(RTAS_FN_QUERY_CPU_STOPPED_STATE); in pseries_cpu_hotplug_init()
Dpci.c36 int ibm_map_pes = rtas_function_token(RTAS_FN_IBM_OPEN_SRIOV_MAP_PE_NUMBER); in pseries_send_map_pe()
Dpapr-vpd.c79 fwrc = rtas_call(rtas_function_token(RTAS_FN_IBM_GET_VPD), 4, 3, in rtas_ibm_get_vpd()
/linux-6.12.1/arch/powerpc/sysdev/xics/
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-6.12.1/arch/powerpc/platforms/cell/
Dsmp.c85 start_cpu = rtas_function_token(RTAS_FN_START_CPU); in smp_startup_cpu()
156 if (rtas_function_token(RTAS_FN_FREEZE_TIME_BASE) != RTAS_UNKNOWN_SERVICE) { in smp_init_cell()
Dras.c300 ptcal_start_tok = rtas_function_token(RTAS_FN_IBM_CBE_START_PTCAL); in cbe_ptcal_init()
301 ptcal_stop_tok = rtas_function_token(RTAS_FN_IBM_CBE_STOP_PTCAL); in cbe_ptcal_init()
/linux-6.12.1/arch/powerpc/platforms/chrp/
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()
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()
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-6.12.1/arch/powerpc/platforms/52xx/
Defika.c44 rval = rtas_call(rtas_function_token(RTAS_FN_READ_PCI_CONFIG), 2, 2, &ret, addr, len); in rtas_read_config()
58 rval = rtas_call(rtas_function_token(RTAS_FN_WRITE_PCI_CONFIG), 3, 1, NULL, in rtas_write_config()
/linux-6.12.1/arch/powerpc/include/asm/
Drtas.h421 s32 rtas_function_token(const rtas_fn_handle_t handle);
424 return rtas_function_token(handle) != RTAS_UNKNOWN_SERVICE; in rtas_function_implemented()

12