Lines Matching defs:cs428x_softc
74 struct cs428x_softc { struct
75 device_t sc_dev;
76 kmutex_t sc_lock;
77 kmutex_t sc_intr_lock;
79 pci_chipset_tag_t sc_pc;
80 pcitag_t sc_pt;
81 pci_intr_handle_t * sc_ih;
82 pci_intr_handle_t intrh;
85 bus_space_tag_t ba0t;
86 bus_space_handle_t ba0h;
89 bus_space_tag_t ba1t;
90 bus_space_handle_t ba1h;
93 bus_dma_tag_t sc_dmatag;
94 struct cs428x_dma *sc_dmas;
95 size_t dma_size;
96 size_t dma_align;
98 int hw_blocksize;
99 int type;
102 void (*sc_pintr)(void *); /* DMA completion intr handler */
103 void *sc_parg; /* arg for sc_intr() */
104 char *sc_ps, *sc_pe, *sc_pn;
105 int sc_pcount;
106 int sc_pi;
107 struct cs428x_dma *sc_pdma;
108 char *sc_pbuf;
109 char sc_prun; /* playback status */
110 int sc_prate; /* playback sample rate */
113 void (*sc_rintr)(void *); /* DMA completion intr handler */
114 void *sc_rarg; /* arg for sc_intr() */
115 char *sc_rs, *sc_re, *sc_rn;
116 int sc_rcount;
117 int sc_ri;
118 struct cs428x_dma *sc_rdma;
119 char *sc_rbuf;
120 char sc_rrun; /* recording status */
121 int sc_rrate; /* recording sample rate */
126 void (*sc_iintr)(void *, int); /* midi input ready handler */
127 void (*sc_ointr)(void *); /* midi output ready handler */
128 void *sc_arg;
134 enum cs428x_flags sc_flags;
135 uint32_t pctl;
136 uint32_t cctl;
139 struct ac97_codec_if *codec_if;
140 struct ac97_host_if host_if;
143 union {
163 } sc_suspend_state;
187 int cs428x_allocmem(struct cs428x_softc *, size_t, struct cs428x_dma *); argument