Lines Matching full:isa

7  * Converted to the radio-isa framework by Hans Verkuil <hans.verkuil@cisco.com>
40 #include "radio-isa.h"
64 struct radio_isa_card isa; member
74 return rt ? &rt->isa : NULL; in rtrack_alloc()
88 struct radio_isa_card *isa = handle; in rtrack_set_pins() local
89 struct rtrack *rt = container_of(isa, struct rtrack, isa); in rtrack_set_pins()
92 if (!v4l2_ctrl_g_ctrl(rt->isa.mute)) in rtrack_set_pins()
102 outb_p(bits, rt->isa.io); in rtrack_set_pins()
105 static int rtrack_s_frequency(struct radio_isa_card *isa, u32 freq) in rtrack_s_frequency() argument
107 lm7000_set_freq(freq, isa, rtrack_set_pins); in rtrack_s_frequency()
112 static u32 rtrack_g_signal(struct radio_isa_card *isa) in rtrack_g_signal() argument
115 return 0xffff * !(inb(isa->io) & 2); in rtrack_g_signal()
118 static int rtrack_s_mute_volume(struct radio_isa_card *isa, bool mute, int vol) in rtrack_s_mute_volume() argument
120 struct rtrack *rt = container_of(isa, struct rtrack, isa); in rtrack_s_mute_volume()
124 outb(0xd0, isa->io); /* volume steady + sigstr + off */ in rtrack_s_mute_volume()
128 outb(0x48, isa->io); /* volume down but still "on" */ in rtrack_s_mute_volume()
131 outb(0x98, isa->io); /* volume up + sigstr + on */ in rtrack_s_mute_volume()
135 outb(0x58, isa->io); /* volume down + sigstr + on */ in rtrack_s_mute_volume()
139 outb(0xd8, isa->io); /* volume steady + sigstr + on */ in rtrack_s_mute_volume()
145 static int rtrack_initialize(struct radio_isa_card *isa) in rtrack_initialize() argument
148 outb(0x90, isa->io); /* volume up but still "on" */ in rtrack_initialize()
150 outb(0xc0, isa->io); /* steady volume, mute card */ in rtrack_initialize()