Lines Matching refs:isa
27 #include "radio-isa.h"
52 struct radio_isa_card isa;
60 return tr ? &tr->isa : NULL;
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)
121 struct trust *tr = container_of(isa, struct trust, isa);
124 outb(tr->ioval, isa->io);
129 static int trust_s_stereo(struct radio_isa_card *isa, bool stereo)
131 struct trust *tr = container_of(isa, struct trust, isa);
134 outb(tr->ioval, isa->io);
138 static u32 trust_g_signal(struct radio_isa_card *isa)
143 v |= inb(isa->io);
147 static int trust_s_frequency(struct radio_isa_card *isa, u32 freq)
149 struct trust *tr = container_of(isa, struct trust, isa);
164 struct radio_isa_card *isa =
166 struct trust *tr = container_of(isa, struct trust, isa);
183 static int trust_initialize(struct radio_isa_card *isa)
185 struct trust *tr = container_of(isa, struct trust, isa);
194 v4l2_ctrl_new_std(&isa->hdl, &trust_ctrl_ops,
196 v4l2_ctrl_new_std(&isa->hdl, &trust_ctrl_ops,
198 return isa->hdl.error;