Home
last modified time | relevance | path

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

12

/arch/powerpc/sysdev/xics/
Dics-rtas.c40 call_status = rtas_call(ibm_set_xive, 3, 1, NULL, hw_irq, server, in ics_rtas_unmask_irq()
50 call_status = rtas_call(ibm_int_on, 1, 1, NULL, hw_irq); in ics_rtas_unmask_irq()
72 call_status = rtas_call(ibm_int_off, 1, 1, NULL, hw_irq); in ics_rtas_mask_real_irq()
80 call_status = rtas_call(ibm_set_xive, 3, 1, NULL, hw_irq, in ics_rtas_mask_real_irq()
112 status = rtas_call(ibm_get_xive, 1, 3, xics_status, hw_irq); in ics_rtas_set_affinity()
130 status = rtas_call(ibm_set_xive, 3, 1, NULL, in ics_rtas_set_affinity()
162 rc = rtas_call(ibm_get_xive, 1, 3, status, hw_irq); in ics_rtas_check()
178 rc = rtas_call(ibm_get_xive, 1, 3, status, vec); in ics_rtas_get_server()
/arch/powerpc/kernel/
Drtas.c175 if (rtas_call(rtas_putchar_token, 1, 1, NULL, c) == 0) in udbg_rtascon_putc()
188 if (rtas_call(rtas_getchar_token, 0, 2, &c)) in udbg_rtascon_getc_poll()
252 rtas_call(set_indicator, 3, 1, NULL, 6, 0, hex); in rtas_progress()
268 rtas_call(display_character, 1, 1, NULL, '\r'); in rtas_progress()
269 rtas_call(display_character, 1, 1, NULL, '\n'); in rtas_progress()
274 rtas_call(display_character, 1, 1, NULL, in rtas_progress()
277 rtas_call(display_character, 1, 1, NULL, '\r'); in rtas_progress()
303 rtas_call(display_character, 1, 1, NULL, '\r'); in rtas_progress()
304 rtas_call(display_character, 1, 1, NULL, '\n'); in rtas_progress()
309 rtas_call(display_character, 1, 1, NULL, *os); in rtas_progress()
[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.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()
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()
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()
Drtasd.c397 error = rtas_call(event_scan, 4, 1, NULL, in do_event_scan()
/arch/powerpc/platforms/pseries/
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 …]
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()
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()
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.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()
Dsetup.c135 if (0 == rtas_call(ibm_nmi_register_token, 2, 1, NULL, in fwnmi_init()
920 call_status = rtas_call(rtas_token("ibm,get-system-parameter"), 3, 1, in pSeries_cmo_feature_init()
1028 rc = rtas_call(rtas_token("power-off"), 2, 1, NULL, -1, -1); in pseries_power_off()
1031 rc = rtas_call(rtas_poweroff_ups_token, 0, 1, NULL); in pseries_power_off()
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()
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()
Dpci.c75 rc = rtas_call(ibm_map_pes, 5, 1, NULL, addr, in pseries_send_map_pe()
Diommu.c841 ret = rtas_call(ddw_avail[DDW_REMOVE_PE_DMA_WIN], 1, 1, NULL, liobn); in __remove_dma_window()
1035 ret = rtas_call(ddw_avail[DDW_QUERY_PE_DMA_WIN], 3, out_sz, query_out, in query_ddw()
1083 ret = rtas_call(ddw_avail[DDW_CREATE_PE_DMA_WIN], 5, 4, in create_ddw()
1155 ret = rtas_call(reset_dma_win, 3, 1, NULL, cfg_addr, BUID_HI(buid), in reset_dma_window()
Dmobility.c57 rc = rtas_call(token, 2, 1, NULL, rtas_data_buf, scope); in mobility_rtas_call()
/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()
/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.c89 status = rtas_call(start_cpu, 3, 1, NULL, pcpu, start_here, lcpu); in smp_startup_cpu()
/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.h242 extern int rtas_call(int token, int, int, int *, ...);

12