Lines Matching defs:io
39 #include <linux/io.h> /* outb, outb_p */
55 static int io = CONFIG_RADIO_TYPHOON_PORT;
58 module_param(io, int, 0);
59 MODULE_PARM_DESC(io, "I/O address of the Typhoon card (0x316 or 0x336)");
74 int io;
89 outb_p(vol / 2, dev->io); /* Set the volume, high bit. */
90 outb_p(vol % 2, dev->io + 2); /* Set the volume, low bit. */
118 outb_p((outval >> 8) & 0x01, dev->io + 4);
119 outb_p(outval >> 9, dev->io + 6);
120 outb_p(outval & 0xff, dev->io + 8);
316 v4l2_info(v4l2_dev, "io = 0x%x\n", dev->io);
349 dev->io = io;
352 if (dev->io == -1) {
353 v4l2_err(v4l2_dev, "You must set an I/O address with io=0x316 or io=0x336\n");
364 if (!request_region(dev->io, 8, "typhoon")) {
366 dev->io);
372 release_region(dev->io, 8);
386 release_region(dev->io, 8);
389 v4l2_info(v4l2_dev, "port 0x%x.\n", dev->io);
405 release_region(dev->io, 8);