Lines Matching defs:io
32 #include <linux/io.h> /* outb, outb_p */
63 static int io[GEMTEK_MAX] = { [0] = CONFIG_RADIO_GEMTEK_PORT,
73 module_param_array(io, int, NULL, 0444);
74 MODULE_PARM_DESC(io, "Force I/O ports for the GemTek Radio card if automatic probing is disabled or fails. The most common I/O ports are: 0x20c 0x30c, 0x24c or 0x34c (0x20c, 0x248 and 0x28c have been reported to work for the combined sound/radiocard).");
157 outb_p(mute | GEMTEK_CE | GEMTEK_DA | GEMTEK_CK, isa->io);
162 outb_p(mute | GEMTEK_CE | bit, isa->io);
164 outb_p(mute | GEMTEK_CE | bit | GEMTEK_CK, isa->io);
168 outb_p(mute | GEMTEK_DA | GEMTEK_CK, isa->io);
238 i = inb_p(isa->io);
240 outb_p((i >> 5) | (mute ? GEMTEK_MT : 0), isa->io);
247 if (inb_p(isa->io) & GEMTEK_NS)
255 static bool gemtek_probe(struct radio_isa_card *isa, int io)
259 q = inb_p(io); /* Read bus contents before probing. */
263 outb_p(1 << i, io);
266 if ((inb_p(io) & ~GEMTEK_NS) != (0x17 | (1 << (i + 5))))
269 outb_p(q >> 5, io); /* Write bus contents back. */
311 .io_params = io,