Home
last modified time | relevance | path

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

12

/linux/arch/powerpc/kernel/
A Drtas.c180 if (rtas_call(rtas_getchar_token, 0, 2, &c)) in udbg_rtascon_getc_poll()
244 rtas_call(set_indicator, 3, 1, NULL, 6, 0, hex); in rtas_progress()
260 rtas_call(display_character, 1, 1, NULL, '\r'); in rtas_progress()
261 rtas_call(display_character, 1, 1, NULL, '\n'); in rtas_progress()
266 rtas_call(display_character, 1, 1, NULL, in rtas_progress()
269 rtas_call(display_character, 1, 1, NULL, '\r'); in rtas_progress()
295 rtas_call(display_character, 1, 1, NULL, '\r'); in rtas_progress()
301 rtas_call(display_character, 1, 1, NULL, *os); in rtas_progress()
310 rtas_call(display_character, 1, 1, NULL, *os); in rtas_progress()
493 EXPORT_SYMBOL(rtas_call);
[all …]
A 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()
A Drtas_pci.c64 ret = rtas_call(ibm_read_pci_config, 4, 2, &returnval, in rtas_read_config()
67 ret = rtas_call(read_pci_config, 2, 2, &returnval, addr, size); in rtas_read_config()
115 ret = rtas_call(ibm_write_pci_config, 5, 1, NULL, addr, in rtas_write_config()
118 ret = rtas_call(write_pci_config, 3, 1, NULL, addr, size, (ulong)val); in rtas_write_config()
A 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()
415 error = rtas_call(get_sensor_state, 2, 2, &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()
A 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/tools/testing/selftests/powerpc/syscalls/
A 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/arch/powerpc/platforms/pseries/
A Deeh_pseries.c110 ret = rtas_call(ibm_get_config_addr_info2, 4, 2, rets, in pseries_eeh_get_pe_config_addr()
117 ret = rtas_call(ibm_get_config_addr_info2, 4, 2, rets, in pseries_eeh_get_pe_config_addr()
130 ret = rtas_call(ibm_get_config_addr_info, 4, 2, rets, in pseries_eeh_get_pe_config_addr()
165 ret = rtas_call(ibm_set_slot_reset, 4, 1, NULL, in pseries_eeh_phb_reset()
172 ret = rtas_call(ibm_set_slot_reset, 4, 1, NULL, in pseries_eeh_phb_reset()
202 ret = rtas_call(ibm_configure_pe, 3, 1, NULL, in pseries_eeh_phb_configure_bridge()
532 ret = rtas_call(ibm_set_eeh_option, 4, 1, NULL, in pseries_eeh_set_option()
559 ret = rtas_call(ibm_read_slot_reset_state2, 3, 4, rets, in pseries_eeh_get_state()
565 ret = rtas_call(ibm_read_slot_reset_state, 3, 3, rets, in pseries_eeh_get_state()
642 ret = rtas_call(ibm_slot_error_detail, 8, 1, NULL, pe->addr, in pseries_eeh_get_log()
[all …]
A Dscanlog.c69 status = rtas_call(ibm_scan_log_dump, 2, 1, NULL, in scanlog_read()
124 status = rtas_call(ibm_scan_log_dump, 2, 1, NULL, 0, 0); in scanlog_write()
A Dsmp.c67 status = rtas_call(qcss_tok, 1, 2, &cpu_status, pcpu); in smp_query_cpu_stopped()
116 status = rtas_call(start_cpu, 3, 1, NULL, pcpu, start_here, pcpu); in smp_startup_cpu()
A 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()
A Drtas-fadump.c137 rc = rtas_call(fadump_conf->ibm_configure_kernel_dump, 3, 1, in rtas_fadump_register()
185 rc = rtas_call(fadump_conf->ibm_configure_kernel_dump, 3, 1, in rtas_fadump_unregister()
210 rc = rtas_call(fadump_conf->ibm_configure_kernel_dump, 3, 1, in rtas_fadump_invalidate()
A Dsetup.c134 if (0 == rtas_call(ibm_nmi_register_token, 2, 1, NULL, in fwnmi_init()
917 call_status = rtas_call(rtas_token("ibm,get-system-parameter"), 3, 1, in pSeries_cmo_feature_init()
1025 rc = rtas_call(rtas_token("power-off"), 2, 1, NULL, -1, -1); in pseries_power_off()
1028 rc = rtas_call(rtas_poweroff_ups_token, 0, 1, NULL); in pseries_power_off()
A Dio_event_irq.c123 rtas_rc = rtas_call(ioei_check_exception_token, 6, 1, NULL, in ioei_interrupt()
A Dras.c291 rtas_call(ras_check_exception_token, 6, 1, NULL, in ras_hotplug_interrupt()
330 rtas_call(ras_check_exception_token, 6, 1, NULL, RTAS_VECTOR_EXTERNAL_INTERRUPT, in ras_epow_interrupt()
358 status = rtas_call(ras_check_exception_token, 6, 1, NULL, in ras_error_interrupt()
A Dmsi.c44 rc = rtas_call(change_token, 6, 4, rtas_ret, addr, in rtas_change_msi()
48 rc = rtas_call(change_token, 6, 3, rtas_ret, addr, in rtas_change_msi()
102 rc = rtas_call(query_token, 4, 3, rtas_ret, addr, in rtas_query_irq_number()
A Diommu.c827 ret = rtas_call(ddw_avail[DDW_REMOVE_PE_DMA_WIN], 1, 1, NULL, liobn); in __remove_dma_window()
1023 ret = rtas_call(ddw_avail[DDW_QUERY_PE_DMA_WIN], 3, out_sz, query_out, in query_ddw()
1071 ret = rtas_call(ddw_avail[DDW_CREATE_PE_DMA_WIN], 5, 4, in create_ddw()
1143 ret = rtas_call(reset_dma_win, 3, 1, NULL, cfg_addr, BUID_HI(buid), in reset_dma_window()
/linux/drivers/tty/hvc/
A 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/arch/powerpc/platforms/chrp/
A 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()
A 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/arch/powerpc/platforms/cell/
A 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()
A Dsmp.c89 status = rtas_call(start_cpu, 3, 1, NULL, pcpu, start_here, lcpu); in smp_startup_cpu()
/linux/drivers/watchdog/
A 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/arch/powerpc/platforms/52xx/
A 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()
/linux/arch/powerpc/include/asm/
A Drtas.h242 extern int rtas_call(int token, int, int, int *, ...);
/linux/drivers/cpuidle/
A Dcpuidle-pseries.c172 ret = rtas_call(rtas_token("ibm,get-system-parameter"), 3, 1, in parse_cede_parameters()

Completed in 32 milliseconds

12