Searched defs:rnumber (Results 1 - 25 of 35) sorted by relevance

12

/illumos-gate/usr/src/uts/i86pc/io/gfx_private/
H A Dgfxp_segmap.c62 ddi_device_acc_attr_t *accattrp, uint_t rnumber)
84 if (ddi_device_mapping_check(dev, accattrp, rnumber, &hat_attr) == -1)
60 gfxp_ddi_segmap_setup(dev_t dev, off_t offset, struct as *as, caddr_t *addrp, off_t len, uint_t prot, uint_t maxprot, uint_t flags, cred_t *cred, ddi_device_acc_attr_t *accattrp, uint_t rnumber) argument
/illumos-gate/usr/src/uts/common/sys/
H A Dddimapreq.h41 * Mapping requests are for an rnumber or for a regspec.
51 int rnumber; member in union:__anon7118
H A Dbofi_impl.h89 int rnumber; member in struct:bofi_shadow
H A Dbofi.h113 int rnumber; /* as used by ddi_regs_map_setup() */ member in struct:bofi_errdef
136 int rnumber; /* as used by ddi_regs_map_setup() */ member in struct:bofi_errdef32
181 int rnumber; member in struct:handle_info
/illumos-gate/usr/src/uts/intel/os/
H A Dddi_arch.c61 * First, if given an rnumber, convert it to a regspec...
66 int rnumber = mp->map_obj.rnumber; local
69 "i_ddi_bus_map: Out of range rnumber <%d>, device <%s>";
72 rp = i_ddi_rnumber_to_regspec(rdip, rnumber);
75 cmn_err(CE_WARN, out_of_range, rnumber,
82 * Convert the given ddi_map_req_t from rnumber to regspec...
181 i_ddi_rnumber_to_regspec(dev_info_t *dip, int rnumber) argument
183 if (rnumber >= sparc_pd_getnreg(DEVI(dip)))
186 return (sparc_pd_getreg(DEVI(dip), rnumber));
[all...]
/illumos-gate/usr/src/uts/sparc/os/
H A Dddi_arch.c71 * First, if given an rnumber, convert it to a regspec...
76 int rnumber = mp->map_obj.rnumber; local
79 "i_ddi_bus_map: Out of range rnumber <%d>, device <%s>";
82 rp = i_ddi_rnumber_to_regspec(rdip, rnumber);
85 cmn_err(CE_WARN, out_of_range, rnumber,
92 * Convert the given ddi_map_req_t from rnumber to regspec...
165 i_ddi_rnumber_to_regspec(dev_info_t *dip, int rnumber) argument
167 if (rnumber >= sparc_pd_getnreg(DEVI(dip)))
170 return (sparc_pd_getreg(DEVI(dip), rnumber));
[all...]
/illumos-gate/usr/src/uts/sun4/io/px/
H A Dpx_util.c550 px_get_reg_set_size(dev_info_t *child, int rnumber) argument
556 if (rnumber < 0)
566 if (rnumber >= (i / (int)sizeof (pci_regspec_t)))
569 size = pci_rp[rnumber].pci_size_low |
570 ((uint64_t)pci_rp[rnumber].pci_size_hi << 32);
/illumos-gate/usr/src/uts/common/io/pci-ide/
H A Dpci-ide.c112 static int pciide_pre26_rnumber_map(dev_info_t *mydip, int rnumber);
295 int rnumber; local
329 switch (rnumber = *(int *)arg) {
332 rnumber += (2 * controller);
335 rnumber = 4;
338 PDBG(("pciide_ctlops invalid rnumber\n"));
347 old_rnumber = rnumber;
350 PDBG(("pciide rnumber old %d new %d\n",
352 rnumber = new_rnumber;
358 rnumber
545 int rnumber = mp->map_obj.rnumber; local
927 pciide_pre26_rnumber_map(dev_info_t *mydip, int rnumber) argument
995 pciide_map_rnumber(int rnumber, int pri_native, int sec_native) argument
[all...]
/illumos-gate/usr/src/uts/common/io/
H A Dpci_intr_lib.c785 uint_t rnumber, breg, nregs; local
839 for (i = 1, rnumber = 0; i < nregs/reg_size; i++) {
846 rnumber = i;
851 DDI_INTR_NEXDBG((CE_CONT, "pci_msix_init: MSI-X rnum = %d\n", rnumber));
853 if (rnumber == 0) {
860 if ((ret = ddi_regs_map_setup(rdip, rnumber,
888 for (i = 1, rnumber = 0; i < nregs/reg_size; i++) {
895 rnumber = i;
900 DDI_INTR_NEXDBG((CE_CONT, "pci_msix_init: PBA rnum = %d\n", rnumber));
902 if (rnumber
[all...]
H A Di8042.c836 int rnumber; local
848 rnumber = mp->map_obj.rnumber;
866 if (rnumber < 0 || rnumber >= iprop_len) {
873 which_port = iprop[rnumber];
/illumos-gate/usr/src/uts/sun4u/io/
H A Disadma.c628 int32_t rnumber = mp->map_obj.rnumber; local
641 child_regp = regp + rnumber;
H A Dpmubus.c631 pmubus_mask(pmubus_obpregspec_t *regs, int32_t rnumber, argument
637 for (i = 0; i <= rnumber; i++)
666 int32_t rnumber = mp->map_obj.rnumber; local
688 rnumber = mp->map_obj.rnumber;
689 DPRINTF(PMUBUS_MAP_DEBUG, ("rdip=%s%d: rnumber=%x "
691 rnumber, (void *)mp->map_handlep));
703 if (rnumber < 0 || rnumber >
[all...]
H A Dsbbc.c519 int rnumber, i, n; local
554 rnumber = mp->map_obj.rnumber;
566 if (rnumber < 0 || rnumber >= n) {
570 child_rp = &child_regs[rnumber];
H A Dupa64s.c189 static int get_reg_set(dev_info_t *dip, dev_info_t *child, int rnumber,
191 static off_t get_reg_set_size(dev_info_t *child, int rnumber);
485 * if map request is for an rnumber
497 int rnumber, rval; local
535 DBG4(D_MAP, dip, "rdip=%s%d: rnumber=%x handlep=%x\n",
537 mp->map_obj.rnumber, mp->map_handlep);
538 rnumber = mp->map_obj.rnumber;
539 if (rnumber < 0)
541 rval = get_reg_set(dip, rdip, rnumber, of
924 get_reg_set(dev_info_t *dip, dev_info_t *child, int rnumber, off_t off, off_t len, struct regspec *rp) argument
1105 get_reg_set_size(dev_info_t *child, int rnumber) argument
[all...]
/illumos-gate/usr/src/uts/sun4u/opl/io/pcicmu/
H A Dpcmu_util.c428 pcmu_get_reg_set_size(dev_info_t *child, int rnumber) argument
434 if (rnumber < 0) {
446 if (rnumber >= (i / (int)sizeof (pci_regspec_t))) {
451 size = pcmu_rp[rnumber].pci_size_low |
452 ((uint64_t)pcmu_rp[rnumber].pci_size_hi << 32);
/illumos-gate/usr/src/uts/intel/io/drm/
H A Di915_drv.c798 int rnumber; local
807 for (rnumber = 1; rnumber < nregs; rnumber++) {
808 (void) ddi_dev_regsize(dip, rnumber, &size);
815 if (rnumber >= nregs) {
821 if (ddi_regs_map_setup(dip, rnumber, save_addr,
824 "i915_map_regs: failed to map bar %d", rnumber);
/illumos-gate/usr/src/uts/i86pc/io/pci/
H A Dpci.c341 int rnumber; local
370 rnumber = mp->map_obj.rnumber;
389 if (rnumber >= length) {
397 pci_reg = pci_rp[rnumber];
/illumos-gate/usr/src/uts/i86pc/io/pciex/
H A Dnpe.c416 int rnumber; local
444 rnumber = mp->map_obj.rnumber;
463 if (rnumber >= length) {
471 pci_reg = pci_rp[rnumber];
/illumos-gate/usr/src/uts/common/io/ib/adapters/hermon/
H A Dhermon_fm.c745 * hermon_regs_map_setup(hermon_state_t *state, uint_t rnumber, caddr_t *addrp,
759 * rnumber: index number to the register address space set
777 hermon_regs_map_setup(hermon_state_t *state, uint_t rnumber, caddr_t *addrp, argument
782 return (ddi_regs_map_setup(state->hs_dip, rnumber, addrp,
786 rnumber, addrp, offset, len, accattrp, handle));
1973 * uint_t rnumber, caddr_t *addrp, offset_t offset, offset_t len,
1983 * rnumber: index number to the register address space set
2001 i_hca_regs_map_setup(struct i_hca_fm *hca_fm, dev_info_t *dip, uint_t rnumber, argument
2009 if ((status = ddi_regs_map_setup(dip, rnumber, addrp, offset,
/illumos-gate/usr/src/uts/sun4/io/
H A Debus.c452 * if map request is for an rnumber
466 int rnumber, i, n; local
494 rnumber = mp->map_obj.rnumber;
495 DBG4(D_MAP, ebus_p, "rdip=%s%d: rnumber=%x handlep=%p\n",
497 rnumber, mp->map_handlep);
506 if (rnumber < 0 || rnumber >= n) {
507 DBG(D_MAP, ebus_p, "rnumber out of range\n");
510 ebus_rp = &ebus_regs[rnumber];
[all...]
H A Drootnex.c512 * First, if given an rnumber, convert it to a regspec...
518 int rnumber = mp->map_obj.rnumber; local
520 rp = i_ddi_rnumber_to_regspec(rdip, rnumber);
523 "range rnumber <%d>, device <%s>", rnumber,
529 * Convert the given ddi_map_req_t from rnumber to regspec...
/illumos-gate/usr/src/uts/sun4u/io/pci/
H A Dpci.c65 static off_t get_reg_set_size(dev_info_t *child, int rnumber);
474 * if map request is for an rnumber
502 r_no = mp->map_obj.rnumber;
1160 get_reg_set_size(dev_info_t *child, int rnumber) argument
1166 if (rnumber < 0)
1176 if (rnumber >= (i / (int)sizeof (pci_regspec_t))) {
1181 size = pci_rp[rnumber].pci_size_low |
1182 ((uint64_t)pci_rp[rnumber].pci_size_hi << 32);
/illumos-gate/usr/src/uts/sun4u/montecarlo/io/
H A Dacebus.c367 * if map request is for an rnumber
381 int rnumber, i, n; local
409 rnumber = mp->map_obj.rnumber;
410 DBG4(D_MAP, ebus_p, "rdip=%s%d: rnumber=%x handlep=%x\n",
412 rnumber, mp->map_handlep);
420 if (rnumber < 0 || rnumber >= n) {
421 DBG(D_MAP, ebus_p, "rnumber out of range\n");
424 ebus_rp = &ebus_regs[rnumber];
[all...]
/illumos-gate/usr/src/uts/i86pc/io/
H A Disa.c512 * First, if given an rnumber, convert it to a regspec...
516 int rnumber = mp->map_obj.rnumber; local
518 rp = i_ddi_rnumber_to_regspec(rdip, rnumber);
523 * Convert the given ddi_map_req_t from rnumber to regspec...
/illumos-gate/usr/src/cmd/th_tools/
H A Dth_define.c191 * (or DMA handle) specified by rnumber, that lie within the range offset to
213 * additional acc_types, rnumber, offset and length. Logging will continue for
291 else if (e1->rnumber < e2->rnumber)
293 else if (e1->rnumber > e2->rnumber)
497 edp->rnumber,
1105 "Register set:", edp->rnumber);
1109 (void) fprintf(fp, "# %-24s%d\n", "DMA handle:", edp->rnumber);
1114 "Unknown Handle Type:", edp->rnumber);
1424 match_hinfo(struct handle_info *hp, int instance, uint_t access_type, int rnumber, offset_t offset, offset_t len) argument
[all...]

Completed in 5866 milliseconds

12