Home
last modified time | relevance | path

Searched refs:sc_cfg_base (Results 1 – 14 of 14) sorted by relevance

/illumos-gate/usr/src/uts/common/io/rwd/
H A Drt2661_var.h103 caddr_t sc_cfg_base; member
H A Drt2661.c2857 err = ddi_regs_map_setup(devinfo, 0, &sc->sc_cfg_base, 0, 0, in rt2661_attach()
2866 (uint8_t *)(sc->sc_cfg_base + PCI_CONF_CACHE_LINESZ)); in rt2661_attach()
2873 (uint16_t *)((uintptr_t)(sc->sc_cfg_base) + PCI_CONF_VENID)); in rt2661_attach()
2875 (uint16_t *)((uintptr_t)(sc->sc_cfg_base) + PCI_CONF_DEVID)); in rt2661_attach()
2886 (uint16_t *)((uintptr_t)(sc->sc_cfg_base) + PCI_CONF_COMM), in rt2661_attach()
2889 (uint8_t *)(sc->sc_cfg_base + PCI_CONF_LATENCY_TIMER), 0xa8); in rt2661_attach()
2891 (uint8_t *)(sc->sc_cfg_base + PCI_CONF_ILINE), 0x10); in rt2661_attach()
/illumos-gate/usr/src/uts/common/io/iwk/
H A Diwk2_var.h167 caddr_t sc_cfg_base; member
H A Diwk2.c521 err = ddi_regs_map_setup(dip, 0, &sc->sc_cfg_base, 0, 0, in iwk_attach()
529 (uint8_t *)(sc->sc_cfg_base + PCI_CONF_REVID)); in iwk_attach()
530 ddi_put8(sc->sc_cfg_handle, (uint8_t *)(sc->sc_cfg_base + 0x41), 0); in iwk_attach()
532 (uint16_t *)(sc->sc_cfg_base + PCI_CONF_CACHE_LINESZ)); in iwk_attach()
4026 (uint32_t *)(sc->sc_cfg_base + 0xe8)); in iwk_preinit()
4028 (uint32_t *)(sc->sc_cfg_base + 0xe8), in iwk_preinit()
4034 (uint8_t *)(sc->sc_cfg_base + 0xf0)); in iwk_preinit()
4035 ddi_put8(sc->sc_cfg_handle, (uint8_t *)(sc->sc_cfg_base + 0xf0), in iwk_preinit()
/illumos-gate/usr/src/uts/common/io/rwn/
H A Drt2860_var.h131 caddr_t sc_cfg_base; member
H A Drt2860.c2857 err = ddi_regs_map_setup(devinfo, 0, &sc->sc_cfg_base, 0, 0, in rt2860_attach()
2866 (uint8_t *)(sc->sc_cfg_base + PCI_CONF_CACHE_LINESZ)); in rt2860_attach()
2873 (uint16_t *)((uintptr_t)(sc->sc_cfg_base) + PCI_CONF_VENID)); in rt2860_attach()
2875 (uint16_t *)((uintptr_t)(sc->sc_cfg_base) + PCI_CONF_DEVID)); in rt2860_attach()
2886 (uint16_t *)((uintptr_t)(sc->sc_cfg_base) + PCI_CONF_COMM), in rt2860_attach()
2889 (uint8_t *)(sc->sc_cfg_base + PCI_CONF_LATENCY_TIMER), 0xa8); in rt2860_attach()
2891 (uint8_t *)(sc->sc_cfg_base + PCI_CONF_ILINE), 0x10); in rt2860_attach()
/illumos-gate/usr/src/uts/common/io/iwp/
H A Diwp_var.h190 caddr_t sc_cfg_base; member
H A Diwp.c524 err = ddi_regs_map_setup(dip, 0, &sc->sc_cfg_base, 0, 0, in iwp_attach()
533 (uint16_t *)(sc->sc_cfg_base + PCI_CONF_DEVID)); in iwp_attach()
548 (uint8_t *)(sc->sc_cfg_base + PCI_CONF_REVID)); in iwp_attach()
553 ddi_put8(sc->sc_cfg_handle, (uint8_t *)(sc->sc_cfg_base + in iwp_attach()
560 (uint16_t *)(sc->sc_cfg_base + PCI_CONF_CACHE_LINESZ)); in iwp_attach()
4374 (uint32_t *)(sc->sc_cfg_base + 0xe8)); in iwp_preinit()
4376 (uint32_t *)(sc->sc_cfg_base + 0xe8), in iwp_preinit()
4381 (uint8_t *)(sc->sc_cfg_base + 0xf0)); in iwp_preinit()
4382 ddi_put8(sc->sc_cfg_handle, (uint8_t *)(sc->sc_cfg_base + 0xf0), in iwp_preinit()
/illumos-gate/usr/src/uts/common/io/iwh/
H A Diwh_var.h172 caddr_t sc_cfg_base; member
H A Diwh.c560 err = ddi_regs_map_setup(dip, 0, &sc->sc_cfg_base, 0, 0, in iwh_attach()
569 (uint16_t *)(sc->sc_cfg_base + PCI_CONF_DEVID)); in iwh_attach()
587 (uint8_t *)(sc->sc_cfg_base + PCI_CONF_REVID)); in iwh_attach()
592 ddi_put8(sc->sc_cfg_handle, (uint8_t *)(sc->sc_cfg_base + in iwh_attach()
599 (uint16_t *)(sc->sc_cfg_base + PCI_CONF_CACHE_LINESZ)); in iwh_attach()
4645 (uint32_t *)(sc->sc_cfg_base + 0xe8)); in iwh_preinit()
4647 (uint32_t *)(sc->sc_cfg_base + 0xe8), in iwh_preinit()
4652 (uint8_t *)(sc->sc_cfg_base + 0xf0)); in iwh_preinit()
4653 ddi_put8(sc->sc_cfg_handle, (uint8_t *)(sc->sc_cfg_base + 0xf0), in iwh_preinit()
/illumos-gate/usr/src/uts/common/io/rtw/
H A Drtwvar.h420 caddr_t sc_cfg_base; member
H A Drtw.c3164 err = ddi_regs_map_setup(devinfo, 0, (caddr_t *)&rsc->sc_cfg_base, 0, 0, in rtw_attach()
3172 (uint8_t *)(rsc->sc_cfg_base + PCI_CONF_CACHE_LINESZ)); in rtw_attach()
3177 (uint16_t *)((uintptr_t)rsc->sc_cfg_base + PCI_CONF_VENID)); in rtw_attach()
3179 (uint16_t *)((uintptr_t)rsc->sc_cfg_base + PCI_CONF_DEVID)); in rtw_attach()
3189 (uint16_t *)((uintptr_t)rsc->sc_cfg_base + PCI_CONF_COMM), command); in rtw_attach()
3194 (uint8_t *)(rsc->sc_cfg_base + PCI_CONF_LATENCY_TIMER), 0xa8); in rtw_attach()
/illumos-gate/usr/src/uts/common/io/mwl/
H A Dmwl.c3858 err = ddi_regs_map_setup(devinfo, 0, (caddr_t *)&sc->sc_cfg_base, 0, 0, in mwl_attach()
3866 (uint8_t *)(sc->sc_cfg_base + PCI_CONF_CACHE_LINESZ)); in mwl_attach()
3872 (uint16_t *)(sc->sc_cfg_base + PCI_CONF_VENID)); in mwl_attach()
3874 (uint16_t *)(sc->sc_cfg_base + PCI_CONF_DEVID)); in mwl_attach()
3885 (uint16_t *)((uintptr_t)(sc->sc_cfg_base) + PCI_CONF_COMM), in mwl_attach()
3888 (uint8_t *)(sc->sc_cfg_base + PCI_CONF_LATENCY_TIMER), 0xa8); in mwl_attach()
3890 (uint8_t *)(sc->sc_cfg_base + PCI_CONF_ILINE), 0x10); in mwl_attach()
H A Dmwl_var.h498 caddr_t sc_cfg_base; member