Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/arch/powerpc/sysdev/xics/
Dics-opal.c57 if (rc != OPAL_SUCCESS) in ics_opal_unmask_irq()
90 if (rc != OPAL_SUCCESS) in ics_opal_mask_real_irq()
121 if (rc != OPAL_SUCCESS) { in ics_opal_set_affinity()
140 if (rc != OPAL_SUCCESS) { in ics_opal_set_affinity()
189 if (rc != OPAL_SUCCESS) in ics_opal_map()
206 if (rc != OPAL_SUCCESS) in ics_opal_mask_unknown()
220 if (rc != OPAL_SUCCESS) in ics_opal_get_server()
/kernel/linux/linux-5.10/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.c489 if (rc != OPAL_SUCCESS) { in pnv_eeh_set_option()
504 if (rc != OPAL_SUCCESS) { in pnv_eeh_set_option()
521 if (rc != OPAL_SUCCESS) in pnv_eeh_get_phb_diag()
539 if (rc != OPAL_SUCCESS) { in pnv_eeh_get_phb_state()
599 if (rc != OPAL_SUCCESS) { in pnv_eeh_get_pe_state()
755 if (rc != OPAL_SUCCESS) in pnv_eeh_phb_reset()
795 if (rc != OPAL_SUCCESS) in pnv_eeh_root_reset()
886 if (rc <= OPAL_SUCCESS) in pnv_eeh_bridge_reset()
891 return (rc == OPAL_SUCCESS) ? 0 : -EIO; in pnv_eeh_bridge_reset()
1072 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.c89 if (rc < OPAL_SUCCESS) in pnv_pci_get_device_tree()
104 if (rc != OPAL_SUCCESS) in pnv_pci_get_presence_state()
119 if (rc != OPAL_SUCCESS) in pnv_pci_get_power_state()
140 if (rc == OPAL_SUCCESS) { in pnv_pci_set_power_state()
566 has_diag = (rc == OPAL_SUCCESS); in pnv_pci_handle_eeh_config()
664 *val = (rc == OPAL_SUCCESS) ? v8 : 0xff; in pnv_pci_cfg_read()
671 *val = (rc == OPAL_SUCCESS) ? be16_to_cpu(v16) : 0xffff; in pnv_pci_cfg_read()
677 *val = (rc == OPAL_SUCCESS) ? be32_to_cpu(v32) : 0xffffffff; in pnv_pci_cfg_read()
837 if (rc != OPAL_SUCCESS) { in pnv_pci_set_tunnel_bar()
Dopal-dump.c139 if (rc == OPAL_SUCCESS) in init_dump_store()
276 if (rc != OPAL_SUCCESS && rc != OPAL_PARTIAL) in dump_read_data()
298 if (rc != OPAL_SUCCESS && rc != OPAL_PARTIAL) { in dump_attr_read()
396 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()
1203 case OPAL_SUCCESS: return 0; in opal_error_code()
1228 if (rc != OPAL_SUCCESS && rc != OPAL_UNSUPPORTED) in powernv_set_nmmu_ptcr()
Dopal-psr.c59 case OPAL_SUCCESS: in psr_show()
109 case OPAL_SUCCESS: in psr_store()
Dpci-ioda.c133 if (rc != OPAL_SUCCESS && rc != OPAL_UNSUPPORTED) in pnv_ioda_init_pe()
218 if (rc != OPAL_SUCCESS) { in pnv_ioda2_init_m64()
228 if (rc != OPAL_SUCCESS) { in pnv_ioda2_init_m64()
303 if (rc != OPAL_SUCCESS) { in pnv_ioda1_init_m64()
312 if (rc != OPAL_SUCCESS) { in pnv_ioda1_init_m64()
333 if (rc != OPAL_SUCCESS) { in pnv_ioda1_init_m64()
547 if (rc != OPAL_SUCCESS) { in pnv_ioda_freeze_pe()
561 if (rc != OPAL_SUCCESS) in pnv_ioda_freeze_pe()
583 if (rc != OPAL_SUCCESS) { in pnv_ioda_unfreeze_pe()
597 if (rc != OPAL_SUCCESS) { in pnv_ioda_unfreeze_pe()
[all …]
Dopal-elog.c173 if (opal_rc != OPAL_SUCCESS) { in raw_attr_read()
216 if (rc != OPAL_SUCCESS) { in create_elog_obj()
273 if (rc != OPAL_SUCCESS) { in elog_event()
Dsetup.c310 } else if (rc != OPAL_SUCCESS) { in pnv_restart()
377 if (rc != OPAL_SUCCESS || status != OPAL_THREAD_STARTED) in pnv_kexec_wait_secondaries_down()
502 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.c66 if (opal_poll_events(&events) != OPAL_SUCCESS) in opal_handle_events()
Dopal-sensor-groups.c97 case OPAL_SUCCESS: in sg_store()
Dopal-core.c477 if ((ret != OPAL_SUCCESS) || !addr) { in opalcore_config_init()
488 if ((ret != OPAL_SUCCESS) || !addr) { in opalcore_config_init()
Dopal-hmi.c301 while (opal_get_msg(__pa(&msg), sizeof(msg)) == OPAL_SUCCESS) { in hmi_event_handler()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/char/
Dpowernv-op-panel.c73 if (rc != OPAL_SUCCESS) { in __op_panel_update_display()
78 case OPAL_SUCCESS: in __op_panel_update_display()
104 if (rc != OPAL_SUCCESS) { in oppanel_write()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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