Lines Matching refs:isa
71 struct radio_isa_card isa; member
79 return ty ? &ty->isa : NULL; in typhoon_alloc()
82 static int typhoon_s_frequency(struct radio_isa_card *isa, u32 freq) in typhoon_s_frequency() argument
104 outb_p((outval >> 8) & 0x01, isa->io + 4); in typhoon_s_frequency()
105 outb_p(outval >> 9, isa->io + 6); in typhoon_s_frequency()
106 outb_p(outval & 0xff, isa->io + 8); in typhoon_s_frequency()
110 static int typhoon_s_mute_volume(struct radio_isa_card *isa, bool mute, int vol) in typhoon_s_mute_volume() argument
112 struct typhoon *ty = container_of(isa, struct typhoon, isa); in typhoon_s_mute_volume()
118 outb_p(vol / 2, isa->io); /* Set the volume, high bit. */ in typhoon_s_mute_volume()
119 outb_p(vol % 2, isa->io + 2); /* Set the volume, low bit. */ in typhoon_s_mute_volume()
123 return typhoon_s_frequency(isa, mutefreq << 4); in typhoon_s_mute_volume()
127 return typhoon_s_frequency(isa, isa->freq); in typhoon_s_mute_volume()