Lines Matching refs:bdfn
42 u32 bdfn; in pnv_pci_get_slot_id() local
46 ret = of_property_read_u32(np, "reg", &bdfn); in pnv_pci_get_slot_id()
50 bdfn = ((bdfn & 0x00ffff00) >> 8); in pnv_pci_get_slot_id()
73 *id = PCI_SLOT_ID(phbid, bdfn); in pnv_pci_get_slot_id()
657 u32 bdfn = (pdn->busno << 8) | pdn->devfn; in pnv_pci_cfg_read() local
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()
693 u32 bdfn = (pdn->busno << 8) | pdn->devfn; in pnv_pci_cfg_write() local
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()