Lines Matching defs:ad1848_softc
47 struct ad1848_softc { struct
48 struct device sc_dev; /* base device */
49 struct isadev sc_id; /* ISA device */
50 void *sc_ih; /* interrupt vectoring */
51 bus_space_tag_t sc_iot; /* tag */
52 bus_space_handle_t sc_ioh; /* handle */
53 int sc_iooffs; /* offset from handle */
55 void *parent;
56 struct device *sc_isa; /* ISA bus's device */
58 char sc_playrun; /* running in continuous mode */
59 char sc_recrun; /* running in continuous mode */
61 int sc_irq; /* interrupt */
62 int sc_drq; /* DMA */
63 int sc_recdrq; /* record/capture DMA */
65 int sc_flags;
69 struct ad1848_volume gains[6];
71 struct ad1848_volume rec_gain;
73 int rec_port; /* recording port */
76 u_char MCE_bit;
77 char mic_gain_on; /* CS4231 only */
78 char mute[6];
80 char *chip_name;
81 int mode;
83 u_int precision; /* 8/16 bits */
84 int channels;
86 u_char speed_bits;
87 u_char format_bits;
88 u_char need_commit;
90 void (*sc_pintr)(void *); /* play dma completion intr handler */
91 void (*sc_rintr)(void *); /* rec dma completion intr handler */
92 void *sc_parg; /* play arg for sc_intr() */
93 void *sc_rarg; /* rec arg for sc_intr() */
95 int sc_iobase;