Searched refs:opal_id (Results 1 – 8 of 8) sorted by relevance
/linux-6.1.9/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()
|
/linux-6.1.9/arch/powerpc/platforms/powernv/ |
D | pci-ioda.c | 132 rc = opal_pci_eeh_freeze_clear(phb->opal_id, pe_no, in pnv_ioda_init_pe() 211 rc = opal_pci_set_phb_mem_window(phb->opal_id, in pnv_ioda2_init_m64() 223 rc = opal_pci_phb_mmio_enable(phb->opal_id, in pnv_ioda2_init_m64() 250 opal_pci_phb_mmio_enable(phb->opal_id, in pnv_ioda2_init_m64() 299 rc = opal_pci_set_phb_mem_window(phb->opal_id, in pnv_ioda1_init_m64() 308 rc = opal_pci_phb_mmio_enable(phb->opal_id, in pnv_ioda1_init_m64() 328 rc = opal_pci_map_pe_mmio_window(phb->opal_id, in pnv_ioda1_init_m64() 357 opal_pci_phb_mmio_enable(phb->opal_id, in pnv_ioda1_init_m64() 543 rc = opal_pci_eeh_freeze_set(phb->opal_id, in pnv_ioda_freeze_pe() 557 rc = opal_pci_eeh_freeze_set(phb->opal_id, in pnv_ioda_freeze_pe() [all …]
|
D | eeh-powernv.c | 489 rc = opal_pci_eeh_freeze_set(phb->opal_id, pe->addr, opt); in pnv_eeh_set_option() 504 rc = opal_pci_eeh_freeze_clear(phb->opal_id, pe->addr, opt); in pnv_eeh_set_option() 520 rc = opal_pci_get_phb_diag_data2(phb->opal_id, pe->data, in pnv_eeh_get_phb_diag() 535 rc = opal_pci_eeh_freeze_status(phb->opal_id, in pnv_eeh_get_phb_state() 595 rc = opal_pci_eeh_freeze_status(phb->opal_id, in pnv_eeh_get_pe_state() 731 rc = opal_pci_reset(phb->opal_id, in pnv_eeh_phb_reset() 735 rc = opal_pci_reset(phb->opal_id, in pnv_eeh_phb_reset() 748 rc = pnv_eeh_poll(phb->opal_id); in pnv_eeh_phb_reset() 776 rc = opal_pci_reset(phb->opal_id, in pnv_eeh_root_reset() 780 rc = opal_pci_reset(phb->opal_id, in pnv_eeh_root_reset() [all …]
|
D | pci.c | 496 rc = opal_pci_get_phb_diag_data2(phb->opal_id, phb->diag_data, in pnv_pci_handle_eeh_config() 506 rc = opal_pci_eeh_freeze_clear(phb->opal_id, in pnv_pci_handle_eeh_config() 555 rc = opal_pci_eeh_freeze_status(phb->opal_id, in pnv_pci_config_check_eeh() 595 rc = opal_pci_config_read_byte(phb->opal_id, bdfn, where, &v8); in pnv_pci_cfg_read() 601 rc = opal_pci_config_read_half_word(phb->opal_id, bdfn, where, in pnv_pci_cfg_read() 608 rc = opal_pci_config_read_word(phb->opal_id, bdfn, where, &v32); in pnv_pci_cfg_read() 631 opal_pci_config_write_byte(phb->opal_id, bdfn, where, val); in pnv_pci_cfg_write() 634 opal_pci_config_write_half_word(phb->opal_id, bdfn, where, val); in pnv_pci_cfg_write() 637 opal_pci_config_write_word(phb->opal_id, bdfn, where, val); in pnv_pci_cfg_write() 768 rc = opal_pci_get_pbcq_tunnel_bar(phb->opal_id, &val); in pnv_pci_set_tunnel_bar() [all …]
|
D | pci-sriov.c | 294 opal_pci_phb_mmio_enable(phb->opal_id, in pnv_pci_vf_release_m64() 318 rc = opal_pci_set_phb_mem_window(phb->opal_id, in pnv_ioda_map_m64_segmented() 327 rc = opal_pci_phb_mmio_enable(phb->opal_id, in pnv_ioda_map_m64_segmented() 363 rc = opal_pci_map_pe_mmio_window(phb->opal_id, in pnv_ioda_map_m64_single() 374 rc = opal_pci_set_phb_mem_window(phb->opal_id, in pnv_ioda_map_m64_single() 387 rc = opal_pci_phb_mmio_enable(phb->opal_id, in pnv_ioda_map_m64_single()
|
D | pci-cxl.c | 26 rc = opal_pci_set_phb_cxl_mode(phb->opal_id, mode, pe->pe_number); in pnv_phb_to_cxl_mode() 142 rc = opal_pci_set_xive_pe(phb->opal_id, pe->pe_number, xive_num); in pnv_cxl_ioda_msi_setup()
|
D | ocxl.c | 362 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() 508 rc = opal_npu_map_lpar(phb->opal_id, pci_dev_id(dev), in pnv_ocxl_map_lpar()
|
D | pci.h | 114 u64 opal_id; member
|