Home
last modified time | relevance | path

Searched refs:rtas_call (Results 1 – 25 of 26) sorted by relevance

12

/arch/powerpc/kernel/
Drtas.c145 if (rtas_call(rtas_putchar_token, 1, 1, NULL, c) == 0) in udbg_rtascon_putc()
158 if (rtas_call(rtas_getchar_token, 0, 2, &c)) in udbg_rtascon_getc_poll()
222 rtas_call(set_indicator, 3, 1, NULL, 6, 0, hex); in rtas_progress()
238 rtas_call(display_character, 1, 1, NULL, '\r'); in rtas_progress()
239 rtas_call(display_character, 1, 1, NULL, '\n'); in rtas_progress()
244 rtas_call(display_character, 1, 1, NULL, in rtas_progress()
247 rtas_call(display_character, 1, 1, NULL, '\r'); in rtas_progress()
273 rtas_call(display_character, 1, 1, NULL, '\r'); in rtas_progress()
274 rtas_call(display_character, 1, 1, NULL, '\n'); in rtas_progress()
279 rtas_call(display_character, 1, 1, NULL, *os); in rtas_progress()
[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.c73 ret = rtas_call(ibm_read_pci_config, 4, 2, &returnval, in rtas_read_config()
76 ret = rtas_call(read_pci_config, 2, 2, &returnval, addr, size); in rtas_read_config()
125 ret = rtas_call(ibm_write_pci_config, 5, 1, NULL, addr, in rtas_write_config()
128 ret = rtas_call(write_pci_config, 3, 1, NULL, addr, size, (ulong)val); in rtas_write_config()
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()
440 error = rtas_call(get_sensor_state, 2, 2, &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.c384 rc = rtas_call(rtas_token("ibm,manage-flash-image"), 1, in manage_flash()
466 rc = rtas_call(token, 2, 2, &update_results, in validate_flash()
648 status = rtas_call(update_token, 1, 1, NULL, rtas_block_list); in rtas_flash_firmware()
/arch/powerpc/platforms/pseries/
Dsmp.c98 status = rtas_call(start_cpu, 3, 1, NULL, pcpu, start_here, pcpu); in smp_startup_cpu()
127 rtas_call(rtas_token("freeze-time-base"), 0, 1, NULL); in pSeries_give_timebase()
133 rtas_call(rtas_token("thaw-time-base"), 0, 1, NULL); in pSeries_give_timebase()
Dras.c170 status = rtas_call(ras_get_sensor_state_token, 2, 2, &state, in ras_epow_interrupt()
180 status = rtas_call(ras_check_exception_token, 6, 1, NULL, in ras_epow_interrupt()
215 status = rtas_call(ras_check_exception_token, 6, 1, NULL, in ras_error_interrupt()
294 int ret = rtas_call(rtas_token("ibm,nmi-interlock"), 0, 1, NULL); in fwnmi_release_errinfo()
Dmsi.c62 rc = rtas_call(change_token, 6, 4, rtas_ret, addr, in rtas_change_msi()
66 rc = rtas_call(change_token, 6, 3, rtas_ret, addr, in rtas_change_msi()
108 rc = rtas_call(query_token, 4, 3, rtas_ret, addr, in rtas_query_irq_number()
Dxics.c201 call_status = rtas_call(ibm_set_xive, 3, 1, NULL, irq, server, in xics_unmask_irq()
211 call_status = rtas_call(ibm_int_on, 1, 1, NULL, irq); in xics_unmask_irq()
233 call_status = rtas_call(ibm_int_off, 1, 1, NULL, irq); in xics_mask_real_irq()
241 call_status = rtas_call(ibm_set_xive, 3, 1, NULL, irq, in xics_mask_real_irq()
346 status = rtas_call(ibm_get_xive, 1, 3, xics_status, irq); in xics_set_affinity()
368 status = rtas_call(ibm_set_xive, 3, 1, NULL, in xics_set_affinity()
853 status = rtas_call(ibm_get_xive, 1, 3, xics_status, irq); in xics_migrate_irqs_away()
Dnvram.c58 if ((rtas_call(nvram_fetch, 3, 2, &done, i, __pa(nvram_buf), in pSeries_nvram_read()
103 if ((rtas_call(nvram_store, 3, 2, &done, i, __pa(nvram_buf), in pSeries_nvram_write()
Dscanlog.c77 status = rtas_call(ibm_scan_log_dump, 2, 1, NULL, in scanlog_read()
132 status = rtas_call(ibm_scan_log_dump, 2, 1, NULL, 0, 0); in scanlog_write()
Deeh.c150 rc = rtas_call(ibm_slot_error_detail, in rtas_slot_error_detail()
295 return rtas_call(token, 3, outputs, rets, config_addr, in read_slot_reset_state()
649 rc = rtas_call(ibm_set_eeh_option, 4, 1, NULL, in rtas_pci_enable()
697 rc = rtas_call(ibm_set_slot_reset,4,1, NULL, in rtas_pci_slot_reset()
898 rc = rtas_call(ibm_configure_bridge,3,1, NULL, in rtas_configure_bridge()
930 ret = rtas_call (ibm_get_config_addr_info2, 4, 2, rets, in get_pe_addr()
935 ret = rtas_call (ibm_get_config_addr_info2, 4, 2, rets, in get_pe_addr()
944 ret = rtas_call (ibm_get_config_addr_info, 4, 2, rets, in get_pe_addr()
992 ret = rtas_call(ibm_set_eeh_option, 4, 1, NULL, in early_enable_eeh()
Dsetup.c110 if (0 == rtas_call(ibm_nmi_register, 2, 1, NULL, system_reset_addr, in fwnmi_init()
336 call_status = rtas_call(rtas_token("ibm,get-system-parameter"), 3, 1, in pSeries_cmo_feature_init()
578 rc = rtas_call(rtas_token("power-off"), 2, 1, NULL, -1, -1); in pSeries_power_off()
581 rc = rtas_call(rtas_poweroff_ups_token, 0, 1, NULL); in pSeries_power_off()
Dphyp_dump.c214 rc = rtas_call(ibm_configure_kernel_dump, 3, 1, NULL, in register_dump_area()
244 rc = rtas_call(ibm_configure_kernel_dump, 3, 1, NULL, in invalidate_last_dump()
Dhotplug-cpu.c83 status = rtas_call(qcss_tok, 1, 2, &cpu_status, pcpu); in query_cpu_stopped()
Drtasd.c376 error = rtas_call(event_scan, 4, 1, NULL, in do_event_scan()
/arch/powerpc/platforms/chrp/
Dsmp.c51 rtas_call(rtas_token("freeze-time-base"), 0, 1, NULL); in smp_chrp_give_timebase()
58 rtas_call(rtas_token("thaw-time-base"), 0, 1, NULL); in smp_chrp_give_timebase()
Dnvram.c39 if ((rtas_call(rtas_token("nvram-fetch"), 3, 2, &done, addr, in chrp_nvram_read()
61 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.c374 rtas_call(rtas_token("event-scan"), 4, 1, &ret, 0xffffffff, 0, in chrp_event_scan()
/arch/powerpc/platforms/cell/
Dsmp.c100 status = rtas_call(start_cpu, 3, 1, NULL, pcpu, start_here, lcpu); in smp_startup_cpu()
149 rtas_call(rtas_token("freeze-time-base"), 0, 1, NULL); in cell_give_timebase()
155 rtas_call(rtas_token("thaw-time-base"), 0, 1, NULL); in cell_give_timebase()
Dras.c117 rtas_call(ptcal_stop_tok, 1, 1, NULL, nid); in cbe_ptcal_enable_on_node()
133 if (rtas_call(ptcal_start_tok, 3, 1, NULL, area->nid, in cbe_ptcal_enable_on_node()
204 if (rtas_call(ptcal_stop_tok, 1, 1, NULL, area->nid)) { in cbe_ptcal_disable()
/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()
/arch/powerpc/include/asm/
Drtas.h163 extern int rtas_call(int token, int, int, int *, ...);
/arch/powerpc/oprofile/
Dop_model_cell.c202 return rtas_call(pm_rtas_token, 5, 1, NULL, subfunc, in rtas_ibm_cbe_perftools()
1169 rtn_value = rtas_call(spu_rtas_token, 3, 1, NULL, in cell_global_stop_spu_cycles()
1317 ret = rtas_call(spu_rtas_token, 3, 1, NULL, subfunc, in cell_global_start_spu_cycles()

12