Home
last modified time | relevance | path

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

/linux/arch/powerpc/sysdev/xics/
H A 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()
127 if (rc != OPAL_SUCCESS) { in ics_opal_set_affinity()
163 if (rc != OPAL_SUCCESS) in ics_opal_check()
177 if (rc != OPAL_SUCCESS) in ics_opal_mask_unknown()
191 if (rc != OPAL_SUCCESS) in ics_opal_get_server()
/linux/arch/powerpc/platforms/powernv/
H A 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()
687 if ((ret != OPAL_SUCCESS) || !be_addr) { in opal_fadump_dt_scan()
H A 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()
885 if (rc <= OPAL_SUCCESS) in pnv_eeh_bridge_reset()
890 return (rc == OPAL_SUCCESS) ? 0 : -EIO; in pnv_eeh_bridge_reset()
1071 if (rc != OPAL_SUCCESS) { in pnv_eeh_reset()
[all …]
H A 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()
H A Dopal-sensor.c44 case OPAL_SUCCESS: in opal_get_sensor_data()
97 case OPAL_SUCCESS: in opal_get_sensor_data_u64()
H A Dopal-power.c35 if (rc != OPAL_SUCCESS) { in detect_epow()
63 if (rc == OPAL_SUCCESS) { in poweroff_pending()
H A 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()
H A 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()
H A Dopal-psr.c59 case OPAL_SUCCESS: in psr_show()
109 case OPAL_SUCCESS: in psr_store()
H A 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()
525 if (opal_reinit_cpus(OPAL_REINIT_CPUS_TM_SUSPEND_DISABLED) != OPAL_SUCCESS) in pnv_tm_init()
H A Dpci-ioda.c131 if (rc != OPAL_SUCCESS && rc != OPAL_UNSUPPORTED) in pnv_ioda_init_pe()
214 if (rc != OPAL_SUCCESS) { in pnv_ioda2_init_m64()
224 if (rc != OPAL_SUCCESS) { in pnv_ioda2_init_m64()
460 if (rc != OPAL_SUCCESS) { in pnv_ioda_freeze_pe()
474 if (rc != OPAL_SUCCESS) in pnv_ioda_freeze_pe()
496 if (rc != OPAL_SUCCESS) { in pnv_ioda_unfreeze_pe()
510 if (rc != OPAL_SUCCESS) { in pnv_ioda_unfreeze_pe()
546 if (rc != OPAL_SUCCESS) { in pnv_ioda_get_pe_state()
564 if (rc != OPAL_SUCCESS) { in pnv_ioda_get_pe_state()
619 if (rc != OPAL_SUCCESS) { in pnv_ioda_set_one_peltv()
[all …]
H A Dopal-powercap.c65 case OPAL_SUCCESS: in powercap_show()
118 case OPAL_SUCCESS: in powercap_store()
H A Dopal-rtc.c55 if (rc != OPAL_SUCCESS) in opal_get_boot_time()
H A Dopal-nvram.c37 if (rc != OPAL_SUCCESS) in opal_nvram_read()
H A Dopal-secvar.c26 case OPAL_SUCCESS: in opal_status_to_err()
H A Dopal-irqchip.c63 if (opal_poll_events(&events) != OPAL_SUCCESS) in opal_handle_events()
H A Dopal-core.c479 if ((ret != OPAL_SUCCESS) || !addr) { in opalcore_config_init()
490 if ((ret != OPAL_SUCCESS) || !addr) { in opalcore_config_init()
H A Dopal-sensor-groups.c97 case OPAL_SUCCESS: in sg_store()
H A Dopal-hmi.c306 while (opal_get_msg(__pa(&msg), sizeof(msg)) == OPAL_SUCCESS) { in hmi_event_handler()
/linux/drivers/rtc/
H A 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/drivers/mtd/devices/
H A 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/drivers/leds/
H A Dleds-powernv.c118 if (rc != OPAL_SUCCESS) in powernv_led_set()
146 if (rc != OPAL_SUCCESS && rc != OPAL_PARTIAL) { in powernv_led_get()
/linux/arch/powerpc/include/asm/
H A Dopal-api.h14 #define OPAL_SUCCESS 0 macro
/linux/drivers/pci/hotplug/
H A Dpnv_php.c350 if (be64_to_cpu(msg.params[3]) != OPAL_SUCCESS) { in pnv_php_set_slot_power_state()