/titanic_41/usr/src/uts/common/io/scsi/adapters/smrt/ |
H A D | smrt_device.c | 26 smrt_locate_bar(pci_regspec_t *regs, unsigned nregs, in smrt_locate_bar() argument 32 for (unsigned i = 0; i < nregs; i++) { in smrt_locate_bar() 45 smrt_locate_cfgtbl(smrt_t *smrt, pci_regspec_t *regs, unsigned nregs, in smrt_locate_cfgtbl() argument 74 for (unsigned i = 0; i < nregs; i++) { in smrt_locate_cfgtbl() 116 uint_t regslen, nregs; in smrt_map_device() local 128 nregs = regslen * sizeof (int) / sizeof (pci_regspec_t); in smrt_map_device() 130 if (smrt_locate_bar(regs, nregs, &smrt->smrt_i2o_bar) != in smrt_map_device() 148 if (smrt_locate_cfgtbl(smrt, regs, nregs, &smrt->smrt_ct_bar, in smrt_map_device()
|
/titanic_41/usr/src/lib/libdtrace/common/ |
H A D | dt_regset.c | 42 dt_regset_create(ulong_t nregs) in dt_regset_create() argument 44 ulong_t n = BT_BITOUL(nregs); in dt_regset_create() 51 drp->dr_size = nregs; in dt_regset_create()
|
/titanic_41/usr/src/uts/common/io/drm/ |
H A D | drm_pci.c | 61 uint_t nregs = 0; in pci_get_info() local 64 DDI_PROP_DONTPASS, "reg", (int **)®s_list, &nregs) in pci_get_info() 73 if (nregs > 0) { in pci_get_info() 78 if (nregs > 0) { in pci_get_info()
|
/titanic_41/usr/src/uts/sun4u/lw2plus/io/ |
H A D | lombus.c | 323 int nregs; member 1561 int nregs; in lombus_online() local 1564 if (ddi_dev_nregs(ssp->dip, &nregs) != DDI_SUCCESS) in lombus_online() 1565 nregs = 0; in lombus_online() 1567 switch (nregs) { in lombus_online() 1854 if (mp->map_obj.rnumber >= lcip->nregs) in lombus_map() 1880 uint_t nregs; in lombus_ctlops() local 1910 DDI_PROP_DONTPASS, "reg", ®s, &nregs); in lombus_ctlops() 1912 "prop status %d size %d", err, nregs); in lombus_ctlops() 1916 err = (nregs <= 0 || (nregs % LOMBUS_REGSPEC_SIZE) != 0); in lombus_ctlops() [all …]
|
/titanic_41/usr/src/uts/common/io/ |
H A D | bscbus.c | 352 int nregs; member 1670 int nregs; in bscbus_online() local 1677 if (ddi_dev_nregs(ssp->dip, &nregs) != DDI_SUCCESS) in bscbus_online() 1678 nregs = 0; in bscbus_online() 1680 switch (nregs) { in bscbus_online() 2159 if (mp->map_obj.rnumber >= lcip->nregs) in bscbus_map() 2186 uint_t nregs; in bscbus_ctlops() local 2216 DDI_PROP_DONTPASS, "reg", ®s, &nregs); in bscbus_ctlops() 2220 err = (nregs <= 0 || (nregs % LOMBUS_REGSPEC_SIZE) != 0); in bscbus_ctlops() 2221 nregs /= LOMBUS_REGSPEC_SIZE; in bscbus_ctlops() [all …]
|
H A D | pci_intr_lib.c | 785 uint_t rnumber, breg, nregs; in pci_msix_init() local 829 DDI_PROP_DONTPASS, "reg", (int **)®s_list, &nregs)) in pci_msix_init() 839 for (i = 1, rnumber = 0; i < nregs/reg_size; i++) { in pci_msix_init() 888 for (i = 1, rnumber = 0; i < nregs/reg_size; i++) { in pci_msix_init()
|
/titanic_41/usr/src/uts/sparc/io/pciex/ |
H A D | pcieb_sparc.c | 481 int nregs; in pcieb_print_plx_seeprom_crc_data() local 493 if (ddi_dev_nregs(dip, &nregs) != DDI_SUCCESS) in pcieb_print_plx_seeprom_crc_data() 495 if (nregs < 2) /* check for CONF entry only, no BARs */ in pcieb_print_plx_seeprom_crc_data()
|
/titanic_41/usr/src/uts/sun4u/io/ |
H A D | rmc_comm.c | 553 int nregs; in rmc_comm_online() local 556 if (ddi_dev_nregs(dip, &nregs) != DDI_SUCCESS) in rmc_comm_online() 557 nregs = 0; in rmc_comm_online() 558 switch (nregs) { in rmc_comm_online()
|
H A D | mc-us3i.c | 120 static int nregs; variable 815 nregs = len/sizeof (*mregi); in mc_get_memory_reg_info() 818 "reg_info %p\n", nregs, (void *) reg_info)); in mc_get_memory_reg_info() 823 for (i = 0; i < nregs; i++) { in mc_get_memory_reg_info() 1182 for (i = 0; i < nregs; i++) { in get_devgrp_size()
|
/titanic_41/usr/src/uts/common/io/audio/drv/audio810/ |
H A D | audio810.c | 1247 uint_t nregs = 0; in audio810_map_regs() local 1257 "reg", (int **)®s_list, &nregs) != DDI_PROP_SUCCESS) { in audio810_map_regs() 1297 for (i = 1; i < nregs/I810_INTS_PER_REG_PROP; i++) { in audio810_map_regs() 1357 if (nregs > 0) { in audio810_map_regs()
|
/titanic_41/usr/src/uts/sun4u/grover/io/ |
H A D | grfans.c | 165 int nregs; in grfans_do_attach() local 194 ddi_dev_nregs(dip, &nregs)); in grfans_do_attach()
|
/titanic_41/usr/src/uts/intel/io/drm/ |
H A D | i915_drv.c | 795 int nregs; in i915_map_regs() local 798 if (ddi_dev_nregs(dip, &nregs)) { in i915_map_regs() 803 for (rnumber = 1; rnumber < nregs; rnumber++) { in i915_map_regs() 811 if (rnumber >= nregs) { in i915_map_regs()
|
/titanic_41/usr/src/uts/common/pcmcia/cis/ |
H A D | cis_handlers.c | 2043 cs->nregs = GET_BYTE(tp); 2044 cs->nfuncs = cs->nregs; 2046 if ((cs->nregs < MIN_LONGLINK_MFC_NREGS) || 2047 (cs->nregs > CIS_MAX_FUNCTIONS)) { 2056 for (fn = 0; fn < cs->nregs; fn++) {
|
/titanic_41/usr/src/uts/sun4u/io/i2c/nexus/ |
H A D | i2bsc.c | 680 int nregs; in i2bsc_setup_regs() local 686 if (ddi_dev_nregs(i2c->i2bsc_dip, &nregs) != DDI_SUCCESS) { in i2bsc_setup_regs() 690 if (nregs < 1) { in i2bsc_setup_regs()
|
H A D | pcf8584.c | 1046 int nregs; in pcf8584_setup_regs() local 1054 if (ddi_dev_nregs(dip, &nregs) != DDI_SUCCESS) { in pcf8584_setup_regs() 1081 if (nregs > 1) { in pcf8584_setup_regs()
|
/titanic_41/usr/src/uts/i86pc/os/ |
H A D | cmi.c | 933 cmi_hdl_msrinject(cmi_hdl_t hdl, cmi_mca_regs_t *regs, uint_t nregs, in cmi_hdl_msrinject() argument 943 rc = CMI_OPS(cmi)->cmi_msrinject(hdl, regs, nregs, force); in cmi_hdl_msrinject()
|
H A D | cmi_hw.c | 1780 cmi_hdl_msrinterpose(cmi_hdl_t ophdl, cmi_mca_regs_t *regs, uint_t nregs) in cmi_hdl_msrinterpose() argument 1790 for (i = 0; i < nregs; i++, regs++) in cmi_hdl_msrinterpose() 1799 cmi_hdl_msrforward(cmi_hdl_t ophdl, cmi_mca_regs_t *regs, uint_t nregs) in cmi_hdl_msrforward() argument 1805 for (i = 0; i < nregs; i++, regs++) in cmi_hdl_msrforward()
|
/titanic_41/usr/src/uts/common/io/cxgbe/common/ |
H A D | common.h | 314 unsigned int data_reg, u32 *vals, unsigned int nregs, 318 unsigned int nregs, unsigned int start_idx);
|
/titanic_41/usr/src/uts/sun4u/serengeti/io/ |
H A D | sbdp_mem.c | 893 int nbanks = 0, nregs = 0; in sbdp_prep_mc_idle_script() local 912 mc_idle_regs, &nregs) != 0 || in sbdp_prep_mc_idle_script() 914 mc_idle_regs, &nregs) != 0) { in sbdp_prep_mc_idle_script() 925 for (i = 0; i < nregs; i++) in sbdp_prep_mc_idle_script()
|
/titanic_41/usr/src/uts/common/io/tpm/ |
H A D | tpm.c | 1385 int idx, nregs; in tpm_attach() local 1454 ret = ddi_dev_nregs(tpm->dip, &nregs); in tpm_attach() 1465 for (idx = 0; idx < nregs; idx++) { in tpm_attach() 1475 if (idx == nregs) { in tpm_attach()
|
/titanic_41/usr/src/uts/i86pc/io/fipe/ |
H A D | fipe_pm.c | 537 int rc = 0, nregs; in fipe_ioat_alloc() local 576 if (ddi_dev_nregs(dip, &nregs) != DDI_SUCCESS || nregs < 2) { in fipe_ioat_alloc()
|
/titanic_41/usr/src/uts/common/dtrace/ |
H A D | dtrace.c | 8978 dtrace_difo_validate(dtrace_difo_t *dp, dtrace_vstate_t *vstate, uint_t nregs, in dtrace_difo_validate() argument 9019 if (r1 >= nregs) in dtrace_difo_validate() 9021 if (r2 >= nregs) in dtrace_difo_validate() 9023 if (rd >= nregs) in dtrace_difo_validate() 9031 if (r1 >= nregs) in dtrace_difo_validate() 9035 if (rd >= nregs) in dtrace_difo_validate() 9047 if (r1 >= nregs) in dtrace_difo_validate() 9051 if (rd >= nregs) in dtrace_difo_validate() 9066 if (r1 >= nregs) in dtrace_difo_validate() 9070 if (rd >= nregs) in dtrace_difo_validate() [all …]
|
/titanic_41/usr/src/uts/common/io/hme/ |
H A D | hme.c | 951 unsigned nregs; in hme_mapebusrom() local 967 "reg", ®s, &nregs)) != DDI_PROP_SUCCESS) { in hme_mapebusrom() 971 if (nregs < 1) { in hme_mapebusrom() 1003 unsigned nregs; in hmeget_promebus() local 1016 "reg", ®s, &nregs)) != DDI_PROP_SUCCESS) { in hmeget_promebus() 1020 if (nregs < 5) { in hmeget_promebus()
|
/titanic_41/usr/src/uts/common/pcmcia/sys/ |
H A D | cis_handlers.h | 952 uint32_t nregs; /* number of config register sets */ member
|
/titanic_41/usr/src/uts/i86pc/cpu/generic_cpu/ |
H A D | gcpu_mca.c | 1990 gcpu_msrinject(cmi_hdl_t hdl, cmi_mca_regs_t *regs, uint_t nregs, in gcpu_msrinject() argument 1995 for (i = 0; i < nregs; i++) { in gcpu_msrinject()
|