Home
last modified time | relevance | path

Searched refs:ad1848_softc (Results 1 – 16 of 16) sorted by relevance

/netbsd/src/sys/dev/ic/
Dad1848var.h97 struct ad1848_softc { struct
104 int (*sc_readreg)(struct ad1848_softc *, int); argument
105 void (*sc_writereg)(struct ad1848_softc *, int, int); argument
159 int ad_read(struct ad1848_softc *, int);
160 int ad_xread(struct ad1848_softc *, int);
161 void ad_write(struct ad1848_softc *, int, int);
162 void ad_xwrite(struct ad1848_softc *, int, int);
164 void ad1848_attach(struct ad1848_softc *);
165 void ad1848_reset(struct ad1848_softc *);
169 int ad1848_mixer_get_port(struct ad1848_softc *, const ad1848_devmap_t *,
[all …]
Dad1848.c135 void ad1848_dump_regs(struct ad1848_softc *);
233 ad_read(struct ad1848_softc *sc, int reg) in ad_read()
244 ad_write(struct ad1848_softc *sc, int reg, int data) in ad_write()
258 ad_xread(struct ad1848_softc *sc, int reg) in ad_xread()
270 ad_xwrite(struct ad1848_softc *sc, int reg, int val) in ad_xwrite()
279 ad_set_MCE(struct ad1848_softc *sc, int state) in ad_set_MCE()
290 wait_for_calibration(struct ad1848_softc *sc) in wait_for_calibration()
356 ad1848_dump_regs(struct ad1848_softc *sc) in ad1848_dump_regs()
383 ad1848_attach(struct ad1848_softc *sc) in ad1848_attach()
466 ad1848_mute_channel(struct ad1848_softc *sc, int device, int mute) in ad1848_mute_channel()
[all …]
Dcs4231.c92 static int cs4231_read(struct ad1848_softc *, int);
93 static void cs4231_write(struct ad1848_softc *, int, int);
96 cs4231_read(struct ad1848_softc *sc, int index) in cs4231_read()
103 cs4231_write(struct ad1848_softc *sc, int index, int value) in cs4231_write()
404 struct ad1848_softc *ac; in cs4231_set_port()
414 struct ad1848_softc *ac; in cs4231_get_port()
Dcs4231var.h74 struct ad1848_softc sc_ad1848; /* base device */
/netbsd/src/sys/dev/isa/
Dcs4231var.h44 int cs4231_set_linein_gain(struct ad1848_softc *, struct ad1848_volume *);
45 int cs4231_get_linein_gain(struct ad1848_softc *, struct ad1848_volume *);
46 int cs4231_set_mono_gain(struct ad1848_softc *, struct ad1848_volume *);
47 int cs4231_get_mono_gain(struct ad1848_softc *, struct ad1848_volume *);
48 void cs4231_mute_mono(struct ad1848_softc *, int /* onoff */);
49 void cs4231_mute_line(struct ad1848_softc *, int /* onoff */);
50 void cs4231_mute_monitor(struct ad1848_softc *, int /* onoff */);
Dad1848_isa.c131 static int ad1848_isa_read( struct ad1848_softc *, int);
132 static void ad1848_isa_write( struct ad1848_softc *, int, int);
135 ad1848_isa_read(struct ad1848_softc *sc, int index) in ad1848_isa_read()
142 ad1848_isa_write(struct ad1848_softc *sc, int index, int value) in ad1848_isa_write()
154 struct ad1848_softc *sc; in ad1848_isa_mapprobe()
181 struct ad1848_softc *sc; in ad1848_isa_probe()
429 struct ad1848_softc *sc; in ad1848_isa_unmap()
442 struct ad1848_softc *sc; in ad1848_isa_attach()
480 struct ad1848_softc *sc; in ad1848_isa_open()
539 struct ad1848_softc *sc; in ad1848_isa_close()
[all …]
Dwss.c115 struct ad1848_softc *ac; in wssattach()
212 struct ad1848_softc *ac; in wss_mixer_set_port()
221 struct ad1848_softc *ac; in wss_mixer_get_port()
448 struct ad1848_softc *ac; in madattach()
452 ac = (struct ad1848_softc *)&sc->sc_ad1848; in madattach()
Dym.c200 struct ad1848_softc *ac; in ym_attach()
403 struct ad1848_softc *ac; in ym_getdev()
561 struct ad1848_softc *ac; in ym_mixer_set_port()
709 struct ad1848_softc *ac; in ym_mixer_get_port()
815 struct ad1848_softc *ac; in ym_query_devinfo()
1080 struct ad1848_softc *ac; in ym_save_codec_regs()
1092 struct ad1848_softc *ac; in ym_restore_codec_regs()
1197 struct ad1848_softc *ac; in ym_codec_power_ctl()
Dad1848var.h71 struct ad1848_softc sc_ad1848; /* AD1848 device */
Dwss_isa.c127 struct ad1848_softc *ac; in wssfind()
235 struct ad1848_softc *ac; in wss_isa_attach()
/netbsd/src/sys/arch/amiga/dev/
Dtoccata.c162 int toccata_readreg(struct ad1848_softc *, int);
163 void toccata_writereg(struct ad1848_softc *, int, int);
208 struct ad1848_softc sc_ad;
250 struct ad1848_softc *asc; in toccata_attach()
353 toccata_readreg(struct ad1848_softc *asc, int offset) in toccata_readreg()
363 toccata_writereg(struct ad1848_softc *asc, int offset, int value) in toccata_writereg()
377 struct ad1848_softc *asc; in toccata_open()
399 struct ad1848_softc *asc; in toccata_close()
603 struct ad1848_softc *ac; in toccata_set_port()
614 struct ad1848_softc *ac; in toccata_get_port()
/netbsd/src/sys/arch/prep/isa/
Dpaud_isa.c209 struct ad1848_softc *ac; in paud_mixer_set_port()
218 struct ad1848_softc *ac; in paud_mixer_get_port()
/netbsd/src/sys/dev/isapnp/
Dym_isapnp.c106 struct ad1848_softc *ac; in ym_isapnp_attach()
Dwss_isapnp.c90 struct ad1848_softc *ac; in wss_isapnp_attach()
/netbsd/src/sys/arch/i386/pnpbios/
Dym_pnpbios.c84 struct ad1848_softc *ac = &sc->sc_ad1848.sc_ad1848; in ym_pnpbios_attach()
/netbsd/src/sys/dev/acpi/
Dym_acpi.c91 struct ad1848_softc *ac = &sc->sc_ad1848.sc_ad1848; in ym_acpi_attach()