| /freebsd-12.1/sys/dev/sound/isa/ |
| H A D | ad1816.h | 44 #define ad1816_pioD(d) ((d)->io_base+4) /* PIO debug */ 45 #define ad1816_pios(d) ((d)->io_base+5) /* PIO status */ 46 #define ad1816_piod(d) ((d)->io_base+6) /* PIO data */
|
| H A D | sb8.c | 80 struct resource *io_base; /* I/O address for the board */ member 144 return port_rd(sb->io_base, reg); in sb_rd() 150 port_wr(sb->io_base, reg, val); in sb_wr() 257 rman_get_start(sb->io_base))); in sb_reset_dsp() 277 if (sb->io_base) { in sb_release_resources() 278 bus_release_resource(dev, SYS_RES_IOPORT, 0, sb->io_base); in sb_release_resources() 279 sb->io_base = NULL; in sb_release_resources() 294 if (!sb->io_base) in sb_alloc_resources() 295 sb->io_base = bus_alloc_resource_any(dev, SYS_RES_IOPORT, in sb_alloc_resources() 306 if (sb->io_base && sb->drq && sb->irq) { in sb_alloc_resources() [all …]
|
| H A D | ad1816.c | 54 struct resource *io_base; /* primary I/O address for the board */ member 121 return port_rd(ad1816->io_base, reg); in io_rd() 127 port_wr(ad1816->io_base, reg, data); in io_wr() 507 if (ad1816->io_base) { in ad1816_release_resources() 508 bus_release_resource(dev, SYS_RES_IOPORT, ad1816->io_rid, ad1816->io_base); in ad1816_release_resources() 509 ad1816->io_base = NULL; in ad1816_release_resources() 526 if (!ad1816->io_base) in ad1816_alloc_resources() 527 ad1816->io_base = bus_alloc_resource_any(dev, in ad1816_alloc_resources() 539 if (!ad1816->io_base || !ad1816->drq1 || !ad1816->irq) ok = 0; in ad1816_alloc_resources() 634 rman_get_start(ad1816->io_base), in ad1816_attach()
|
| H A D | sb.h | 54 #define OPL3_LEFT (io_base + 0x0) 55 #define OPL3_RIGHT (io_base + 0x2) 56 #define OPL3_BOTH (io_base + 0x8)
|
| H A D | ess.c | 98 struct resource *io_base; /* I/O address for the board */ member 175 return port_rd(sc->io_base, reg); in ess_rd() 181 port_wr(sc->io_base, reg, val); in ess_wr() 282 rman_get_start(sc->io_base))); in ess_reset_dsp() 308 if (sc->io_base) { in ess_release_resources() 309 bus_release_resource(dev, SYS_RES_IOPORT, 0, sc->io_base); in ess_release_resources() 310 sc->io_base = NULL; in ess_release_resources() 325 if (!sc->io_base) in ess_alloc_resources() 326 sc->io_base = bus_alloc_resource_any(dev, SYS_RES_IOPORT, in ess_alloc_resources() 341 if (sc->io_base && sc->drq1 && sc->irq) { in ess_alloc_resources() [all …]
|
| H A D | sb16.c | 86 struct resource *io_base; /* I/O address for the board */ member 159 return port_rd(sb->io_base, reg); in sb_rd() 165 port_wr(sb->io_base, reg, val); in sb_wr() 284 rman_get_start(sb->io_base))); in sb_reset_dsp() 454 if (sb->io_base) { in sb16_release_resources() 455 bus_release_resource(dev, SYS_RES_IOPORT, 0, sb->io_base); in sb16_release_resources() 456 sb->io_base = NULL; in sb16_release_resources() 471 if (!sb->io_base) in sb16_alloc_resources() 472 sb->io_base = bus_alloc_resource_any(dev, SYS_RES_IOPORT, in sb16_alloc_resources() 490 if (sb->io_base && sb->drq1 && sb->irq) { in sb16_alloc_resources() [all …]
|
| H A D | mss.c | 218 return port_rd(mss->io_base, reg); in io_rd() 225 port_wr(mss->io_base, reg, data); in io_wr() 294 if (mss->io_base) { in mss_release_resources() 296 mss->io_base); in mss_release_resources() 297 mss->io_base = NULL; in mss_release_resources() 322 if (!mss->io_base) in mss_alloc_resources() 1292 if (!mss->io_base) { in mss_probe() 1303 if (!mss->io_base) goto no; in mss_probe() 2073 if (!mss->io_base) in opti_init() 2081 if (!mss->io_base) in opti_init() [all …]
|
| H A D | mss.h | 114 #define io_Polled_IO(d) ((d)->io_base+3+4)
|
| /freebsd-12.1/sys/dev/e1000/ |
| H A D | e1000_osdep.h | 234 (hw)->io_base, reg); \ 237 (hw)->io_base + 4, value); } while (0)
|
| H A D | e1000_vf.h | 267 unsigned long io_base; member
|
| H A D | e1000_hw.h | 1002 unsigned long io_base; member
|
| H A D | if_em.c | 1949 adapter->hw.io_base = 0; in em_allocate_pci_resources()
|
| /freebsd-12.1/sys/arm/mv/ |
| H A D | mv_pci.c | 766 bus_addr_t io_base, mem_base; in mv_pcib_init_bridge() local 770 io_base = sc->sc_io_base; in mv_pcib_init_bridge() 771 io_limit = io_base + sc->sc_io_size - 1; in mv_pcib_init_bridge() 777 io_base >> 8, 1); in mv_pcib_init_bridge() 779 io_base >> 16, 2); in mv_pcib_init_bridge()
|
| /freebsd-12.1/sys/dev/dpt/ |
| H A D | dpt.h | 1173 u_int16_t io_base; member
|