Home
last modified time | relevance | path

Searched refs:pci_regspec_t (Results 1 – 25 of 77) sorted by relevance

1234

/titanic_41/usr/src/uts/sun4/io/px/
H A Dpx_util.c144 pci_regspec_t *rp) in px_reloc_reg()
147 pci_regspec_t *assign_p; in px_reloc_reg()
180 assign_entries = assign_len / sizeof (pci_regspec_t); in px_reloc_reg()
211 px_xlate_reg(px_t *px_p, pci_regspec_t *px_rp, struct regspec *new_rp) in px_xlate_reg()
296 pci_regspec_t pci_pcimem_reg[3] =
314 pci_regspec_t *pci_rp; in px_name_child()
346 if (((reglen * sizeof (int)) % sizeof (pci_regspec_t)) != 0) { in px_name_child()
407 pci_regspec_t *pci_rp; in px_init_child()
552 pci_regspec_t *pci_rp; in px_get_reg_set_size()
566 if (rnumber >= (i / (int)sizeof (pci_regspec_t))) in px_get_reg_set_size()
[all …]
H A Dpx_util.h49 pci_regspec_t *pci_rp);
50 extern int px_xlate_reg(px_t *px_p, pci_regspec_t *pci_rp,
H A Dpx_fm.h108 extern void px_fm_acc_setup(ddi_map_req_t *, dev_info_t *, pci_regspec_t *rp);
/titanic_41/usr/src/uts/sun4u/opl/io/pcicmu/
H A Dpcmu_util.c140 pci_regspec_t *rp) in pcmu_reloc_reg()
143 pci_regspec_t *assign_p; in pcmu_reloc_reg()
169 assign_entries = assign_len / sizeof (pci_regspec_t); in pcmu_reloc_reg()
188 pcmu_xlate_reg(pcmu_t *pcmu_p, pci_regspec_t *pcmu_rp, struct regspec *new_rp) in pcmu_xlate_reg()
279 pci_regspec_t *pcmu_rp; in name_child()
311 if (((reglen * sizeof (int)) % sizeof (pci_regspec_t)) != 0) { in name_child()
430 pci_regspec_t *pcmu_rp; in pcmu_get_reg_set_size()
446 if (rnumber >= (i / (int)sizeof (pci_regspec_t))) { in pcmu_get_reg_set_size()
471 pci_regspec_t *pcmu_rp; in pcmu_get_nreg_set()
481 n = i / (int)sizeof (pci_regspec_t); in pcmu_get_nreg_set()
/titanic_41/usr/src/uts/sun4/io/efcode/
H A Dfcpci.c72 int pfc_update_assigned_prop(dev_info_t *, pci_regspec_t *);
73 int pfc_remove_assigned_prop(dev_info_t *, pci_regspec_t *);
74 int pci_alloc_resource(dev_info_t *, pci_regspec_t);
75 int pci_free_resource(dev_info_t *, pci_regspec_t);
176 int pci_map_phys(dev_info_t *, pci_regspec_t *,
179 void pci_unmap_phys(ddi_acc_handle_t *, pci_regspec_t *);
244 kmem_free(ip->fc_regspec, sizeof (pci_regspec_t)); in pci_fc_ops_free_handle()
549 pci_regspec_t p, *ph; in pfc_map_in()
601 ph = kmem_zalloc(sizeof (pci_regspec_t), KM_SLEEP); in pfc_map_in()
643 kmem_free(ip->fc_regspec, sizeof (pci_regspec_t)); in pfc_map_out()
[all …]
/titanic_41/usr/src/uts/sun4u/io/pci/
H A Dpci_util.c157 pci_regspec_t *rp) in pci_reloc_reg()
160 pci_regspec_t *assign_p; in pci_reloc_reg()
181 assign_entries = assign_len / sizeof (pci_regspec_t); in pci_reloc_reg()
211 pci_xlate_reg(pci_t *pci_p, pci_regspec_t *pci_rp, struct regspec *new_rp) in pci_xlate_reg()
293 pci_regspec_t pci_pcimem_reg[3] =
311 pci_regspec_t *pci_rp; in name_child()
343 if (((reglen * sizeof (int)) % sizeof (pci_regspec_t)) != 0) { in name_child()
401 pci_regspec_t *pci_rp; in init_child()
654 pci_regspec_t *pci_rp; in get_nreg_set()
664 n = i / (int)sizeof (pci_regspec_t); in get_nreg_set()
H A Dpci.c488 pci_regspec_t reloc_reg, *rp = &reloc_reg; in pci_map()
498 reloc_reg = *(pci_regspec_t *)mp->map_obj.rp; /* dup whole */ in pci_map()
509 if (r_no < 0 || r_no >= reglen / sizeof (pci_regspec_t)) { in pci_map()
1162 pci_regspec_t *pci_rp; in get_reg_set_size()
1176 if (rnumber >= (i / (int)sizeof (pci_regspec_t))) { in get_reg_set_size()
H A Dsimba.c585 pci_regspec_t *drv_regp; in simba_ctlops()
629 totreg = reglen / sizeof (pci_regspec_t); in simba_ctlops()
651 pci_regspec_t *pci_rp; in simba_name_child()
716 pci_regspec_t *pci_rp; in simba_initchild()
/titanic_41/usr/src/uts/intel/io/pciex/
H A Dpcie_nvidia.c222 pci_regspec_t regs[2] = {{0}}; in add_nvidia_isa_bridge_props()
223 pci_regspec_t assigned[2] = {{0}}; in add_nvidia_isa_bridge_props()
249 (int *)regs, 2 * sizeof (pci_regspec_t) / sizeof (int)); in add_nvidia_isa_bridge_props()
252 (int *)assigned, 2 * sizeof (pci_regspec_t) / sizeof (int)); in add_nvidia_isa_bridge_props()
/titanic_41/usr/src/uts/common/io/scsi/adapters/smrt/
H A Dsmrt_device.c26 smrt_locate_bar(pci_regspec_t *regs, unsigned nregs, in smrt_locate_bar()
45 smrt_locate_cfgtbl(smrt_t *smrt, pci_regspec_t *regs, unsigned nregs, in smrt_locate_cfgtbl()
115 pci_regspec_t *regs; in smrt_map_device()
128 nregs = regslen * sizeof (int) / sizeof (pci_regspec_t); in smrt_map_device()
/titanic_41/usr/src/uts/common/io/
H A Dbusra.c937 pci_regspec_t *regs; in pci_resource_setup()
1036 rcount = rlen / sizeof (pci_regspec_t); in pci_resource_setup()
1212 pci_resource_setup_avail(dev_info_t *dip, pci_regspec_t *avail_p, int entries) in pci_resource_setup_avail()
1323 pci_regspec_t *regs, *newregs; in pci_get_available_prop()
1352 newregs = kmem_alloc(rlen + sizeof (pci_regspec_t), KM_SLEEP); in pci_get_available_prop()
1354 rcount = rlen / sizeof (pci_regspec_t); in pci_get_available_prop()
1438 kmem_free(newregs, rlen + sizeof (pci_regspec_t)); in pci_get_available_prop()
1458 (j * sizeof (pci_regspec_t)) / sizeof (int)); in pci_get_available_prop()
1461 kmem_free(newregs, rlen + sizeof (pci_regspec_t)); in pci_get_available_prop()
1474 pci_regspec_t *regs, *newregs; in pci_put_available_prop()
[all …]
/titanic_41/usr/src/uts/sun4/io/
H A Dpcicfg.c55 static int pcicfg_alloc_resource(dev_info_t *, pci_regspec_t);
56 static int pcicfg_free_resource(dev_info_t *, pci_regspec_t, pcicfg_flags_t);
57 static int pcicfg_remove_assigned_prop(dev_info_t *, pci_regspec_t *);
61 uint_t, uint_t, uint_t, int32_t, pci_regspec_t *);
299 static int pcicfg_update_assigned_prop(dev_info_t *, pci_regspec_t *);
311 static int pcicfg_map_phys(dev_info_t *, pci_regspec_t *, caddr_t *,
313 static void pcicfg_unmap_phys(ddi_acc_handle_t *, pci_regspec_t *);
326 static int pcicfg_update_available_prop(dev_info_t *, pci_regspec_t *);
1497 pci_regspec_t *assigned; in pcicfg_get_ntbridge_child_range()
1511 acount = length / sizeof (pci_regspec_t); in pcicfg_get_ntbridge_child_range()
[all …]
/titanic_41/usr/src/uts/sun4u/sys/pci/
H A Dpci_util.h49 pci_regspec_t *pci_rp);
50 extern int pci_xlate_reg(pci_t *pci_p, pci_regspec_t *pci_rp,
/titanic_41/usr/src/uts/sparc/io/pciex/
H A Dpcieb_sparc.c74 pci_regspec_t *pci_rp; in pcieb_plat_intr_ops()
339 pci_regspec_t *reg_spec, *addr_spec; in plx_ro_disable()
373 new_rsize = orig_rsize + sizeof (pci_regspec_t); in plx_ro_disable()
381 rlen = orig_rsize / sizeof (pci_regspec_t); in plx_ro_disable()
/titanic_41/usr/src/uts/sun4u/opl/sys/pcicmu/
H A Dpcmu_util.h46 pci_regspec_t *);
47 extern int pcmu_xlate_reg(pcmu_t *, pci_regspec_t *, struct regspec *);
/titanic_41/usr/src/uts/i86pc/io/pci/
H A Dpci.c340 pci_regspec_t pci_reg; in pci_bus_map()
341 pci_regspec_t *pci_rp; in pci_bus_map()
366 pci_reg = *(pci_regspec_t *)(mp->map_obj.rp); in pci_bus_map()
390 nelems /= (sizeof (pci_regspec_t) / sizeof (int)); in pci_bus_map()
538 pci_regspec_t *drv_regp; in pci_ctlops()
576 totreg = (reglen * sizeof (int)) / sizeof (pci_regspec_t); in pci_ctlops()
H A Dpci_common.h103 int pci_common_get_reg_prop(dev_info_t *dip, pci_regspec_t *pci_rp);
/titanic_41/usr/src/uts/common/io/cardbus/
H A Dcardbus_cfg.c198 static int cardbus_update_assigned_prop(dev_info_t *, pci_regspec_t *);
238 static void cardbus_dump_reg(dev_info_t *dip, const pci_regspec_t *regspec,
788 pci_regspec_t *reg; in cardbus_bridge_assign()
887 rcount = length / sizeof (pci_regspec_t); in cardbus_bridge_assign()
1002 pci_regspec_t *reg; in cardbus_isa_bridge_ranges()
1036 rcount = length / sizeof (pci_regspec_t); in cardbus_isa_bridge_ranges()
1838 pci_regspec_t *pci_rp; in cardbus_sum_resources()
2088 rcount = length / sizeof (pci_regspec_t); in cardbus_sum_resources()
2252 pci_regspec_t *assigned; in cardbus_free_device_resources()
2272 acount = length / sizeof (pci_regspec_t); in cardbus_free_device_resources()
[all …]
H A Dcardbus.c85 static void pcirp2rp(const pci_regspec_t *pci_rp, struct regspec *rp);
796 pci_regspec_t *cb_avail_p, *new_avail_p; in cardbus_convert_properties()
825 cb_avail_p = kmem_alloc(sizeof (pci_regspec_t) * avail_entries, in cardbus_convert_properties()
842 (sizeof (pci_regspec_t) * avail_entries)/sizeof (int)); in cardbus_convert_properties()
845 kmem_free(cb_avail_p, sizeof (pci_regspec_t) * avail_entries); in cardbus_convert_properties()
920 pci_regspec_t *regs; in cardbus_ctlops()
992 pci_regspec_t *pci_rp; in cardbus_ctlops()
1076 totreg = reglen / sizeof (pci_regspec_t); in cardbus_ctlops()
1303 pci_regspec_t *pci_rp; in cardbus_name_child()
1890 pcirp2rp(const pci_regspec_t *pci_rp, struct regspec *rp) in pcirp2rp()
/titanic_41/usr/src/uts/i86pc/io/pciex/
H A Dnpe.c422 pci_regspec_t pci_reg; in npe_bus_map()
423 pci_regspec_t *pci_rp; in npe_bus_map()
439 pci_reg = *(pci_regspec_t *)(mp->map_obj.rp); in npe_bus_map()
463 nelem /= (sizeof (pci_regspec_t) / sizeof (int)); in npe_bus_map()
708 pci_regspec_t *drv_regp; in npe_ctlops()
744 totreg = (reglen * sizeof (int)) / sizeof (pci_regspec_t); in npe_ctlops()
/titanic_41/usr/src/uts/intel/io/hotplug/pcicfg/
H A Dpcicfg.c236 static int pcicfg_update_assigned_prop(dev_info_t *, pci_regspec_t *);
1398 pci_regspec_t *assigned; in pcicfg_get_ntbridge_child_range()
1412 acount = length / sizeof (pci_regspec_t); in pcicfg_get_ntbridge_child_range()
1718 pci_regspec_t *reg; in pcicfg_bridge_assign()
1875 rcount = length / sizeof (pci_regspec_t); in pcicfg_bridge_assign()
1974 pci_regspec_t *reg; in pcicfg_device_assign()
2032 rcount = length / sizeof (pci_regspec_t); in pcicfg_device_assign()
2169 pci_regspec_t *assigned; in pcicfg_device_assign_readonly()
2218 acount = length / sizeof (pci_regspec_t); in pcicfg_device_assign_readonly()
2439 pci_regspec_t *pci_rp; in pcicfg_sum_resources()
[all …]
/titanic_41/usr/src/uts/sun4u/sys/
H A Dpmubus.h66 pci_regspec_t *pmubus_regp;
/titanic_41/usr/src/uts/i86pc/io/gfx_private/
H A Dgfxp_pci.c88 pci_regspec_t *pci_rp; in gfxp_pci_get_bsf()
97 (sizeof (pci_regspec_t) / sizeof (int)))) { in gfxp_pci_get_bsf()
/titanic_41/usr/src/uts/sun4u/montecarlo/io/
H A Dacebus.c84 ebus_regspec_t *ebus_rp, pci_regspec_t *rp);
379 pci_regspec_t pci_reg; in acebus_map()
487 ebus_regspec_t *ebus_rp, pci_regspec_t *rp) in acebus_apply_range()
928 pci_regspec_t *pci_rp, *prp; in acebus_update_props()
970 rnums = (length * sizeof (int))/sizeof (pci_regspec_t); in acebus_update_props()
/titanic_41/usr/src/uts/common/io/pciex/
H A Dpcie.c146 static int pcie_map_phys(dev_info_t *dip, pci_regspec_t *phys_spec,
148 static void pcie_unmap_phys(ddi_acc_handle_t *handlep, pci_regspec_t *ph);
1172 bus_p->bus_assigned_entries /= sizeof (pci_regspec_t); in pcie_init_bus()
1208 (sizeof (pci_regspec_t) * bus_p->bus_assigned_entries)); in pcie_fini_bus()
1603 pci_regspec_t *regspec; in pcie_get_bdf_from_dip()
1610 if (reglen < (sizeof (pci_regspec_t) / sizeof (int))) { in pcie_get_bdf_from_dip()
1895 pci_regspec_t *reg; in pcie_get_max_supported()
2033 pcie_map_phys(dev_info_t *dip, pci_regspec_t *phys_spec, in pcie_map_phys()
2079 pcie_unmap_phys(ddi_acc_handle_t *handlep, pci_regspec_t *ph) in pcie_unmap_phys()

1234