/kernel/linux/linux-5.10/drivers/i2c/busses/ |
D | i2c-opal.c | 76 unsigned long opal_id = (unsigned long)adap->algo_data; in i2c_opal_master_xfer() local 105 rc = i2c_opal_send_request(opal_id, &req); in i2c_opal_master_xfer() 116 unsigned long opal_id = (unsigned long)adap->algo_data; in i2c_opal_smbus_xfer() local 165 rc = i2c_opal_send_request(opal_id, &req); in i2c_opal_smbus_xfer() 200 u32 opal_id; in i2c_opal_probe() local 206 rc = of_property_read_u32(pdev->dev.of_node, "ibm,opal-id", &opal_id); in i2c_opal_probe() 217 adapter->algo_data = (void *)(unsigned long)opal_id; in i2c_opal_probe()
|
/kernel/linux/linux-5.10/arch/powerpc/platforms/powernv/ |
D | npu-dma.c | 149 rc = opal_pci_map_pe_dma_window(phb->opal_id, in pnv_npu_set_window() 181 rc = opal_pci_map_pe_dma_window(phb->opal_id, npe->pe_number, in pnv_npu_unset_window() 218 rc = opal_pci_map_pe_dma_window_real(phb->opal_id, in pnv_npu_take_ownership() 636 nphb->opal_id, lparid); in pnv_npu2_map_lpar_dev() 641 ret = opal_npu_map_lpar(nphb->opal_id, pci_dev_id(gpdev), lparid, in pnv_npu2_map_lpar_dev() 649 nphb->opal_id, msr); in pnv_npu2_map_lpar_dev() 650 ret = opal_npu_init_context(nphb->opal_id, 0/*__unused*/, msr, in pnv_npu2_map_lpar_dev() 688 nphb->opal_id); in pnv_npu2_unmap_lpar_dev() 689 ret = opal_npu_destroy_context(nphb->opal_id, 0/*__unused*/, in pnv_npu2_unmap_lpar_dev() 697 dev_dbg(&gpdev->dev, "Map LPAR opalid=%llu lparid=0\n", nphb->opal_id); in pnv_npu2_unmap_lpar_dev() [all …]
|
D | pci-ioda.c | 131 rc = opal_pci_eeh_freeze_clear(phb->opal_id, pe_no, in pnv_ioda_init_pe() 212 rc = opal_pci_set_phb_mem_window(phb->opal_id, in pnv_ioda2_init_m64() 224 rc = opal_pci_phb_mmio_enable(phb->opal_id, in pnv_ioda2_init_m64() 251 opal_pci_phb_mmio_enable(phb->opal_id, in pnv_ioda2_init_m64() 300 rc = opal_pci_set_phb_mem_window(phb->opal_id, in pnv_ioda1_init_m64() 309 rc = opal_pci_phb_mmio_enable(phb->opal_id, in pnv_ioda1_init_m64() 329 rc = opal_pci_map_pe_mmio_window(phb->opal_id, in pnv_ioda1_init_m64() 358 opal_pci_phb_mmio_enable(phb->opal_id, in pnv_ioda1_init_m64() 544 rc = opal_pci_eeh_freeze_set(phb->opal_id, in pnv_ioda_freeze_pe() 558 rc = opal_pci_eeh_freeze_set(phb->opal_id, in pnv_ioda_freeze_pe() [all …]
|
D | eeh-powernv.c | 488 rc = opal_pci_eeh_freeze_set(phb->opal_id, pe->addr, opt); in pnv_eeh_set_option() 503 rc = opal_pci_eeh_freeze_clear(phb->opal_id, pe->addr, opt); in pnv_eeh_set_option() 519 rc = opal_pci_get_phb_diag_data2(phb->opal_id, pe->data, in pnv_eeh_get_phb_diag() 534 rc = opal_pci_eeh_freeze_status(phb->opal_id, in pnv_eeh_get_phb_state() 594 rc = opal_pci_eeh_freeze_status(phb->opal_id, in pnv_eeh_get_pe_state() 730 rc = opal_pci_reset(phb->opal_id, in pnv_eeh_phb_reset() 734 rc = opal_pci_reset(phb->opal_id, in pnv_eeh_phb_reset() 747 rc = pnv_eeh_poll(phb->opal_id); in pnv_eeh_phb_reset() 775 rc = opal_pci_reset(phb->opal_id, in pnv_eeh_root_reset() 779 rc = opal_pci_reset(phb->opal_id, in pnv_eeh_root_reset() [all …]
|
D | pci.c | 564 rc = opal_pci_get_phb_diag_data2(phb->opal_id, phb->diag_data, in pnv_pci_handle_eeh_config() 574 rc = opal_pci_eeh_freeze_clear(phb->opal_id, in pnv_pci_handle_eeh_config() 623 rc = opal_pci_eeh_freeze_status(phb->opal_id, in pnv_pci_config_check_eeh() 663 rc = opal_pci_config_read_byte(phb->opal_id, bdfn, where, &v8); in pnv_pci_cfg_read() 669 rc = opal_pci_config_read_half_word(phb->opal_id, bdfn, where, in pnv_pci_cfg_read() 676 rc = opal_pci_config_read_word(phb->opal_id, bdfn, where, &v32); in pnv_pci_cfg_read() 699 opal_pci_config_write_byte(phb->opal_id, bdfn, where, val); in pnv_pci_cfg_write() 702 opal_pci_config_write_half_word(phb->opal_id, bdfn, where, val); in pnv_pci_cfg_write() 705 opal_pci_config_write_word(phb->opal_id, bdfn, where, val); in pnv_pci_cfg_write() 836 rc = opal_pci_get_pbcq_tunnel_bar(phb->opal_id, &val); in pnv_pci_set_tunnel_bar() [all …]
|
D | pci-sriov.c | 300 opal_pci_phb_mmio_enable(phb->opal_id, in pnv_pci_vf_release_m64() 324 rc = opal_pci_set_phb_mem_window(phb->opal_id, in pnv_ioda_map_m64_segmented() 333 rc = opal_pci_phb_mmio_enable(phb->opal_id, in pnv_ioda_map_m64_segmented() 369 rc = opal_pci_map_pe_mmio_window(phb->opal_id, in pnv_ioda_map_m64_single() 380 rc = opal_pci_set_phb_mem_window(phb->opal_id, in pnv_ioda_map_m64_single() 393 rc = opal_pci_phb_mmio_enable(phb->opal_id, in pnv_ioda_map_m64_single()
|
D | pci-cxl.c | 25 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()
|
D | ocxl.c | 361 rc = opal_npu_tl_set(phb->opal_id, dev->devfn, cap, in pnv_ocxl_set_tl_conf() 452 rc = opal_npu_spa_setup(phb->opal_id, bdfn, virt_to_phys(spa_mem), in pnv_ocxl_spa_setup() 459 data->phb_opal_id = phb->opal_id; in pnv_ocxl_spa_setup()
|
D | pci.h | 118 u64 opal_id; member
|