Lines Matching refs:gt
153 static void gemtek_bu2614_transmit(struct gemtek *gt) in gemtek_bu2614_transmit() argument
155 struct radio_isa_card *isa = >->isa; in gemtek_bu2614_transmit()
158 mute = gt->muted ? GEMTEK_MT : 0x00; in gemtek_bu2614_transmit()
163 for (i = 0, q = gt->bu2614data; i < 32; i++, q >>= 1) { in gemtek_bu2614_transmit()
185 struct gemtek *gt = kzalloc(sizeof(*gt), GFP_KERNEL); in gemtek_alloc() local
187 if (gt) in gemtek_alloc()
188 gt->muted = true; in gemtek_alloc()
189 return gt ? >->isa : NULL; in gemtek_alloc()
197 struct gemtek *gt = container_of(isa, struct gemtek, isa); in gemtek_s_frequency() local
199 if (hardmute && gt->muted) in gemtek_s_frequency()
202 gemtek_bu2614_set(gt, BU2614_PORT, 0); in gemtek_s_frequency()
203 gemtek_bu2614_set(gt, BU2614_FMES, 0); in gemtek_s_frequency()
204 gemtek_bu2614_set(gt, BU2614_SWIN, 0); /* FM-mode */ in gemtek_s_frequency()
205 gemtek_bu2614_set(gt, BU2614_SWAL, 0); in gemtek_s_frequency()
206 gemtek_bu2614_set(gt, BU2614_FMUN, 1); /* GT bit set */ in gemtek_s_frequency()
207 gemtek_bu2614_set(gt, BU2614_TEST, 0); in gemtek_s_frequency()
208 gemtek_bu2614_set(gt, BU2614_STDF, GEMTEK_STDF_3_125_KHZ); in gemtek_s_frequency()
209 gemtek_bu2614_set(gt, BU2614_FREQ, gemtek_convfreq(freq)); in gemtek_s_frequency()
210 gemtek_bu2614_transmit(gt); in gemtek_s_frequency()
219 struct gemtek *gt = container_of(isa, struct gemtek, isa); in gemtek_s_mute_volume() local
222 gt->muted = mute; in gemtek_s_mute_volume()
228 gemtek_bu2614_set(gt, BU2614_PORT, 0); in gemtek_s_mute_volume()
229 gemtek_bu2614_set(gt, BU2614_FMES, 0); /* CT bit off */ in gemtek_s_mute_volume()
230 gemtek_bu2614_set(gt, BU2614_SWIN, 0); /* FM-mode */ in gemtek_s_mute_volume()
231 gemtek_bu2614_set(gt, BU2614_SWAL, 0); in gemtek_s_mute_volume()
232 gemtek_bu2614_set(gt, BU2614_FMUN, 0); /* GT bit off */ in gemtek_s_mute_volume()
233 gemtek_bu2614_set(gt, BU2614_TEST, 0); in gemtek_s_mute_volume()
234 gemtek_bu2614_set(gt, BU2614_STDF, GEMTEK_PLL_OFF); in gemtek_s_mute_volume()
235 gemtek_bu2614_set(gt, BU2614_FREQ, 0); in gemtek_s_mute_volume()
236 gemtek_bu2614_transmit(gt); in gemtek_s_mute_volume()