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