Lines Matching refs:gt

150 static void gemtek_bu2614_transmit(struct gemtek *gt)  in gemtek_bu2614_transmit()  argument
152 struct radio_isa_card *isa = &gt->isa; in gemtek_bu2614_transmit()
155 mute = gt->muted ? GEMTEK_MT : 0x00; in gemtek_bu2614_transmit()
160 for (i = 0, q = gt->bu2614data; i < 32; i++, q >>= 1) { in gemtek_bu2614_transmit()
182 struct gemtek *gt = kzalloc(sizeof(*gt), GFP_KERNEL); in gemtek_alloc() local
184 if (gt) in gemtek_alloc()
185 gt->muted = true; in gemtek_alloc()
186 return gt ? &gt->isa : NULL; in gemtek_alloc()
194 struct gemtek *gt = container_of(isa, struct gemtek, isa); in gemtek_s_frequency() local
196 if (hardmute && gt->muted) in gemtek_s_frequency()
199 gemtek_bu2614_set(gt, BU2614_PORT, 0); in gemtek_s_frequency()
200 gemtek_bu2614_set(gt, BU2614_FMES, 0); in gemtek_s_frequency()
201 gemtek_bu2614_set(gt, BU2614_SWIN, 0); /* FM-mode */ in gemtek_s_frequency()
202 gemtek_bu2614_set(gt, BU2614_SWAL, 0); in gemtek_s_frequency()
203 gemtek_bu2614_set(gt, BU2614_FMUN, 1); /* GT bit set */ in gemtek_s_frequency()
204 gemtek_bu2614_set(gt, BU2614_TEST, 0); in gemtek_s_frequency()
205 gemtek_bu2614_set(gt, BU2614_STDF, GEMTEK_STDF_3_125_KHZ); in gemtek_s_frequency()
206 gemtek_bu2614_set(gt, BU2614_FREQ, gemtek_convfreq(freq)); in gemtek_s_frequency()
207 gemtek_bu2614_transmit(gt); in gemtek_s_frequency()
216 struct gemtek *gt = container_of(isa, struct gemtek, isa); in gemtek_s_mute_volume() local
219 gt->muted = mute; in gemtek_s_mute_volume()
225 gemtek_bu2614_set(gt, BU2614_PORT, 0); in gemtek_s_mute_volume()
226 gemtek_bu2614_set(gt, BU2614_FMES, 0); /* CT bit off */ in gemtek_s_mute_volume()
227 gemtek_bu2614_set(gt, BU2614_SWIN, 0); /* FM-mode */ in gemtek_s_mute_volume()
228 gemtek_bu2614_set(gt, BU2614_SWAL, 0); in gemtek_s_mute_volume()
229 gemtek_bu2614_set(gt, BU2614_FMUN, 0); /* GT bit off */ in gemtek_s_mute_volume()
230 gemtek_bu2614_set(gt, BU2614_TEST, 0); in gemtek_s_mute_volume()
231 gemtek_bu2614_set(gt, BU2614_STDF, GEMTEK_PLL_OFF); in gemtek_s_mute_volume()
232 gemtek_bu2614_set(gt, BU2614_FREQ, 0); in gemtek_s_mute_volume()
233 gemtek_bu2614_transmit(gt); in gemtek_s_mute_volume()