Lines Matching defs:snapper_softc
69 struct snapper_softc { struct
70 device_t sc_dev;
71 int sc_mode;
78 int sc_node;
80 void (*sc_ointr)(void *); /* dma completion intr handler */
81 void *sc_oarg; /* arg for sc_ointr() */
82 int sc_opages; /* # of output pages */
84 void (*sc_iintr)(void *); /* dma completion intr handler */
85 void *sc_iarg; /* arg for sc_iintr() */
86 int sc_ipages; /* # of input pages */
88 u_int sc_record_source; /* recording source mask */
89 u_int sc_output_mask; /* output source mask */
91 bus_space_tag_t sc_tag;
92 bus_space_handle_t sc_bsh;
93 i2c_addr_t sc_deqaddr;
94 i2c_tag_t sc_i2c;
95 uint32_t sc_baseaddr;
97 int sc_rate; /* current sampling rate */
98 int sc_bitspersample;
101 u_int sc_swvol_l;
102 u_int sc_swvol_r;
104 u_int sc_vol_l;
105 u_int sc_vol_r;
106 u_int sc_treble;
107 u_int sc_bass;
108 u_int mixer[6]; /* s1_l, s2_l, an_l, s1_r, s2_r, an_r */
109 uint16_t sc_rval;
111 bus_space_handle_t sc_odmah;
112 bus_space_handle_t sc_idmah;
113 dbdma_regmap_t *sc_odma;
114 dbdma_regmap_t *sc_idma;
115 unsigned char dbdma_cmdspace[sizeof(struct dbdma_command) * 40 + 15];
116 struct dbdma_command *sc_odmacmd;
117 struct dbdma_command *sc_idmacmd;
119 kmutex_t sc_lock;
120 kmutex_t sc_intr_lock;
122 struct onewire_bus sc_ow_bus;
123 device_t sc_ow_dev;
124 int sc_ow_data;