Lines Matching refs:bdfn
41 u32 bdfn; in pnv_pci_get_slot_id() local
45 ret = of_property_read_u32(np, "reg", &bdfn); in pnv_pci_get_slot_id()
49 bdfn = ((bdfn & 0x00ffff00) >> 8); in pnv_pci_get_slot_id()
72 *id = PCI_SLOT_ID(phbid, bdfn); in pnv_pci_get_slot_id()
589 u32 bdfn = (pdn->busno << 8) | pdn->devfn; in pnv_pci_cfg_read() local
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()
625 u32 bdfn = (pdn->busno << 8) | pdn->devfn; in pnv_pci_cfg_write() local
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()