Home
last modified time | relevance | path

Searched refs:rtas_token (Results 1 – 25 of 32) sorted by relevance

12

/arch/powerpc/kernel/
Drtas.c229 display_character = rtas_token("display-character"); in rtas_progress()
230 set_indicator = rtas_token("set-indicator"); in rtas_progress()
317 int rtas_token(const char *service) in rtas_token() function
325 EXPORT_SYMBOL_GPL(rtas_token);
329 return rtas_token(service) != RTAS_UNKNOWN_SERVICE; in rtas_service_present()
345 rtas_error_log_max = rtas_token ("rtas-error-log-max"); in rtas_get_error_log_max()
553 int token = rtas_token("get-power-level"); in rtas_get_power_level()
570 int token = rtas_token("set-power-level"); in rtas_set_power_level()
588 int token = rtas_token("get-sensor-state"); in rtas_get_sensor()
606 int token = rtas_token("get-sensor-state"); in rtas_get_sensor_fast()
[all …]
Drtas-rtc.c25 error = rtas_call(rtas_token("get-time-of-day"), 0, 8, ret); in rtas_get_boot_time()
57 error = rtas_call(rtas_token("get-time-of-day"), 0, 8, ret); in rtas_get_rtc_time()
94 error = rtas_call(rtas_token("set-time-of-day"), 7, 1, NULL, in rtas_set_rtc_time()
Drtas_pci.c193 read_pci_config = rtas_token("read-pci-config"); in init_pci_config_tokens()
194 write_pci_config = rtas_token("write-pci-config"); in init_pci_config_tokens()
195 ibm_read_pci_config = rtas_token("ibm,read-pci-config"); in init_pci_config_tokens()
196 ibm_write_pci_config = rtas_token("ibm,write-pci-config"); in init_pci_config_tokens()
Drtas-proc.c295 error = rtas_call(rtas_token("set-time-for-power-on"), 7, 1, NULL, in ppc_rtas_poweron_write()
358 error = rtas_call(rtas_token("set-time-of-day"), 7, 1, NULL, in ppc_rtas_clock_write()
370 int error = rtas_call(rtas_token("get-time-of-day"), 0, 8, ret); in ppc_rtas_clock_show()
393 int get_sensor_state = rtas_token("get-sensor-state"); in ppc_rtas_sensors_show()
716 error = rtas_call(rtas_token("set-indicator"), 3, 1, NULL, in ppc_rtas_tone_freq_write()
744 error = rtas_call(rtas_token("set-indicator"), 3, 1, NULL, in ppc_rtas_tone_volume_write()
Drtas_flash.c379 rc = rtas_call(rtas_token("ibm,manage-flash-image"), 1, 1, in manage_flash()
447 int token = rtas_token("ibm,validate-flash-image"); in validate_flash()
573 update_token = rtas_token("ibm,update-flash-64-and-reboot"); in rtas_flash_firmware()
703 if (rtas_token("ibm,update-flash-64-and-reboot") == in rtas_flash_init()
733 token = rtas_token(f->rtas_call_name); in rtas_flash_init()
Drtasd.c507 event_scan = rtas_token("event-scan"); in rtas_event_scan_init()
513 rtas_event_scan_rate = rtas_token("rtas-event-scan-rate"); in rtas_event_scan_init()
/arch/powerpc/platforms/pseries/
Dsmp.c59 int qcss_tok = rtas_token("query-cpu-stopped-state"); in smp_query_cpu_stopped()
112 start_cpu = rtas_token("start-cpu"); in smp_startup_cpu()
270 if (rtas_token("query-cpu-stopped-state") == RTAS_UNKNOWN_SERVICE) { in smp_init_pseries()
283 if (rtas_token("freeze-time-base") != RTAS_UNKNOWN_SERVICE) { in smp_init_pseries()
Deeh_pseries.c701 int ibm_allow_unfreeze = rtas_token("ibm,open-sriov-allow-unfreeze"); in pseries_send_allow_unfreeze()
776 if (rtas_token("ibm,open-sriov-allow-unfreeze") == RTAS_UNKNOWN_SERVICE) in pseries_notify_resume()
817 ibm_set_eeh_option = rtas_token("ibm,set-eeh-option"); in eeh_pseries_init()
818 ibm_set_slot_reset = rtas_token("ibm,set-slot-reset"); in eeh_pseries_init()
819 ibm_read_slot_reset_state2 = rtas_token("ibm,read-slot-reset-state2"); in eeh_pseries_init()
820 ibm_read_slot_reset_state = rtas_token("ibm,read-slot-reset-state"); in eeh_pseries_init()
821 ibm_slot_error_detail = rtas_token("ibm,slot-error-detail"); in eeh_pseries_init()
822 ibm_get_config_addr_info2 = rtas_token("ibm,get-config-addr-info2"); in eeh_pseries_init()
823 ibm_get_config_addr_info = rtas_token("ibm,get-config-addr-info"); in eeh_pseries_init()
824 ibm_configure_pe = rtas_token("ibm,configure-pe"); in eeh_pseries_init()
[all …]
Dnvram.c230 nvram_fetch = rtas_token("nvram-fetch"); in pSeries_nvram_init()
231 nvram_store = rtas_token("nvram-store"); in pSeries_nvram_init()
Dmobility.c162 update_properties_token = rtas_token("ibm,update-properties"); in update_dt_node()
272 update_nodes_token = rtas_token("ibm,update-nodes"); in pseries_devicetree_update()
335 activate_fw_token = rtas_token("ibm,activate-firmware"); in post_mobility_fixup()
Dio_event_irq.c146 ioei_check_exception_token = rtas_token("check-exception"); in ioei_init()
Dsetup.c120 ibm_nmi_register_token = rtas_token("ibm,nmi-register"); in fwnmi_init()
124 ibm_nmi_interlock_token = rtas_token("ibm,nmi-interlock"); in fwnmi_init()
904 call_status = rtas_call(rtas_token("ibm,get-system-parameter"), 3, 1, in pSeries_cmo_feature_init()
1005 int rtas_poweroff_ups_token = rtas_token("ibm,power-off-ups"); in pseries_power_off()
1012 rc = rtas_call(rtas_token("power-off"), 2, 1, NULL, -1, -1); in pseries_power_off()
Ddlpar.c145 cc_token = rtas_token("ibm,configure-connector"); in dlpar_configure_connector()
292 rc = rtas_call(rtas_token("get-sensor-state"), 2, 2, &dr_status, in dlpar_acquire_drc()
314 rc = rtas_call(rtas_token("get-sensor-state"), 2, 2, &dr_status, in dlpar_release_drc()
Dsuspend.c230 suspend_data.token = rtas_token("ibm,suspend-me"); in pseries_suspend_init()
Dscanlog.c168 ibm_scan_log_dump = rtas_token("ibm,scan-log-dump"); in scanlog_init()
Dmsi.c523 query_token = rtas_token("ibm,query-interrupt-source-number"); in rtas_msi_init()
524 change_token = rtas_token("ibm,change-msi"); in rtas_msi_init()
Dhotplug-cpu.c897 rtas_stop_self_token = rtas_token("stop-self"); in pseries_cpu_hotplug_init()
898 qcss_tok = rtas_token("query-cpu-stopped-state"); in pseries_cpu_hotplug_init()
/arch/powerpc/sysdev/xics/
Dics-rtas.c218 ibm_get_xive = rtas_token("ibm,get-xive"); in ics_rtas_init()
219 ibm_set_xive = rtas_token("ibm,set-xive"); in ics_rtas_init()
220 ibm_int_on = rtas_token("ibm,int-on"); in ics_rtas_init()
221 ibm_int_off = rtas_token("ibm,int-off"); in ics_rtas_init()
/arch/powerpc/platforms/cell/
Dsmp.c85 start_cpu = rtas_token("start-cpu"); in smp_startup_cpu()
156 if (rtas_token("freeze-time-base") != RTAS_UNKNOWN_SERVICE) { in smp_init_cell()
Dras.c300 ptcal_start_tok = rtas_token("ibm,cbe-start-ptcal"); in cbe_ptcal_init()
301 ptcal_stop_tok = rtas_token("ibm,cbe-stop-ptcal"); in cbe_ptcal_init()
/arch/powerpc/platforms/chrp/
Dnvram.c34 if ((rtas_call(rtas_token("nvram-fetch"), 3, 2, &done, addr, in chrp_nvram_read_val()
56 if ((rtas_call(rtas_token("nvram-store"), 3, 2, &done, addr, in chrp_nvram_write_val()
Dpci.c107 rval = rtas_call(rtas_token("read-pci-config"), 2, 2, &ret, addr, len); in rtas_read_config()
121 rval = rtas_call(rtas_token("write-pci-config"), 3, 1, NULL, in rtas_write_config()
Dsetup.c324 if (rtas_token("display-character") >= 0) in chrp_setup_arch()
328 if (rtas_token("get-time-of-day") != RTAS_UNKNOWN_SERVICE) { in chrp_setup_arch()
/arch/powerpc/platforms/52xx/
Defika.c45 rval = rtas_call(rtas_token("read-pci-config"), 2, 2, &ret, addr, len); in rtas_read_config()
59 rval = rtas_call(rtas_token("write-pci-config"), 3, 1, NULL, in rtas_write_config()
/arch/powerpc/include/asm/
Drtas.h235 extern int rtas_token(const char *service);

12