• Home
  • Raw
  • Download

Lines Matching refs:isa

74 	struct radio_isa_card isa;  member
83 return zol ? &zol->isa : NULL; in zoltrix_alloc()
86 static int zoltrix_s_mute_volume(struct radio_isa_card *isa, bool mute, int vol) in zoltrix_s_mute_volume() argument
88 struct zoltrix *zol = container_of(isa, struct zoltrix, isa); in zoltrix_s_mute_volume()
93 outb(0, isa->io); in zoltrix_s_mute_volume()
94 outb(0, isa->io); in zoltrix_s_mute_volume()
95 inb(isa->io + 3); /* Zoltrix needs to be read to confirm */ in zoltrix_s_mute_volume()
99 outb(vol - 1, isa->io); in zoltrix_s_mute_volume()
101 inb(isa->io + 2); in zoltrix_s_mute_volume()
106 static int zoltrix_s_frequency(struct radio_isa_card *isa, u32 freq) in zoltrix_s_frequency() argument
108 struct zoltrix *zol = container_of(isa, struct zoltrix, isa); in zoltrix_s_frequency()
109 struct v4l2_device *v4l2_dev = &isa->v4l2_dev; in zoltrix_s_frequency()
111 bool stereo = isa->stereo; in zoltrix_s_frequency()
125 outb(0, isa->io); in zoltrix_s_frequency()
126 outb(0, isa->io); in zoltrix_s_frequency()
127 inb(isa->io + 3); /* Zoltrix needs to be read to confirm */ in zoltrix_s_frequency()
129 outb(0x40, isa->io); in zoltrix_s_frequency()
130 outb(0xc0, isa->io); in zoltrix_s_frequency()
135 outb(0x80, isa->io); in zoltrix_s_frequency()
137 outb(0x00, isa->io); in zoltrix_s_frequency()
139 outb(0x80, isa->io); in zoltrix_s_frequency()
142 outb(0xc0, isa->io); in zoltrix_s_frequency()
144 outb(0x40, isa->io); in zoltrix_s_frequency()
146 outb(0xc0, isa->io); in zoltrix_s_frequency()
152 outb(0x80, isa->io); in zoltrix_s_frequency()
153 outb(0xc0, isa->io); in zoltrix_s_frequency()
154 outb(0x40, isa->io); in zoltrix_s_frequency()
156 inb(isa->io + 2); in zoltrix_s_frequency()
159 return zoltrix_s_mute_volume(isa, zol->muted, zol->curvol); in zoltrix_s_frequency()
163 static u32 zoltrix_g_rxsubchans(struct radio_isa_card *isa) in zoltrix_g_rxsubchans() argument
165 struct zoltrix *zol = container_of(isa, struct zoltrix, isa); in zoltrix_g_rxsubchans()
168 outb(0x00, isa->io); /* This stuff I found to do nothing */ in zoltrix_g_rxsubchans()
169 outb(zol->curvol, isa->io); in zoltrix_g_rxsubchans()
172 a = inb(isa->io); in zoltrix_g_rxsubchans()
174 b = inb(isa->io); in zoltrix_g_rxsubchans()
180 static u32 zoltrix_g_signal(struct radio_isa_card *isa) in zoltrix_g_signal() argument
182 struct zoltrix *zol = container_of(isa, struct zoltrix, isa); in zoltrix_g_signal()
185 outb(0x00, isa->io); /* This stuff I found to do nothing */ in zoltrix_g_signal()
186 outb(zol->curvol, isa->io); in zoltrix_g_signal()
189 a = inb(isa->io); in zoltrix_g_signal()
191 b = inb(isa->io); in zoltrix_g_signal()
200 static int zoltrix_s_stereo(struct radio_isa_card *isa, bool stereo) in zoltrix_s_stereo() argument
202 return zoltrix_s_frequency(isa, isa->freq); in zoltrix_s_stereo()