Home | History | Annotate | Download | only in ic

Lines Matching defs:ac97_softc

81 struct ac97_softc;
95 static int ac97_add_port(struct ac97_softc *,
98 static int ac97_check_capability(struct ac97_softc *, int);
99 static void ac97_setup_source_info(struct ac97_softc *);
100 static void ac97_read(struct ac97_softc *, uint8_t, uint16_t *);
101 static void ac97_setup_defaults(struct ac97_softc *);
102 static int ac97_write(struct ac97_softc *, uint8_t, uint16_t);
104 static void ac97_ad198x_init(struct ac97_softc *);
105 static void ac97_alc650_init(struct ac97_softc *);
106 static void ac97_ucb1400_init(struct ac97_softc *);
107 static void ac97_vt1616_init(struct ac97_softc *);
109 static int ac97_modem_offhook_set(struct ac97_softc *, int, int);
498 struct ac97_softc {
499 /* ac97_codec_if must be at the first of ac97_softc. */
552 void (*init)(struct ac97_softc *);
935 ac97_read(struct ac97_softc *as, uint8_t reg, uint16_t *val)
952 ac97_write(struct ac97_softc *as, uint8_t reg, uint16_t val)
975 ac97_setup_defaults(struct ac97_softc *as)
999 struct ac97_softc *as;
1004 as = (struct ac97_softc *)codec_if;
1065 ac97_check_capability(struct ac97_softc *as, int check)
1101 ac97_setup_source_info(struct ac97_softc *as)
1235 struct ac97_softc *as;
1242 void (*initfunc)(struct ac97_softc *);
1247 as = malloc(sizeof(struct ac97_softc), M_DEVBUF, M_WAITOK|M_ZERO);
1634 struct ac97_softc *as;
1636 as = (struct ac97_softc *)codec_if;
1651 struct ac97_softc *as;
1653 as = (struct ac97_softc *)codec_if;
1663 struct ac97_softc *as;
1665 as = (struct ac97_softc *)codec_if;
1675 struct ac97_softc *as;
1679 as = (struct ac97_softc *)codec_if;
1715 struct ac97_softc *as;
1722 as = (struct ac97_softc *)codec_if;
1830 struct ac97_softc *as;
1833 as = (struct ac97_softc *)codec_if;
1851 struct ac97_softc *as;
1856 as = (struct ac97_softc *)codec_if;
1930 struct ac97_softc *as;
1937 as = (struct ac97_softc *)codec_if;
2032 struct ac97_softc *as;
2034 as = (struct ac97_softc *)codec_if;
2044 struct ac97_softc *as;
2046 as = (struct ac97_softc *)codec_if;
2054 ac97_add_port(struct ac97_softc *as, const struct ac97_source_info *src)
2133 ac97_ad198x_init(struct ac97_softc *as)
2171 ac97_alc650_init(struct ac97_softc *as)
2236 ac97_ucb1400_init(struct ac97_softc *as)
2252 ac97_vt1616_init(struct ac97_softc *as)
2277 ac97_modem_offhook_set(struct ac97_softc *as, int line, int newval)
2302 struct ac97_softc *as;