Home
last modified time | relevance | path

Searched refs:phys_spec (Results 1 – 6 of 6) sorted by relevance

/titanic_53/usr/src/uts/sun4/io/efcode/
H A Dfcpci.c1268 pci_alloc_resource(dev_info_t *dip, pci_regspec_t phys_spec) in pci_alloc_resource() argument
1281 l = phys_spec.pci_size_low; in pci_alloc_resource()
1294 if (assigned[i].pci_phys_hi == phys_spec.pci_phys_hi) { in pci_alloc_resource()
1296 phys_spec.pci_size_low) { in pci_alloc_resource()
1315 PCI_REG_BDFR_G(phys_spec.pci_phys_hi)) { in pci_alloc_resource()
1320 PCI_REG_ADDR_G(phys_spec.pci_phys_hi)) { in pci_alloc_resource()
1325 phys_spec.pci_phys_hi); in pci_alloc_resource()
1332 phys_spec.pci_size_low); in pci_alloc_resource()
1334 phys_spec.pci_size_low = l; in pci_alloc_resource()
1348 config.pci_phys_hi = PCI_CONF_ADDR_MASK & phys_spec.pci_phys_hi; in pci_alloc_resource()
[all …]
/titanic_53/usr/src/uts/sun4/io/
H A Dpcicfg.c6011 pci_regspec_t phys_spec; in pcicfg_fcode_assign_bars() local
6055 phys_spec.pci_phys_hi = hiword; in pcicfg_fcode_assign_bars()
6056 phys_spec.pci_phys_mid = 0; in pcicfg_fcode_assign_bars()
6057 phys_spec.pci_phys_low = 0; in pcicfg_fcode_assign_bars()
6058 phys_spec.pci_size_hi = 0; in pcicfg_fcode_assign_bars()
6059 phys_spec.pci_size_low = size; in pcicfg_fcode_assign_bars()
6067 if (pcicfg_alloc_resource(dip, phys_spec)) { in pcicfg_fcode_assign_bars()
6125 phys_spec.pci_phys_hi = PCICFG_MAKE_REG_HIGH(bus, device, func, \ in pcicfg_fcode_assign_bars()
6128 phys_spec.pci_phys_hi |= PCI_REG_PF_M; in pcicfg_fcode_assign_bars()
6129 phys_spec.pci_phys_mid = 0; in pcicfg_fcode_assign_bars()
[all …]
/titanic_53/usr/src/uts/sun4u/starcat/io/
H A Daxq.c1551 struct regspec phys_spec; in starcat_axq_pio_workaround() local
1629 phys_spec.regspec_bustype = gptwo_spec->gptwo_phys_hi; in starcat_axq_pio_workaround()
1630 phys_spec.regspec_addr = gptwo_spec->gptwo_phys_low; in starcat_axq_pio_workaround()
1631 phys_spec.regspec_size = gptwo_spec->gptwo_size_low; in starcat_axq_pio_workaround()
1637 if (axq_map_phys(axq_dip, &phys_spec, (caddr_t *)&base_addr, in starcat_axq_pio_workaround()
1672 axq_map_phys(dev_info_t *dip, struct regspec *phys_spec, in axq_map_phys() argument
1690 *ph = *phys_spec; in axq_map_phys()
1695 mr.map_obj.rp = phys_spec; in axq_map_phys()
H A Dfcgp2.c931 gp2_map_phys(dev_info_t *dip, struct regspec *phys_spec, in gp2_map_phys() argument
949 *ph = *phys_spec; in gp2_map_phys()
954 mr.map_obj.rp = (struct regspec *)phys_spec; in gp2_map_phys()
/titanic_53/usr/src/uts/common/io/pciex/
H A Dpcie.c146 static int pcie_map_phys(dev_info_t *dip, pci_regspec_t *phys_spec,
2033 pcie_map_phys(dev_info_t *dip, pci_regspec_t *phys_spec, in pcie_map_phys() argument
2057 mr.map_obj.rp = (struct regspec *)phys_spec; in pcie_map_phys()
/titanic_53/usr/src/uts/sun4u/io/
H A Dopl_cfg.c1899 opl_map_phys(dev_info_t *dip, struct regspec *phys_spec, in opl_map_phys() argument
1917 *rspecp = *phys_spec; in opl_map_phys()
1925 mapreq.map_obj.rp = (struct regspec *)phys_spec; in opl_map_phys()