Home
last modified time | relevance | path

Searched refs:io_base (Results 1 – 15 of 15) sorted by relevance

/freebsd-13.1/sys/dev/sound/isa/
H A Dad1816.h44 #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 Dsb.h54 #define OPL3_LEFT (io_base + 0x0)
55 #define OPL3_RIGHT (io_base + 0x2)
56 #define OPL3_BOTH (io_base + 0x8)
H A Dsb8.c80 struct resource *io_base; /* I/O address for the board */ member
142 return port_rd(sb->io_base, reg); in sb_rd()
148 port_wr(sb->io_base, reg, val); in sb_wr()
255 rman_get_start(sb->io_base))); in sb_reset_dsp()
275 if (sb->io_base) { in sb_release_resources()
276 bus_release_resource(dev, SYS_RES_IOPORT, 0, sb->io_base); in sb_release_resources()
277 sb->io_base = NULL; in sb_release_resources()
292 if (!sb->io_base) in sb_alloc_resources()
293 sb->io_base = bus_alloc_resource_any(dev, SYS_RES_IOPORT, in sb_alloc_resources()
304 if (sb->io_base && sb->drq && sb->irq) { in sb_alloc_resources()
[all …]
H A Dad1816.c54 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 Dsb16.c86 struct resource *io_base; /* I/O address for the board */ member
156 return port_rd(sb->io_base, reg); in sb_rd()
162 port_wr(sb->io_base, reg, val); in sb_wr()
281 rman_get_start(sb->io_base))); in sb_reset_dsp()
451 if (sb->io_base) { in sb16_release_resources()
452 bus_release_resource(dev, SYS_RES_IOPORT, 0, sb->io_base); in sb16_release_resources()
453 sb->io_base = NULL; in sb16_release_resources()
468 if (!sb->io_base) in sb16_alloc_resources()
469 sb->io_base = bus_alloc_resource_any(dev, SYS_RES_IOPORT, in sb16_alloc_resources()
487 if (sb->io_base && sb->drq1 && sb->irq) { in sb16_alloc_resources()
[all …]
H A Dess.c98 struct resource *io_base; /* I/O address for the board */ member
173 return port_rd(sc->io_base, reg); in ess_rd()
179 port_wr(sc->io_base, reg, val); in ess_wr()
280 rman_get_start(sc->io_base))); in ess_reset_dsp()
306 if (sc->io_base) { in ess_release_resources()
307 bus_release_resource(dev, SYS_RES_IOPORT, 0, sc->io_base); in ess_release_resources()
308 sc->io_base = NULL; in ess_release_resources()
323 if (!sc->io_base) in ess_alloc_resources()
324 sc->io_base = bus_alloc_resource_any(dev, SYS_RES_IOPORT, in ess_alloc_resources()
339 if (sc->io_base && sc->drq1 && sc->irq) { in ess_alloc_resources()
[all …]
H A Dmss.c218 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()
1290 if (!mss->io_base) { in mss_probe()
1301 if (!mss->io_base) goto no; in mss_probe()
2069 if (!mss->io_base) in opti_init()
2077 if (!mss->io_base) in opti_init()
[all …]
H A Dmss.h114 #define io_Polled_IO(d) ((d)->io_base+3+4)
/freebsd-13.1/usr.sbin/fstyp/
H A Dhammer2.c73 hammer2_off_t io_off, io_base; in read_media() local
87 io_base = io_off & ~(hammer2_off_t)(HAMMER2_MINIOSIZE - 1); in read_media()
88 boff = io_off - io_base; in read_media()
99 if (fseek(fp, io_base, SEEK_SET) == -1) { in read_media()
103 media = read_buf(fp, io_base, io_bytes); in read_media()
/freebsd-13.1/sys/dev/e1000/
H A De1000_osdep.h232 (hw)->io_base, reg); \
235 (hw)->io_base + 4, value); } while (0)
H A De1000_vf.h267 unsigned long io_base; member
H A De1000_hw.h1026 unsigned long io_base; member
H A Dif_em.c1999 sc->hw.io_base = 0; in em_allocate_pci_resources()
/freebsd-13.1/sys/arm/mv/
H A Dmv_pci.c764 bus_addr_t io_base, mem_base; in mv_pcib_init_bridge() local
768 io_base = sc->sc_io_base; in mv_pcib_init_bridge()
769 io_limit = io_base + sc->sc_io_size - 1; in mv_pcib_init_bridge()
775 io_base >> 8, 1); in mv_pcib_init_bridge()
777 io_base >> 16, 2); in mv_pcib_init_bridge()
/freebsd-13.1/sys/dev/igc/
H A Digc_hw.h518 unsigned long io_base; member