Home
last modified time | relevance | path

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

12

/Linux-v4.19/arch/powerpc/sysdev/xics/
Dics-opal.c61 if (rc != OPAL_SUCCESS) in ics_opal_unmask_irq()
94 if (rc != OPAL_SUCCESS) in ics_opal_mask_real_irq()
125 if (rc != OPAL_SUCCESS) { in ics_opal_set_affinity()
144 if (rc != OPAL_SUCCESS) { in ics_opal_set_affinity()
193 if (rc != OPAL_SUCCESS) in ics_opal_map()
210 if (rc != OPAL_SUCCESS) in ics_opal_mask_unknown()
224 if (rc != OPAL_SUCCESS) in ics_opal_get_server()
/Linux-v4.19/arch/powerpc/platforms/powernv/
Dsmp.c93 if (rc != OPAL_SUCCESS) { in pnv_smp_kick_cpu()
111 if (rc != OPAL_SUCCESS) { in pnv_smp_kick_cpu()
326 if (rc != OPAL_SUCCESS) in pnv_cause_nmi_ipi()
348 if (rc != OPAL_SUCCESS) in pnv_cause_nmi_ipi()
Deeh-powernv.c529 if (rc != OPAL_SUCCESS) { in pnv_eeh_set_option()
544 if (rc != OPAL_SUCCESS) { in pnv_eeh_set_option()
573 if (rc != OPAL_SUCCESS) in pnv_eeh_get_phb_diag()
591 if (rc != OPAL_SUCCESS) { in pnv_eeh_get_phb_state()
651 if (rc != OPAL_SUCCESS) { in pnv_eeh_get_pe_state()
807 if (rc != OPAL_SUCCESS) in pnv_eeh_phb_reset()
847 if (rc != OPAL_SUCCESS) in pnv_eeh_root_reset()
934 if (rc <= OPAL_SUCCESS) in pnv_eeh_bridge_reset()
939 return (rc == OPAL_SUCCESS) ? 0 : -EIO; in pnv_eeh_bridge_reset()
1119 if (rc != OPAL_SUCCESS) { in pnv_eeh_reset()
[all …]
Dopal-sensor.c55 case OPAL_SUCCESS: in opal_get_sensor_data()
108 case OPAL_SUCCESS: in opal_get_sensor_data_u64()
Dopal-power.c39 if (rc != OPAL_SUCCESS) { in detect_epow()
67 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()
570 has_diag = (rc == OPAL_SUCCESS); in pnv_pci_handle_eeh_config()
668 *val = (rc == OPAL_SUCCESS) ? v8 : 0xff; in pnv_pci_cfg_read()
675 *val = (rc == OPAL_SUCCESS) ? be16_to_cpu(v16) : 0xffff; in pnv_pci_cfg_read()
681 *val = (rc == OPAL_SUCCESS) ? be32_to_cpu(v32) : 0xffffffff; in pnv_pci_cfg_read()
905 if (rc != OPAL_SUCCESS) { in pnv_pci_set_p2p()
926 if (rc != OPAL_SUCCESS) { in pnv_pci_set_p2p()
[all …]
Dopal-dump.c138 if (rc == OPAL_SUCCESS) in init_dump_store()
275 if (rc != OPAL_SUCCESS && rc != OPAL_PARTIAL) in dump_read_data()
297 if (rc != OPAL_SUCCESS && rc != OPAL_PARTIAL) { in dump_attr_read()
378 if (rc != OPAL_SUCCESS) in process_dump()
Dopal-psr.c63 case OPAL_SUCCESS: in psr_show()
113 case OPAL_SUCCESS: in psr_store()
Dopal-elog.c172 if (opal_rc != OPAL_SUCCESS) { in raw_attr_read()
215 if (rc != OPAL_SUCCESS) { in create_elog_obj()
253 if (rc != OPAL_SUCCESS) { in elog_event()
Dopal.c342 if (rc == OPAL_SUCCESS) in opal_get_chars()
380 if (rc != OPAL_SUCCESS) { in __opal_put_chars()
435 return OPAL_SUCCESS; in __opal_flush_console()
609 if (rc == OPAL_SUCCESS) { in opal_hmi_exception_early()
1069 case OPAL_SUCCESS: return 0; in opal_error_code()
1094 if (rc != OPAL_SUCCESS && rc != OPAL_UNSUPPORTED) in powernv_set_nmmu_ptcr()
Dpci-ioda.c154 if (rc != OPAL_SUCCESS && rc != OPAL_UNSUPPORTED) in pnv_ioda_init_pe()
213 if (rc != OPAL_SUCCESS) { in pnv_ioda2_init_m64()
223 if (rc != OPAL_SUCCESS) { in pnv_ioda2_init_m64()
299 if (rc != OPAL_SUCCESS) { in pnv_ioda1_init_m64()
308 if (rc != OPAL_SUCCESS) { in pnv_ioda1_init_m64()
422 if (rc != OPAL_SUCCESS) in pnv_ioda_pick_m64_pe()
544 if (rc != OPAL_SUCCESS) { in pnv_ioda_freeze_pe()
558 if (rc != OPAL_SUCCESS) in pnv_ioda_freeze_pe()
580 if (rc != OPAL_SUCCESS) { in pnv_ioda_unfreeze_pe()
594 if (rc != OPAL_SUCCESS) { in pnv_ioda_unfreeze_pe()
[all …]
Dsetup.c293 if (rc != OPAL_SUCCESS || status != OPAL_THREAD_STARTED) in pnv_kexec_wait_secondaries_down()
407 if (opal_reinit_cpus(OPAL_REINIT_CPUS_TM_SUSPEND_DISABLED) != OPAL_SUCCESS) in pnv_tm_init()
Dopal-powercap.c69 case OPAL_SUCCESS: in powercap_show()
122 case OPAL_SUCCESS: in powercap_store()
Dopal-rtc.c58 if (rc != OPAL_SUCCESS) in opal_get_boot_time()
Dopal-nvram.c41 if (rc != OPAL_SUCCESS) in opal_nvram_read()
Dopal-hmi.c273 while (opal_get_msg(__pa(&msg), sizeof(msg)) == OPAL_SUCCESS) { in hmi_event_handler()
Dopal-irqchip.c70 if (opal_poll_events(&events) != OPAL_SUCCESS) in opal_handle_events()
Dopal-sensor-groups.c101 case OPAL_SUCCESS: in sg_store()
Dnpu-dma.c303 if (rc != OPAL_SUCCESS) in pnv_npu_dma_set_bypass()
315 if (rc == OPAL_SUCCESS) in pnv_npu_dma_set_bypass()
/Linux-v4.19/drivers/rtc/
Drtc-opal.c82 if (rc != OPAL_SUCCESS) in opal_get_rtc_time()
116 return rc == OPAL_SUCCESS ? 0 : -EIO; in opal_set_rtc_time()
155 if (rc != OPAL_SUCCESS) { in opal_get_tpo_time()
219 if (rc != OPAL_SUCCESS) in opal_set_tpo_time()
/Linux-v4.19/drivers/char/
Dpowernv-op-panel.c72 if (rc != OPAL_SUCCESS) { in __op_panel_update_display()
77 case OPAL_SUCCESS: in __op_panel_update_display()
103 if (rc != OPAL_SUCCESS) { in oppanel_write()
/Linux-v4.19/drivers/mtd/devices/
Dpowernv_flash.c124 if (rc != OPAL_SUCCESS && rc != OPAL_BUSY) in powernv_flash_async_op()
128 if (rc == OPAL_SUCCESS && retlen) in powernv_flash_async_op()
/Linux-v4.19/drivers/leds/
Dleds-powernv.c122 if (rc != OPAL_SUCCESS) in powernv_led_set()
150 if (rc != OPAL_SUCCESS && rc != OPAL_PARTIAL) { in powernv_led_get()
/Linux-v4.19/drivers/i2c/busses/
Di2c-opal.c75 if (rc != OPAL_SUCCESS) { in i2c_opal_send_request()
/Linux-v4.19/arch/powerpc/include/asm/
Dopal-api.h18 #define OPAL_SUCCESS 0 macro

12