• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/media/radio/

Lines Matching defs:io

36 #include <linux/io.h>		/* outb, outb_p			*/
48 static int io = CONFIG_RADIO_RTRACK_PORT;
51 module_param(io, int, 0);
52 MODULE_PARM_DESC(io, "I/O address of the RadioTrack card (0x20f or 0x30f)");
65 int io;
75 outb(0x58, rt->io); /* volume down + sigstr + on */
77 outb(0xd8, rt->io); /* volume steady + sigstr + on */
82 outb(0x98, rt->io); /* volume up + sigstr + on */
84 outb(0xd8, rt->io); /* volume steady + sigstr + on */
91 outb(0xd0, rt->io); /* volume steady, off */
104 outb(0xd8, rt->io); /* enable card */
111 outb(0x48, rt->io); /* volume down but still "on" */
113 outb(0xd0, rt->io); /* volume steady, off */
140 outb_p(128+64+16+ 1, rt->io); /* wr-enable + data low */
141 outb_p(128+64+16+2+1, rt->io); /* clock */
144 outb_p(128+64+16+8+ 1, rt->io); /* on + wr-enable + data low */
145 outb_p(128+64+16+8+2+1, rt->io); /* clock */
153 outb_p(128+64+16+4 +1, rt->io); /* wr-enable+data high */
154 outb_p(128+64+16+4+2+1, rt->io); /* clock */
157 outb_p(128+64+16+8+4 +1, rt->io); /* on+wr-enable+data high */
158 outb_p(128+64+16+8+4+2+1, rt->io); /* clock */
199 outb(0xd0, rt->io); /* volume steady + sigstr */
201 outb(0xd8, rt->io); /* volume steady + sigstr + on */
213 if (inb(rt->io) & 2) /* bit set = no signal present */
378 rt->io = io;
380 if (rt->io == -1) {
381 v4l2_err(v4l2_dev, "you must set an I/O address with io=0x20f or 0x30f\n");
385 if (!request_region(rt->io, 2, "rtrack")) {
386 v4l2_err(v4l2_dev, "port 0x%x already in use\n", rt->io);
392 release_region(rt->io, 2);
406 release_region(rt->io, 2);
418 outb(0x48, rt->io); /* volume down but still "on" */
420 outb(0xc0, rt->io); /* steady volume, mute card */
431 release_region(rt->io, 2);