Lines Matching full:isa

27 #include "radio-isa.h"
52 struct radio_isa_card isa; member
60 return tr ? &tr->isa : NULL; in trust_alloc()
67 #define TR_DELAY do { inb(tr->isa.io); inb(tr->isa.io); inb(tr->isa.io); } while (0)
68 #define TR_SET_SCL outb(tr->ioval |= 2, tr->isa.io)
69 #define TR_CLR_SCL outb(tr->ioval &= 0xfd, tr->isa.io)
70 #define TR_SET_SDA outb(tr->ioval |= 1, tr->isa.io)
71 #define TR_CLR_SDA outb(tr->ioval &= 0xfe, tr->isa.io)
119 static int trust_s_mute_volume(struct radio_isa_card *isa, bool mute, int vol) in trust_s_mute_volume() argument
121 struct trust *tr = container_of(isa, struct trust, isa); in trust_s_mute_volume()
124 outb(tr->ioval, isa->io); in trust_s_mute_volume()
129 static int trust_s_stereo(struct radio_isa_card *isa, bool stereo) in trust_s_stereo() argument
131 struct trust *tr = container_of(isa, struct trust, isa); in trust_s_stereo()
134 outb(tr->ioval, isa->io); in trust_s_stereo()
138 static u32 trust_g_signal(struct radio_isa_card *isa) in trust_g_signal() argument
143 v |= inb(isa->io); in trust_g_signal()
147 static int trust_s_frequency(struct radio_isa_card *isa, u32 freq) in trust_s_frequency() argument
149 struct trust *tr = container_of(isa, struct trust, isa); in trust_s_frequency()
164 struct radio_isa_card *isa = in trust_s_ctrl() local
166 struct trust *tr = container_of(isa, struct trust, isa); in trust_s_ctrl()
183 static int trust_initialize(struct radio_isa_card *isa) in trust_initialize() argument
185 struct trust *tr = container_of(isa, struct trust, isa); in trust_initialize()
194 v4l2_ctrl_new_std(&isa->hdl, &trust_ctrl_ops, in trust_initialize()
196 v4l2_ctrl_new_std(&isa->hdl, &trust_ctrl_ops, in trust_initialize()
198 return isa->hdl.error; in trust_initialize()