Searched refs:io_base (Results 1 - 14 of 14) sorted by relevance

/freebsd-13-stable/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 in struct:sb_info
142 return port_rd(sb->io_base, reg);
148 port_wr(sb->io_base, reg, val);
255 rman_get_start(sb->io_base)));
275 if (sb->io_base) {
276 bus_release_resource(dev, SYS_RES_IOPORT, 0, sb->io_base);
277 sb->io_base = NULL;
292 if (!sb->io_base)
293 sb->io_base = bus_alloc_resource_any(dev, SYS_RES_IOPORT,
304 if (sb->io_base
[all...]
H A Dad1816.c54 struct resource *io_base; /* primary I/O address for the board */ member in struct:ad1816_info
121 return port_rd(ad1816->io_base, reg);
127 port_wr(ad1816->io_base, reg, data);
507 if (ad1816->io_base) {
508 bus_release_resource(dev, SYS_RES_IOPORT, ad1816->io_rid, ad1816->io_base);
509 ad1816->io_base = NULL;
526 if (!ad1816->io_base)
527 ad1816->io_base = bus_alloc_resource_any(dev,
539 if (!ad1816->io_base || !ad1816->drq1 || !ad1816->irq) ok = 0;
634 rman_get_start(ad1816->io_base),
[all...]
H A Dess.c98 struct resource *io_base; /* I/O address for the board */ member in struct:ess_info
173 return port_rd(sc->io_base, reg);
179 port_wr(sc->io_base, reg, val);
280 rman_get_start(sc->io_base)));
306 if (sc->io_base) {
307 bus_release_resource(dev, SYS_RES_IOPORT, 0, sc->io_base);
308 sc->io_base = NULL;
323 if (!sc->io_base)
324 sc->io_base = bus_alloc_resource_any(dev, SYS_RES_IOPORT,
339 if (sc->io_base
[all...]
H A Dsb16.c86 struct resource *io_base; /* I/O address for the board */ member in struct:sb_info
156 return port_rd(sb->io_base, reg);
162 port_wr(sb->io_base, reg, val);
281 rman_get_start(sb->io_base)));
451 if (sb->io_base) {
452 bus_release_resource(dev, SYS_RES_IOPORT, 0, sb->io_base);
453 sb->io_base = NULL;
468 if (!sb->io_base)
469 sb->io_base = bus_alloc_resource_any(dev, SYS_RES_IOPORT,
487 if (sb->io_base
[all...]
H A Dmss.c64 struct resource *io_base; /* primary I/O address for the board */ member in struct:mss_info
218 return port_rd(mss->io_base, reg);
225 port_wr(mss->io_base, reg, data);
294 if (mss->io_base) {
296 mss->io_base);
297 mss->io_base = NULL;
322 if (!mss->io_base)
323 mss->io_base = bus_alloc_resource_any(dev, SYS_RES_IOPORT,
341 if (!mss->io_base || !mss->drq1 || !mss->irq) ok = 0;
1288 mss->io_base
[all...]
H A Dmss.h114 #define io_Polled_IO(d) ((d)->io_base+3+4)
/freebsd-13-stable/usr.sbin/fstyp/
H A Dhammer2.c73 hammer2_off_t io_off, io_base; local
87 io_base = io_off & ~(hammer2_off_t)(HAMMER2_MINIOSIZE - 1);
88 boff = io_off - io_base;
99 if (fseek(fp, io_base, SEEK_SET) == -1) {
103 media = read_buf(fp, io_base, io_bytes);
/freebsd-13-stable/sys/dev/e1000/
H A De1000_osdep.h234 (hw)->io_base, reg); \
237 (hw)->io_base + 4, value); } while (0)
H A De1000_vf.h267 unsigned long io_base; member in struct:e1000_hw
H A De1000_hw.h1025 unsigned long io_base; member in struct:e1000_hw
H A Dif_em.c2003 adapter->hw.io_base = 0;
/freebsd-13-stable/sys/arm/mv/
H A Dmv_pci.c764 bus_addr_t io_base, mem_base; local
768 io_base = sc->sc_io_base;
769 io_limit = io_base + sc->sc_io_size - 1;
775 io_base >> 8, 1);
777 io_base >> 16, 2);

Completed in 270 milliseconds