/linux/arch/powerpc/sysdev/xics/ |
H A D | ics-opal.c | 56 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 D | opal-fadump.c | 51 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 D | eeh-powernv.c | 489 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 D | pci.c | 88 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 D | opal-sensor.c | 44 case OPAL_SUCCESS: in opal_get_sensor_data() 97 case OPAL_SUCCESS: in opal_get_sensor_data_u64()
|
H A D | opal-power.c | 35 if (rc != OPAL_SUCCESS) { in detect_epow() 63 if (rc == OPAL_SUCCESS) { in poweroff_pending()
|
H A D | opal-dump.c | 139 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 D | opal-elog.c | 174 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 D | opal-psr.c | 59 case OPAL_SUCCESS: in psr_show() 109 case OPAL_SUCCESS: in psr_store()
|
H A D | setup.c | 344 } 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 D | pci-ioda.c | 131 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 D | opal-powercap.c | 65 case OPAL_SUCCESS: in powercap_show() 118 case OPAL_SUCCESS: in powercap_store()
|
H A D | opal-rtc.c | 55 if (rc != OPAL_SUCCESS) in opal_get_boot_time()
|
H A D | opal-nvram.c | 37 if (rc != OPAL_SUCCESS) in opal_nvram_read()
|
H A D | opal-secvar.c | 26 case OPAL_SUCCESS: in opal_status_to_err()
|
H A D | opal-irqchip.c | 63 if (opal_poll_events(&events) != OPAL_SUCCESS) in opal_handle_events()
|
H A D | opal-core.c | 479 if ((ret != OPAL_SUCCESS) || !addr) { in opalcore_config_init() 490 if ((ret != OPAL_SUCCESS) || !addr) { in opalcore_config_init()
|
H A D | opal-sensor-groups.c | 97 case OPAL_SUCCESS: in sg_store()
|
H A D | opal-hmi.c | 306 while (opal_get_msg(__pa(&msg), sizeof(msg)) == OPAL_SUCCESS) { in hmi_event_handler()
|
/linux/drivers/rtc/ |
H A D | rtc-opal.c | 70 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 D | powernv_flash.c | 115 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 D | leds-powernv.c | 118 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 D | opal-api.h | 14 #define OPAL_SUCCESS 0 macro
|
/linux/drivers/pci/hotplug/ |
H A D | pnv_php.c | 350 if (be64_to_cpu(msg.params[3]) != OPAL_SUCCESS) { in pnv_php_set_slot_power_state()
|