Home
last modified time | relevance | path

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

12

/linux-6.1.9/arch/powerpc/sysdev/xics/
Dics-opal.c56 if (rc != OPAL_SUCCESS) in ics_opal_unmask_irq()
78 if (rc != OPAL_SUCCESS) in ics_opal_mask_real_irq()
109 if (rc != OPAL_SUCCESS) { in ics_opal_set_affinity()
128 if (rc != OPAL_SUCCESS) { in ics_opal_set_affinity()
164 if (rc != OPAL_SUCCESS) in ics_opal_check()
178 if (rc != OPAL_SUCCESS) in ics_opal_mask_unknown()
192 if (rc != OPAL_SUCCESS) in ics_opal_get_server()
/linux-6.1.9/arch/powerpc/platforms/powernv/
Dsmp.c90 if (rc != OPAL_SUCCESS) { in pnv_smp_kick_cpu()
108 if (rc != OPAL_SUCCESS) { in pnv_smp_kick_cpu()
370 if (rc != OPAL_SUCCESS) in pnv_cause_nmi_ipi()
392 if (rc != OPAL_SUCCESS) in pnv_cause_nmi_ipi()
Dopal-fadump.c51 if ((ret != OPAL_SUCCESS) || !addr) { in opal_fadump_dt_scan()
67 if ((ret != OPAL_SUCCESS) || !addr) { in opal_fadump_dt_scan()
249 if (ret != OPAL_SUCCESS) { in opal_fadump_setup_metadata()
260 if (ret != OPAL_SUCCESS) { in opal_fadump_setup_metadata()
285 if (rc != OPAL_SUCCESS) in opal_fadump_register()
293 case OPAL_SUCCESS: in opal_fadump_register()
364 if (ret != OPAL_SUCCESS) in opal_fadump_cleanup()
694 if ((ret != OPAL_SUCCESS) || !be_addr) { in opal_fadump_dt_scan()
Deeh-powernv.c490 if (rc != OPAL_SUCCESS) { in pnv_eeh_set_option()
505 if (rc != OPAL_SUCCESS) { in pnv_eeh_set_option()
522 if (rc != OPAL_SUCCESS) in pnv_eeh_get_phb_diag()
540 if (rc != OPAL_SUCCESS) { in pnv_eeh_get_phb_state()
600 if (rc != OPAL_SUCCESS) { in pnv_eeh_get_pe_state()
756 if (rc != OPAL_SUCCESS) in pnv_eeh_phb_reset()
796 if (rc != OPAL_SUCCESS) in pnv_eeh_root_reset()
887 if (rc <= OPAL_SUCCESS) in pnv_eeh_bridge_reset()
892 return (rc == OPAL_SUCCESS) ? 0 : -EIO; in pnv_eeh_bridge_reset()
1073 if (rc != OPAL_SUCCESS) { in pnv_eeh_reset()
[all …]
Dopal-sensor.c42 case OPAL_SUCCESS: in opal_get_sensor_data()
95 case OPAL_SUCCESS: in opal_get_sensor_data_u64()
Dopal-power.c35 if (rc != OPAL_SUCCESS) { in detect_epow()
63 if (rc == OPAL_SUCCESS) { in poweroff_pending()
Dpci.c88 if (rc < OPAL_SUCCESS) in pnv_pci_get_device_tree()
103 if (rc != OPAL_SUCCESS) in pnv_pci_get_presence_state()
118 if (rc != OPAL_SUCCESS) in pnv_pci_get_power_state()
139 if (rc == OPAL_SUCCESS) { in pnv_pci_set_power_state()
498 has_diag = (rc == OPAL_SUCCESS); in pnv_pci_handle_eeh_config()
596 *val = (rc == OPAL_SUCCESS) ? v8 : 0xff; in pnv_pci_cfg_read()
603 *val = (rc == OPAL_SUCCESS) ? be16_to_cpu(v16) : 0xffff; in pnv_pci_cfg_read()
609 *val = (rc == OPAL_SUCCESS) ? be32_to_cpu(v32) : 0xffffffff; in pnv_pci_cfg_read()
769 if (rc != OPAL_SUCCESS) { in pnv_pci_set_tunnel_bar()
Dopal-dump.c139 if (rc == OPAL_SUCCESS) in init_dump_store()
277 if (rc != OPAL_SUCCESS && rc != OPAL_PARTIAL) in dump_read_data()
299 if (rc != OPAL_SUCCESS && rc != OPAL_PARTIAL) { in dump_attr_read()
397 if (rc != OPAL_SUCCESS) in process_dump()
Dopal.c439 if (rc == OPAL_SUCCESS) in opal_get_chars()
477 if (rc != OPAL_SUCCESS) { in __opal_put_chars()
532 return OPAL_SUCCESS; in __opal_flush_console()
706 if (rc == OPAL_SUCCESS) { in opal_hmi_exception_early()
724 if (rc != OPAL_SUCCESS) in opal_hmi_exception_early2()
1205 case OPAL_SUCCESS: return 0; in opal_error_code()
1230 if (rc != OPAL_SUCCESS && rc != OPAL_UNSUPPORTED) in powernv_set_nmmu_ptcr()
Dopal-elog.c174 if (opal_rc != OPAL_SUCCESS) { in raw_attr_read()
217 if (rc != OPAL_SUCCESS) { in create_elog_obj()
274 if (rc != OPAL_SUCCESS) { in elog_event()
Dpci-ioda.c134 if (rc != OPAL_SUCCESS && rc != OPAL_UNSUPPORTED) in pnv_ioda_init_pe()
217 if (rc != OPAL_SUCCESS) { in pnv_ioda2_init_m64()
227 if (rc != OPAL_SUCCESS) { in pnv_ioda2_init_m64()
302 if (rc != OPAL_SUCCESS) { in pnv_ioda1_init_m64()
311 if (rc != OPAL_SUCCESS) { in pnv_ioda1_init_m64()
332 if (rc != OPAL_SUCCESS) { in pnv_ioda1_init_m64()
546 if (rc != OPAL_SUCCESS) { in pnv_ioda_freeze_pe()
560 if (rc != OPAL_SUCCESS) in pnv_ioda_freeze_pe()
582 if (rc != OPAL_SUCCESS) { in pnv_ioda_unfreeze_pe()
596 if (rc != OPAL_SUCCESS) { in pnv_ioda_unfreeze_pe()
[all …]
Dopal-psr.c59 case OPAL_SUCCESS: in psr_show()
109 case OPAL_SUCCESS: in psr_store()
Dsetup.c344 } else if (rc != OPAL_SUCCESS) { in pnv_restart()
411 if (rc != OPAL_SUCCESS || status != OPAL_THREAD_STARTED) in pnv_kexec_wait_secondaries_down()
536 if (opal_reinit_cpus(OPAL_REINIT_CPUS_TM_SUSPEND_DISABLED) != OPAL_SUCCESS) in pnv_tm_init()
Dopal-powercap.c65 case OPAL_SUCCESS: in powercap_show()
118 case OPAL_SUCCESS: in powercap_store()
Dopal-rtc.c54 if (rc != OPAL_SUCCESS) in opal_get_boot_time()
Dopal-nvram.c37 if (rc != OPAL_SUCCESS) in opal_nvram_read()
Dopal-secvar.c26 case OPAL_SUCCESS: in opal_status_to_err()
Dopal-irqchip.c63 if (opal_poll_events(&events) != OPAL_SUCCESS) in opal_handle_events()
Dopal-sensor-groups.c97 case OPAL_SUCCESS: in sg_store()
Dopal-core.c479 if ((ret != OPAL_SUCCESS) || !addr) { in opalcore_config_init()
490 if ((ret != OPAL_SUCCESS) || !addr) { in opalcore_config_init()
Dopal-hmi.c306 while (opal_get_msg(__pa(&msg), sizeof(msg)) == OPAL_SUCCESS) { in hmi_event_handler()
/linux-6.1.9/drivers/rtc/
Drtc-opal.c70 if (rc != OPAL_SUCCESS) in opal_get_rtc_time()
104 return rc == OPAL_SUCCESS ? 0 : -EIO; in opal_set_rtc_time()
143 if (rc != OPAL_SUCCESS) { in opal_get_tpo_time()
207 if (rc != OPAL_SUCCESS) in opal_set_tpo_time()
/linux-6.1.9/drivers/char/
Dpowernv-op-panel.c73 if (rc != OPAL_SUCCESS) { in __op_panel_update_display()
79 case OPAL_SUCCESS: in __op_panel_update_display()
105 if (rc != OPAL_SUCCESS) { in oppanel_write()
/linux-6.1.9/drivers/mtd/devices/
Dpowernv_flash.c115 if (rc != OPAL_SUCCESS && rc != OPAL_BUSY) in powernv_flash_async_op()
119 if (rc == OPAL_SUCCESS && retlen) in powernv_flash_async_op()
/linux-6.1.9/drivers/leds/
Dleds-powernv.c118 if (rc != OPAL_SUCCESS) in powernv_led_set()
146 if (rc != OPAL_SUCCESS && rc != OPAL_PARTIAL) { in powernv_led_get()

12