Home
last modified time | relevance | path

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

12

/linux-2.6.39/arch/powerpc/kernel/
Drtas.c234 display_character = rtas_token("display-character"); in rtas_progress()
235 set_indicator = rtas_token("set-indicator"); in rtas_progress()
322 int rtas_token(const char *service) in rtas_token() function
330 EXPORT_SYMBOL(rtas_token);
334 return rtas_token(service) != RTAS_UNKNOWN_SERVICE; in rtas_service_present()
350 rtas_error_log_max = rtas_token ("rtas-error-log-max"); in rtas_get_error_log_max()
535 int token = rtas_token("get-power-level"); in rtas_get_power_level()
552 int token = rtas_token("set-power-level"); in rtas_set_power_level()
570 int token = rtas_token("get-sensor-state"); in rtas_get_sensor()
614 int token = rtas_token("set-indicator"); in rtas_set_indicator()
[all …]
Drtas-rtc.c23 error = rtas_call(rtas_token("get-time-of-day"), 0, 8, ret); in rtas_get_boot_time()
54 error = rtas_call(rtas_token("get-time-of-day"), 0, 8, ret); in rtas_get_rtc_time()
89 error = rtas_call(rtas_token("set-time-of-day"), 7, 1, NULL, in rtas_set_rtc_time()
Drtas_pci.c206 read_pci_config = rtas_token("read-pci-config"); in init_pci_config_tokens()
207 write_pci_config = rtas_token("write-pci-config"); in init_pci_config_tokens()
208 ibm_read_pci_config = rtas_token("ibm,read-pci-config"); in init_pci_config_tokens()
209 ibm_write_pci_config = rtas_token("ibm,write-pci-config"); in init_pci_config_tokens()
Drtas-proc.c320 error = rtas_call(rtas_token("set-time-for-power-on"), 7, 1, NULL, in ppc_rtas_poweron_write()
383 error = rtas_call(rtas_token("set-time-of-day"), 7, 1, NULL, in ppc_rtas_clock_write()
395 int error = rtas_call(rtas_token("get-time-of-day"), 0, 8, ret); in ppc_rtas_clock_show()
418 int get_sensor_state = rtas_token("get-sensor-state"); in ppc_rtas_sensors_show()
741 error = rtas_call(rtas_token("set-indicator"), 3, 1, NULL, in ppc_rtas_tone_freq_write()
769 error = rtas_call(rtas_token("set-indicator"), 3, 1, NULL, in ppc_rtas_tone_volume_write()
Drtas_flash.c367 rc = rtas_call(rtas_token("ibm,manage-flash-image"), 1, in manage_flash()
428 int token = rtas_token("ibm,validate-flash-image"); in validate_flash()
561 update_token = rtas_token("ibm,update-flash-64-and-reboot"); in rtas_flash_firmware()
657 token = rtas_token(rtas_call_name); in initialize_flash_pde_data()
703 if (rtas_token("ibm,update-flash-64-and-reboot") == in rtas_flash_init()
Drtasd.c483 event_scan = rtas_token("event-scan"); in rtas_init()
489 rtas_event_scan_rate = rtas_token("rtas-event-scan-rate"); in rtas_init()
/linux-2.6.39/drivers/tty/hvc/
Dhvc_rtas.c84 rtascons_put_char_token = rtas_token("put-term-char"); in hvc_rtas_init()
89 rtascons_get_char_token = rtas_token("get-term-char"); in hvc_rtas_init()
120 rtascons_put_char_token = rtas_token("put-term-char"); in hvc_rtas_console_init()
124 rtascons_get_char_token = rtas_token("get-term-char"); in hvc_rtas_console_init()
/linux-2.6.39/arch/powerpc/platforms/pseries/
Dsmp.c64 int qcss_tok = rtas_token("query-cpu-stopped-state"); in smp_query_cpu_stopped()
123 start_cpu = rtas_token("start-cpu"); in smp_startup_cpu()
240 if (rtas_token("freeze-time-base") != RTAS_UNKNOWN_SERVICE) { in smp_init_pseries()
Dras.c78 ras_get_sensor_state_token = rtas_token("get-sensor-state"); in init_ras_IRQ()
79 ras_check_exception_token = rtas_token("check-exception"); in init_ras_IRQ()
260 int ret = rtas_call(rtas_token("ibm,nmi-interlock"), 0, 1, NULL); in fwnmi_release_errinfo()
Dmobility.c141 update_properties_token = rtas_token("ibm,update-properties"); in update_dt_node()
234 update_nodes_token = rtas_token("ibm,update-nodes"); in pseries_devicetree_update()
291 activate_fw_token = rtas_token("ibm,activate-firmware"); in post_mobility_fixup()
324 args.token = rtas_token("ibm,suspend-me"); in migrate_store()
Deeh.c1072 ibm_set_eeh_option = rtas_token("ibm,set-eeh-option"); in eeh_init()
1073 ibm_set_slot_reset = rtas_token("ibm,set-slot-reset"); in eeh_init()
1074 ibm_read_slot_reset_state2 = rtas_token("ibm,read-slot-reset-state2"); in eeh_init()
1075 ibm_read_slot_reset_state = rtas_token("ibm,read-slot-reset-state"); in eeh_init()
1076 ibm_slot_error_detail = rtas_token("ibm,slot-error-detail"); in eeh_init()
1077 ibm_get_config_addr_info = rtas_token("ibm,get-config-addr-info"); in eeh_init()
1078 ibm_get_config_addr_info2 = rtas_token("ibm,get-config-addr-info2"); in eeh_init()
1079 ibm_configure_bridge = rtas_token ("ibm,configure-bridge"); in eeh_init()
1084 eeh_error_buf_size = rtas_token("rtas-error-log-max"); in eeh_init()
Dhotplug-cpu.c364 return rtas_call(rtas_token("ibm,get-system-parameter"), 3, 1, in parse_cede_parameters()
389 rtas_stop_self_args.token = rtas_token("stop-self"); in pseries_cpu_hotplug_init()
390 qcss_tok = rtas_token("query-cpu-stopped-state"); in pseries_cpu_hotplug_init()
Dsetup.c101 int ibm_nmi_register = rtas_token("ibm,nmi-register"); in fwnmi_init()
419 call_status = rtas_call(rtas_token("ibm,get-system-parameter"), 3, 1, in pSeries_cmo_feature_init()
654 int rtas_poweroff_ups_token = rtas_token("ibm,power-off-ups"); in pSeries_power_off()
661 rc = rtas_call(rtas_token("power-off"), 2, 1, NULL, -1, -1); in pSeries_power_off()
Ddlpar.c135 cc_token = rtas_token("ibm,configure-connector"); in dlpar_configure_connector()
322 rc = rtas_call(rtas_token("get-sensor-state"), 2, 2, &dr_status, in dlpar_acquire_drc()
344 rc = rtas_call(rtas_token("get-sensor-state"), 2, 2, &dr_status, in dlpar_release_drc()
Dxics.c732 ibm_get_xive = rtas_token("ibm,get-xive"); in xics_init_IRQ()
733 ibm_set_xive = rtas_token("ibm,set-xive"); in xics_init_IRQ()
734 ibm_int_on = rtas_token("ibm,int-on"); in xics_init_IRQ()
735 ibm_int_off = rtas_token("ibm,int-off"); in xics_init_IRQ()
Dsuspend.c202 suspend_data.token = rtas_token("ibm,suspend-me"); in pseries_suspend_init()
Dnvram.c426 nvram_fetch = rtas_token("nvram-fetch"); in pSeries_nvram_init()
427 nvram_store = rtas_token("nvram-store"); in pSeries_nvram_init()
Dmsi.c470 query_token = rtas_token("ibm,query-interrupt-source-number"); in rtas_msi_init()
471 change_token = rtas_token("ibm,change-msi"); in rtas_msi_init()
/linux-2.6.39/arch/powerpc/platforms/chrp/
Dnvram.c38 if ((rtas_call(rtas_token("nvram-fetch"), 3, 2, &done, addr, in chrp_nvram_read()
60 if ((rtas_call(rtas_token("nvram-store"), 3, 2, &done, addr, in chrp_nvram_write()
Dpci.c106 rval = rtas_call(rtas_token("read-pci-config"), 2, 2, &ret, addr, len); in rtas_read_config()
120 rval = rtas_call(rtas_token("write-pci-config"), 3, 1, NULL, in rtas_write_config()
Dsetup.c330 if (rtas_token("display-character") >= 0) in chrp_setup_arch()
334 if (rtas_token("get-time-of-day") != RTAS_UNKNOWN_SERVICE) { in chrp_setup_arch()
/linux-2.6.39/arch/powerpc/platforms/cell/
Dsmp.c93 start_cpu = rtas_token("start-cpu"); in smp_startup_cpu()
198 if (rtas_token("freeze-time-base") != RTAS_UNKNOWN_SERVICE) { in smp_init_cell()
Dras.c303 ptcal_start_tok = rtas_token("ibm,cbe-start-ptcal"); in cbe_ptcal_init()
304 ptcal_stop_tok = rtas_token("ibm,cbe-stop-ptcal"); in cbe_ptcal_init()
/linux-2.6.39/drivers/watchdog/
Dwdrtas.c553 wdrtas_token_get_sensor_state = rtas_token("get-sensor-state"); in wdrtas_get_tokens()
560 wdrtas_token_get_sp = rtas_token("ibm,get-system-parameter"); in wdrtas_get_tokens()
568 wdrtas_token_set_indicator = rtas_token("set-indicator"); in wdrtas_get_tokens()
575 wdrtas_token_event_scan = rtas_token("event-scan"); in wdrtas_get_tokens()
/linux-2.6.39/arch/powerpc/platforms/52xx/
Defika.c44 rval = rtas_call(rtas_token("read-pci-config"), 2, 2, &ret, addr, len); in rtas_read_config()
58 rval = rtas_call(rtas_token("write-pci-config"), 3, 1, NULL, in rtas_write_config()

12