Home
last modified time | relevance | path

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

12

/arch/powerpc/sysdev/xics/
Dics-rtas.c53 call_status = rtas_call(ibm_set_xive, 3, 1, NULL, hw_irq, server, in ics_rtas_unmask_irq()
63 call_status = rtas_call(ibm_int_on, 1, 1, NULL, hw_irq); in ics_rtas_unmask_irq()
94 call_status = rtas_call(ibm_int_off, 1, 1, NULL, hw_irq); in ics_rtas_mask_real_irq()
102 call_status = rtas_call(ibm_set_xive, 3, 1, NULL, hw_irq, in ics_rtas_mask_real_irq()
134 status = rtas_call(ibm_get_xive, 1, 3, xics_status, hw_irq); in ics_rtas_set_affinity()
149 status = rtas_call(ibm_set_xive, 3, 1, NULL, in ics_rtas_set_affinity()
182 rc = rtas_call(ibm_get_xive, 1, 3, status, hw_irq); in ics_rtas_map()
201 rc = rtas_call(ibm_get_xive, 1, 3, status, vec); in ics_rtas_get_server()
/arch/powerpc/kernel/
Drtas.c158 if (rtas_call(rtas_putchar_token, 1, 1, NULL, c) == 0) in udbg_rtascon_putc()
171 if (rtas_call(rtas_getchar_token, 0, 2, &c)) in udbg_rtascon_getc_poll()
235 rtas_call(set_indicator, 3, 1, NULL, 6, 0, hex); in rtas_progress()
251 rtas_call(display_character, 1, 1, NULL, '\r'); in rtas_progress()
252 rtas_call(display_character, 1, 1, NULL, '\n'); in rtas_progress()
257 rtas_call(display_character, 1, 1, NULL, in rtas_progress()
260 rtas_call(display_character, 1, 1, NULL, '\r'); in rtas_progress()
286 rtas_call(display_character, 1, 1, NULL, '\r'); in rtas_progress()
287 rtas_call(display_character, 1, 1, NULL, '\n'); in rtas_progress()
292 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()
/arch/powerpc/platforms/pseries/
Deeh_pseries.c361 ret = rtas_call(ibm_set_eeh_option, 4, 1, NULL, in pseries_eeh_set_option()
392 ret = rtas_call(ibm_get_config_addr_info2, 4, 2, rets, in pseries_eeh_get_pe_addr()
399 ret = rtas_call(ibm_get_config_addr_info2, 4, 2, rets, in pseries_eeh_get_pe_addr()
412 ret = rtas_call(ibm_get_config_addr_info, 4, 2, rets, in pseries_eeh_get_pe_addr()
453 ret = rtas_call(ibm_read_slot_reset_state2, 3, 4, rets, in pseries_eeh_get_state()
459 ret = rtas_call(ibm_read_slot_reset_state, 3, 3, rets, in pseries_eeh_get_state()
523 ret = rtas_call(ibm_set_slot_reset, 4, 1, NULL, in pseries_eeh_reset()
531 ret = rtas_call(ibm_set_slot_reset, 4, 1, NULL, in pseries_eeh_reset()
571 ret = rtas_call(ibm_slot_error_detail, 8, 1, NULL, config_addr, in pseries_eeh_get_log()
604 ret = rtas_call(ibm_configure_pe, 3, 1, NULL, in pseries_eeh_configure_bridge()
[all …]
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()
Dsmp.c68 status = rtas_call(qcss_tok, 1, 2, &cpu_status, pcpu); in smp_query_cpu_stopped()
123 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()
Dras.c292 rtas_call(ras_check_exception_token, 6, 1, NULL, in ras_hotplug_interrupt()
333 status = rtas_call(ras_check_exception_token, 6, 1, NULL, in ras_epow_interrupt()
364 status = rtas_call(ras_check_exception_token, 6, 1, NULL, in ras_error_interrupt()
461 int ret = rtas_call(rtas_token("ibm,nmi-interlock"), 0, 1, NULL); in fwnmi_release_errinfo()
Dmsi.c42 rc = rtas_call(change_token, 6, 4, rtas_ret, addr, in rtas_change_msi()
46 rc = rtas_call(change_token, 6, 3, rtas_ret, addr, in rtas_change_msi()
100 rc = rtas_call(query_token, 4, 3, rtas_ret, addr, in rtas_query_irq_number()
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()
Ddlpar.c166 rc = rtas_call(cc_token, 2, 1, NULL, rtas_data_buf, NULL); in dlpar_configure_connector()
293 rc = rtas_call(rtas_token("get-sensor-state"), 2, 2, &dr_status, in dlpar_acquire_drc()
315 rc = rtas_call(rtas_token("get-sensor-state"), 2, 2, &dr_status, in dlpar_release_drc()
Dsetup.c126 if (0 == rtas_call(ibm_nmi_register, 2, 1, NULL, system_reset_addr, in fwnmi_init()
859 call_status = rtas_call(rtas_token("ibm,get-system-parameter"), 3, 1, in pSeries_cmo_feature_init()
967 rc = rtas_call(rtas_token("power-off"), 2, 1, NULL, -1, -1); in pseries_power_off()
970 rc = rtas_call(rtas_poweroff_ups_token, 0, 1, NULL); in pseries_power_off()
Dmobility.c52 rc = rtas_call(token, 2, 1, NULL, rtas_data_buf, scope); in mobility_rtas_call()
343 rc = rtas_call(activate_fw_token, 0, 1, NULL); in post_mobility_fixup()
Dpci.c76 rc = rtas_call(ibm_map_pes, 5, 1, NULL, addr, in pseries_send_map_pe()
/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.c92 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.h354 extern int rtas_call(int token, int, int, int *, ...);
/arch/powerpc/oprofile/
Dop_model_cell.c196 return rtas_call(pm_rtas_token, 5, 1, NULL, subfunc, in rtas_ibm_cbe_perftools()
1158 rtn_value = rtas_call(spu_rtas_token, 3, 1, NULL, in cell_global_stop_spu_cycles()
1306 ret = rtas_call(spu_rtas_token, 3, 1, NULL, subfunc, in cell_global_start_spu_cycles()

12