Lines Matching refs:ch
64 int err, ch; in slave_update() local
71 for (ch = 0; ch < slave->info.count; ch++) in slave_update()
72 slave->vals[ch] = uctl->value.integer.value[ch]; in slave_update()
141 int err, ch; in slave_get_val() local
146 for (ch = 0; ch < slave->info.count; ch++) in slave_get_val()
147 ucontrol->value.integer.value[ch] = slave->vals[ch]; in slave_get_val()
154 int err, ch, vol; in slave_put_val() local
162 for (ch = 0; ch < slave->info.count; ch++) in slave_put_val()
163 ucontrol->value.integer.value[ch] &= in slave_put_val()
167 for (ch = 0; ch < slave->info.count; ch++) { in slave_put_val()
169 vol = ucontrol->value.integer.value[ch]; in slave_put_val()
175 ucontrol->value.integer.value[ch] = vol; in slave_put_val()
203 int err, ch, changed = 0; in slave_put() local
208 for (ch = 0; ch < slave->info.count; ch++) { in slave_put()
209 if (slave->vals[ch] != ucontrol->value.integer.value[ch]) { in slave_put()
211 slave->vals[ch] = ucontrol->value.integer.value[ch]; in slave_put()