Lines Matching refs:fn
99 int fn = PCI_FUNC(devfn); in pci_conf0_read_config() local
104 addr = &bridge->b_type0_cfg_dev[slot].f[fn].c[PCI_VENDOR_ID]; in pci_conf0_read_config()
113 addr = &bridge->b_type0_cfg_dev[slot].f[fn].l[where >> 2]; in pci_conf0_read_config()
117 addr = &bridge->b_type0_cfg_dev[slot].f[fn].c[where ^ (4 - size)]; in pci_conf0_read_config()
136 int fn = PCI_FUNC(devfn); in pci_conf1_read_config() local
142 addr = &bridge->b_type1_cfg.c[(fn << 8) | PCI_VENDOR_ID]; in pci_conf1_read_config()
151 addr = &bridge->b_type1_cfg.c[(fn << 8) | (where & ~3)]; in pci_conf1_read_config()
155 addr = &bridge->b_type1_cfg.c[(fn << 8) | (where ^ (4 - size))]; in pci_conf1_read_config()
182 int fn = PCI_FUNC(devfn); in pci_conf0_write_config() local
187 addr = &bridge->b_type0_cfg_dev[slot].f[fn].c[PCI_VENDOR_ID]; in pci_conf0_write_config()
196 addr = &bridge->b_type0_cfg_dev[slot].f[fn].l[where >> 2]; in pci_conf0_write_config()
200 addr = &bridge->b_type0_cfg_dev[slot].f[fn].c[where ^ (4 - size)]; in pci_conf0_write_config()
221 int fn = PCI_FUNC(devfn); in pci_conf1_write_config() local
228 addr = &bridge->b_type1_cfg.c[(fn << 8) | PCI_VENDOR_ID]; in pci_conf1_write_config()
237 addr = &bridge->b_type0_cfg_dev[slot].f[fn].l[where >> 2]; in pci_conf1_write_config()
241 addr = &bridge->b_type1_cfg.c[(fn << 8) | (where ^ (4 - size))]; in pci_conf1_write_config()
435 struct fwnode_handle *fn; in bridge_probe() local
442 fn = irq_domain_alloc_named_fwnode("BRIDGE"); in bridge_probe()
443 if (!fn) in bridge_probe()
445 domain = irq_domain_create_hierarchy(parent, 0, 8, fn, in bridge_probe()
448 irq_domain_free_fwnode(fn); in bridge_probe()
542 irq_domain_free_fwnode(fn); in bridge_probe()
550 struct fwnode_handle *fn = bc->domain->fwnode; in bridge_remove() local
553 irq_domain_free_fwnode(fn); in bridge_remove()