Lines Matching defs:sbdsp_softc

94 struct sbdsp_softc {  struct
95 device_t sc_dev; /* base device */
96 isa_chipset_tag_t sc_ic;
97 bus_space_tag_t sc_iot; /* tag */
98 bus_space_handle_t sc_ioh; /* handle */
99 void *sc_ih; /* interrupt vectoring */
100 kmutex_t sc_lock;
101 kmutex_t sc_intr_lock;
104 int sc_iobase; /* I/O port base address */
105 int sc_irq; /* interrupt */
107 int sc_drq8; /* DMA (8-bit) */
108 bus_size_t sc_drq8_maxsize;
109 int sc_drq16; /* DMA (16-bit) */
110 bus_size_t sc_drq16_maxsize;
112 u_int sc_quirks; /* minor variations */
115 int sc_open; /* reference count of open calls */
120 u_char gain[SB_NDEVS][2]; /* kept in input levels */
125 u_int in_mask; /* input ports */
126 u_int in_port; /* XXX needed for MI interface */
127 u_int in_filter; /* one of SB_TREBLE_EQ, SB_BASS_EQ, 0 */
129 u_int spkr_state; /* non-null is on */
131 struct sbdsp_state {
142 } sc_i, sc_o; /* Input and output state */
144 u_long sc_interrupts; /* number of interrupts taken */
146 int (*sc_intr8)(void*); /* DMA completion intr handler */
147 int (*sc_intr16)(void*); /* DMA completion intr handler */
148 void (*sc_intrp)(void*); /* PCM output intr handler */
149 void *sc_argp; /* arg for sc_intrp() */
150 void (*sc_intrr)(void*); /* PCM input intr handler */
151 void *sc_argr; /* arg for sc_intrr() */
152 void (*sc_intrm)(void*, int);/* midi input intr handler */
153 void *sc_argm; /* arg for sc_intrm() */
155 u_int sc_mixer_model;
163 u_int sc_model; /* DSP model */
177 u_int sc_version; /* DSP version */
181 struct audio_format sc_formats[4];
205 int sbdsp_probe(struct sbdsp_softc *, cfdata_t); argument