Home
last modified time | relevance | path

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

12

/Linux-v6.1/arch/powerpc/kernel/
Drtas.c181 if (rtas_call(rtas_putchar_token, 1, 1, NULL, c) == 0) in udbg_rtascon_putc()
194 if (rtas_call(rtas_getchar_token, 0, 2, &c)) in udbg_rtascon_getc_poll()
258 rtas_call(set_indicator, 3, 1, NULL, 6, 0, hex); in rtas_progress()
274 rtas_call(display_character, 1, 1, NULL, '\r'); in rtas_progress()
275 rtas_call(display_character, 1, 1, NULL, '\n'); in rtas_progress()
280 rtas_call(display_character, 1, 1, NULL, in rtas_progress()
283 rtas_call(display_character, 1, 1, NULL, '\r'); in rtas_progress()
309 rtas_call(display_character, 1, 1, NULL, '\r'); in rtas_progress()
310 rtas_call(display_character, 1, 1, NULL, '\n'); in rtas_progress()
315 rtas_call(display_character, 1, 1, NULL, *os); in rtas_progress()
[all …]
Drtas-rtc.c24 error = rtas_call(rtas_token("get-time-of-day"), 0, 8, ret); in rtas_get_boot_time()
56 error = rtas_call(rtas_token("get-time-of-day"), 0, 8, ret); in rtas_get_rtc_time()
93 error = rtas_call(rtas_token("set-time-of-day"), 7, 1, NULL, in rtas_set_rtc_time()
Drtas_pci.c65 ret = rtas_call(ibm_read_pci_config, 4, 2, &returnval, in rtas_read_config()
68 ret = rtas_call(read_pci_config, 2, 2, &returnval, addr, size); in rtas_read_config()
116 ret = rtas_call(ibm_write_pci_config, 5, 1, NULL, addr, in rtas_write_config()
119 ret = rtas_call(write_pci_config, 3, 1, NULL, addr, size, (ulong)val); in rtas_write_config()
Drtas-proc.c290 error = rtas_call(rtas_token("set-time-for-power-on"), 7, 1, NULL, in ppc_rtas_poweron_write()
353 error = rtas_call(rtas_token("set-time-of-day"), 7, 1, NULL, in ppc_rtas_clock_write()
365 int error = rtas_call(rtas_token("get-time-of-day"), 0, 8, ret); in ppc_rtas_clock_show()
410 error = rtas_call(get_sensor_state, 2, 2, &state, in ppc_rtas_sensors_show()
711 error = rtas_call(rtas_token("set-indicator"), 3, 1, NULL, in ppc_rtas_tone_freq_write()
739 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()
455 rc = rtas_call(token, 2, 2, &update_results, in validate_flash()
630 status = rtas_call(update_token, 1, 1, NULL, rtas_block_list); in rtas_flash_firmware()
/Linux-v6.1/arch/powerpc/sysdev/xics/
Dics-rtas.c39 call_status = rtas_call(ibm_set_xive, 3, 1, NULL, hw_irq, server, in ics_rtas_unmask_irq()
49 call_status = rtas_call(ibm_int_on, 1, 1, NULL, hw_irq); in ics_rtas_unmask_irq()
71 call_status = rtas_call(ibm_int_off, 1, 1, NULL, hw_irq); in ics_rtas_mask_real_irq()
79 call_status = rtas_call(ibm_set_xive, 3, 1, NULL, hw_irq, in ics_rtas_mask_real_irq()
111 status = rtas_call(ibm_get_xive, 1, 3, xics_status, hw_irq); in ics_rtas_set_affinity()
129 status = rtas_call(ibm_set_xive, 3, 1, NULL, in ics_rtas_set_affinity()
161 rc = rtas_call(ibm_get_xive, 1, 3, status, hw_irq); in ics_rtas_check()
177 rc = rtas_call(ibm_get_xive, 1, 3, status, vec); in ics_rtas_get_server()
/Linux-v6.1/tools/testing/selftests/powerpc/syscalls/
Drtas_filter.c169 static int rtas_call(const char *name, int nargs, in rtas_call() function
227 rc = rtas_call("get-time-of-day", 0, 1, rets); in test()
234 rc = rtas_call("nvram-fetch", 0, 1, rets); in test()
251 rc = rtas_call("ibm,get-system-parameter", 3, 1, 0, cpu_to_be32(rmo_start), in test()
259 rc = rtas_call("ibm,get-system-parameter", 3, 1, 0, cpu_to_be32(rmo_end + 1), in test()
267 rc = rtas_call("ibm,get-system-parameter", 3, 1, 0, cpu_to_be32(rmo_start), in test()
275 rc = rtas_call("ibm,configure-connector", 2, 1, cpu_to_be32(rmo_end - 4000), 0, rets); in test()
/Linux-v6.1/arch/powerpc/platforms/pseries/
Deeh_pseries.c112 ret = rtas_call(ibm_get_config_addr_info2, 4, 2, rets, in pseries_eeh_get_pe_config_addr()
119 ret = rtas_call(ibm_get_config_addr_info2, 4, 2, rets, in pseries_eeh_get_pe_config_addr()
132 ret = rtas_call(ibm_get_config_addr_info, 4, 2, rets, in pseries_eeh_get_pe_config_addr()
167 ret = rtas_call(ibm_set_slot_reset, 4, 1, NULL, in pseries_eeh_phb_reset()
174 ret = rtas_call(ibm_set_slot_reset, 4, 1, NULL, in pseries_eeh_phb_reset()
204 ret = rtas_call(ibm_configure_pe, 3, 1, NULL, in pseries_eeh_phb_configure_bridge()
534 ret = rtas_call(ibm_set_eeh_option, 4, 1, NULL, in pseries_eeh_set_option()
561 ret = rtas_call(ibm_read_slot_reset_state2, 3, 4, rets, in pseries_eeh_get_state()
567 ret = rtas_call(ibm_read_slot_reset_state, 3, 3, rets, in pseries_eeh_get_state()
644 ret = rtas_call(ibm_slot_error_detail, 8, 1, NULL, pe->addr, in pseries_eeh_get_log()
[all …]
Dsmp.c66 status = rtas_call(qcss_tok, 1, 2, &cpu_status, pcpu); in smp_query_cpu_stopped()
115 status = rtas_call(start_cpu, 3, 1, NULL, pcpu, start_here, pcpu); in smp_startup_cpu()
Dnvram.c63 if ((rtas_call(nvram_fetch, 3, 2, &done, i, __pa(nvram_buf), in pSeries_nvram_read()
108 if ((rtas_call(nvram_store, 3, 2, &done, i, __pa(nvram_buf), in pSeries_nvram_write()
Dio_event_irq.c123 rtas_rc = rtas_call(ioei_check_exception_token, 6, 1, NULL, in ioei_interrupt()
Drtas-fadump.c144 rc = rtas_call(fadump_conf->ibm_configure_kernel_dump, 3, 1, in rtas_fadump_register()
192 rc = rtas_call(fadump_conf->ibm_configure_kernel_dump, 3, 1, in rtas_fadump_unregister()
217 rc = rtas_call(fadump_conf->ibm_configure_kernel_dump, 3, 1, in rtas_fadump_invalidate()
Dsetup.c151 if (0 == rtas_call(ibm_nmi_register_token, 2, 1, NULL, in fwnmi_init()
951 call_status = rtas_call(rtas_token("ibm,get-system-parameter"), 3, 1, in pSeries_cmo_feature_init()
1088 rc = rtas_call(rtas_token("power-off"), 2, 1, NULL, -1, -1); in pseries_power_off()
1091 rc = rtas_call(rtas_poweroff_ups_token, 0, 1, NULL); in pseries_power_off()
Dras.c299 rtas_call(ras_check_exception_token, 6, 1, NULL, in ras_hotplug_interrupt()
338 rtas_call(ras_check_exception_token, 6, 1, NULL, RTAS_VECTOR_EXTERNAL_INTERRUPT, in ras_epow_interrupt()
366 status = rtas_call(ras_check_exception_token, 6, 1, NULL, in ras_error_interrupt()
Dmsi.c45 rc = rtas_call(change_token, 6, 4, rtas_ret, addr, in rtas_change_msi()
49 rc = rtas_call(change_token, 6, 3, rtas_ret, addr, in rtas_change_msi()
103 rc = rtas_call(query_token, 4, 3, rtas_ret, addr, in rtas_query_irq_number()
Dlparcfg.c355 rc = rtas_call(token, 3, 1, NULL, SPLPAR_LPAR_NAME_TOKEN, in read_rtas_lpar_name()
422 call_status = rtas_call(rtas_token("ibm,get-system-parameter"), 3, 1, in parse_system_parameter_string()
/Linux-v6.1/drivers/tty/hvc/
Dhvc_rtas.c40 if (rtas_call(rtascons_put_char_token, 1, 1, NULL, buf[i])) in hvc_rtas_write_console()
52 if (rtas_call(rtascons_get_char_token, 0, 2, &c)) in hvc_rtas_read_console()
/Linux-v6.1/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()
/Linux-v6.1/arch/powerpc/platforms/cell/
Dras.c114 rtas_call(ptcal_stop_tok, 1, 1, NULL, nid); in cbe_ptcal_enable_on_node()
142 if (rtas_call(ptcal_start_tok, 3, 1, NULL, area->nid, in cbe_ptcal_enable_on_node()
215 if (rtas_call(ptcal_stop_tok, 1, 1, NULL, area->nid)) { in cbe_ptcal_disable()
Dsmp.c88 status = rtas_call(start_cpu, 3, 1, NULL, pcpu, start_here, lcpu); in smp_startup_cpu()
/Linux-v6.1/drivers/watchdog/
Dwdrtas.c80 result = rtas_call(wdrtas_token_set_indicator, 3, 1, NULL, in wdrtas_set_interval()
110 result = rtas_call(wdrtas_token_get_sp, 3, 1, NULL, in wdrtas_get_interval()
161 result = rtas_call(wdrtas_token_event_scan, 4, 1, NULL, in wdrtas_timer_keepalive()
/Linux-v6.1/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()
/Linux-v6.1/arch/powerpc/include/asm/
Drtas.h242 extern int rtas_call(int token, int, int, int *, ...);
/Linux-v6.1/drivers/cpuidle/
Dcpuidle-pseries.c172 ret = rtas_call(rtas_token("ibm,get-system-parameter"), 3, 1, in parse_cede_parameters()

12