Lines Matching full:isa
40 #include "radio-isa.h"
72 struct radio_isa_card isa; member
80 return ty ? &ty->isa : NULL; in typhoon_alloc()
83 static int typhoon_s_frequency(struct radio_isa_card *isa, u32 freq) in typhoon_s_frequency() argument
105 outb_p((outval >> 8) & 0x01, isa->io + 4); in typhoon_s_frequency()
106 outb_p(outval >> 9, isa->io + 6); in typhoon_s_frequency()
107 outb_p(outval & 0xff, isa->io + 8); in typhoon_s_frequency()
111 static int typhoon_s_mute_volume(struct radio_isa_card *isa, bool mute, int vol) in typhoon_s_mute_volume() argument
113 struct typhoon *ty = container_of(isa, struct typhoon, isa); in typhoon_s_mute_volume()
119 outb_p(vol / 2, isa->io); /* Set the volume, high bit. */ in typhoon_s_mute_volume()
120 outb_p(vol % 2, isa->io + 2); /* Set the volume, low bit. */ in typhoon_s_mute_volume()
124 return typhoon_s_frequency(isa, mutefreq << 4); in typhoon_s_mute_volume()
128 return typhoon_s_frequency(isa, isa->freq); in typhoon_s_mute_volume()