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

/freebsd-11-stable/sys/dev/sound/isa/
H A Dad1816.h42 #define ad1816_pioD(d) ((d)->io_base+4) /* PIO debug */
43 #define ad1816_pios(d) ((d)->io_base+5) /* PIO status */
44 #define ad1816_piod(d) ((d)->io_base+6) /* PIO data */
H A Dsb.h52 #define OPL3_LEFT (io_base + 0x0)
53 #define OPL3_RIGHT (io_base + 0x2)
54 #define OPL3_BOTH (io_base + 0x8)
H A Dsb8.c78 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.c52 struct resource *io_base; /* primary I/O address for the board */ member in struct:ad1816_info
119 return port_rd(ad1816->io_base, reg);
125 port_wr(ad1816->io_base, reg, data);
505 if (ad1816->io_base) {
506 bus_release_resource(dev, SYS_RES_IOPORT, ad1816->io_rid, ad1816->io_base);
507 ad1816->io_base = NULL;
524 if (!ad1816->io_base)
525 ad1816->io_base = bus_alloc_resource_any(dev,
537 if (!ad1816->io_base || !ad1816->drq1 || !ad1816->irq) ok = 0;
632 rman_get_start(ad1816->io_base),
[all...]
H A Dess.c96 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.c84 struct resource *io_base; /* I/O address for the board */ member in struct:sb_info
157 return port_rd(sb->io_base, reg);
163 port_wr(sb->io_base, reg, val);
282 rman_get_start(sb->io_base)));
452 if (sb->io_base) {
453 bus_release_resource(dev, SYS_RES_IOPORT, 0, sb->io_base);
454 sb->io_base = NULL;
469 if (!sb->io_base)
470 sb->io_base = bus_alloc_resource_any(dev, SYS_RES_IOPORT,
488 if (sb->io_base
[all...]
H A Dmss.c62 struct resource *io_base; /* primary I/O address for the board */ member in struct:mss_info
220 return port_rd(mss->io_base, reg);
227 port_wr(mss->io_base, reg, data);
296 if (mss->io_base) {
298 mss->io_base);
299 mss->io_base = NULL;
324 if (!mss->io_base)
325 mss->io_base = bus_alloc_resource_any(dev, SYS_RES_IOPORT,
343 if (!mss->io_base || !mss->drq1 || !mss->irq) ok = 0;
1292 mss->io_base
[all...]
H A Dmss.h112 #define io_Polled_IO(d) ((d)->io_base+3+4)
/freebsd-11-stable/sys/dev/dpt/
H A Ddpt_eisa.c79 u_int32_t io_base; local
87 io_base = (eisa_get_slot(dev) * EISA_SLOT_SIZE) +
91 conf = dpt_pio_get_conf(io_base);
97 eisa_add_iospace(dev, io_base, DPT_EISA_IOSIZE, RESVADDR_NONE);
H A Ddpt.h1189 u_int16_t io_base; member in struct:dpt_user_softc
/freebsd-11-stable/sys/mips/rmi/
H A Drmi_boot_info.h39 uint64_t io_base; member in struct:boot1_info
/freebsd-11-stable/sys/dev/ida/
H A Dida_eisa.c234 u_int32_t io_base; local
242 io_base = (eisa_get_slot(dev) * EISA_SLOT_SIZE);
244 switch (IDA_EISA_IRQ_MASK & (inb(IDA_EISA_IRQ_REG + io_base))) {
263 eisa_add_iospace(dev, (io_base + IDA_EISA_IOPORT_START),
/freebsd-11-stable/sys/dev/e1000/
H A De1000_osdep.h198 (hw)->io_base, reg); \
201 (hw)->io_base + 4, value); } while (0)
H A De1000_vf.h266 unsigned long io_base; member in struct:e1000_hw
H A De1000_hw.h1004 unsigned long io_base; member in struct:e1000_hw
H A Dif_lem.c2302 adapter->hw.io_base = 0;
/freebsd-11-stable/sys/mips/rt305x/
H A Drt305x_pci.c753 bus_addr_t io_base, mem_base; local
762 io_base = sc->sc_io_base;
763 io_limit = io_base + sc->sc_io_size - 1;
768 io_base >> 8, 1);
770 io_base >> 16, 2);
/freebsd-11-stable/sys/arm/mv/
H A Dmv_pci.c707 bus_addr_t io_base, mem_base; local
711 io_base = sc->sc_io_base;
712 io_limit = io_base + sc->sc_io_size - 1;
718 io_base >> 8, 1);
720 io_base >> 16, 2);
/freebsd-11-stable/sys/dev/ixgb/
H A Dixgb_hw.h723 unsigned long io_base; /* Our I/O mapped location */ member in struct:ixgb_hw

Completed in 287 milliseconds