Home
last modified time | relevance | path

Searched refs:opal_id (Results 1 – 7 of 7) sorted by relevance

/arch/powerpc/platforms/powernv/
Dnpu-dma.c148 rc = opal_pci_map_pe_dma_window(phb->opal_id, in pnv_npu_set_window()
180 rc = opal_pci_map_pe_dma_window(phb->opal_id, npe->pe_number, in pnv_npu_unset_window()
217 rc = opal_pci_map_pe_dma_window_real(phb->opal_id, in pnv_npu_take_ownership()
573 nphb->opal_id, lparid); in pnv_npu2_map_lpar_dev()
578 ret = opal_npu_map_lpar(nphb->opal_id, pci_dev_id(gpdev), lparid, in pnv_npu2_map_lpar_dev()
586 nphb->opal_id, msr); in pnv_npu2_map_lpar_dev()
587 ret = opal_npu_init_context(nphb->opal_id, 0/*__unused*/, msr, in pnv_npu2_map_lpar_dev()
625 nphb->opal_id); in pnv_npu2_unmap_lpar_dev()
626 ret = opal_npu_destroy_context(nphb->opal_id, 0/*__unused*/, in pnv_npu2_unmap_lpar_dev()
634 dev_dbg(&gpdev->dev, "Map LPAR opalid=%llu lparid=0\n", nphb->opal_id); in pnv_npu2_unmap_lpar_dev()
[all …]
Deeh-powernv.c521 rc = opal_pci_eeh_freeze_set(phb->opal_id, pe->addr, opt); in pnv_eeh_set_option()
536 rc = opal_pci_eeh_freeze_clear(phb->opal_id, pe->addr, opt); in pnv_eeh_set_option()
564 rc = opal_pci_get_phb_diag_data2(phb->opal_id, pe->data, in pnv_eeh_get_phb_diag()
579 rc = opal_pci_eeh_freeze_status(phb->opal_id, in pnv_eeh_get_phb_state()
639 rc = opal_pci_eeh_freeze_status(phb->opal_id, in pnv_eeh_get_pe_state()
775 rc = opal_pci_reset(phb->opal_id, in pnv_eeh_phb_reset()
779 rc = opal_pci_reset(phb->opal_id, in pnv_eeh_phb_reset()
792 rc = pnv_eeh_poll(phb->opal_id); in pnv_eeh_phb_reset()
820 rc = opal_pci_reset(phb->opal_id, in pnv_eeh_root_reset()
824 rc = opal_pci_reset(phb->opal_id, in pnv_eeh_root_reset()
[all …]
Dpci-ioda.c149 rc = opal_pci_eeh_freeze_clear(phb->opal_id, pe_no, in pnv_ioda_init_pe()
205 rc = opal_pci_set_phb_mem_window(phb->opal_id, in pnv_ioda2_init_m64()
217 rc = opal_pci_phb_mmio_enable(phb->opal_id, in pnv_ioda2_init_m64()
244 opal_pci_phb_mmio_enable(phb->opal_id, in pnv_ioda2_init_m64()
294 rc = opal_pci_set_phb_mem_window(phb->opal_id, in pnv_ioda1_init_m64()
303 rc = opal_pci_phb_mmio_enable(phb->opal_id, in pnv_ioda1_init_m64()
330 opal_pci_phb_mmio_enable(phb->opal_id, in pnv_ioda1_init_m64()
416 rc = opal_pci_map_pe_mmio_window(phb->opal_id, in pnv_ioda_pick_m64_pe()
537 rc = opal_pci_eeh_freeze_set(phb->opal_id, in pnv_ioda_freeze_pe()
551 rc = opal_pci_eeh_freeze_set(phb->opal_id, in pnv_ioda_freeze_pe()
[all …]
Dpci.c562 rc = opal_pci_get_phb_diag_data2(phb->opal_id, phb->diag_data, in pnv_pci_handle_eeh_config()
572 rc = opal_pci_eeh_freeze_clear(phb->opal_id, in pnv_pci_handle_eeh_config()
621 rc = opal_pci_eeh_freeze_status(phb->opal_id, in pnv_pci_config_check_eeh()
661 rc = opal_pci_config_read_byte(phb->opal_id, bdfn, where, &v8); in pnv_pci_cfg_read()
667 rc = opal_pci_config_read_half_word(phb->opal_id, bdfn, where, in pnv_pci_cfg_read()
674 rc = opal_pci_config_read_word(phb->opal_id, bdfn, where, &v32); in pnv_pci_cfg_read()
697 opal_pci_config_write_byte(phb->opal_id, bdfn, where, val); in pnv_pci_cfg_write()
700 opal_pci_config_write_half_word(phb->opal_id, bdfn, where, val); in pnv_pci_cfg_write()
703 opal_pci_config_write_word(phb->opal_id, bdfn, where, val); in pnv_pci_cfg_write()
867 rc = opal_pci_get_pbcq_tunnel_bar(phb->opal_id, &val); in pnv_pci_set_tunnel_bar()
[all …]
Dpci-cxl.c25 rc = opal_pci_set_phb_cxl_mode(phb->opal_id, mode, pe->pe_number); in pnv_phb_to_cxl_mode()
141 rc = opal_pci_set_xive_pe(phb->opal_id, pe->pe_number, xive_num); in pnv_cxl_ioda_msi_setup()
Docxl.c362 rc = opal_npu_tl_set(phb->opal_id, dev->devfn, cap, in pnv_ocxl_set_tl_conf()
453 rc = opal_npu_spa_setup(phb->opal_id, bdfn, virt_to_phys(spa_mem), in pnv_ocxl_spa_setup()
460 data->phb_opal_id = phb->opal_id; in pnv_ocxl_spa_setup()
Dpci.h93 u64 opal_id; member