Lines Matching defs:dec
252 struct tw2804 *dec = to_state(sd);
269 write_regs(client, regs, dec->channel);
270 dec->norm = norm;
277 struct tw2804 *dec = to_state(sd);
281 if (config && config - 1 != dec->channel) {
287 dec->channel = config - 1;
289 dec->channel);
290 if (dec->channel == 0 &&
296 if (write_regs(client, channel_registers, dec->channel) < 0) {
299 dec->channel);
307 if (input == dec->input)
310 reg = read_reg(client, 0x22, dec->channel);
317 reg = write_reg(client, 0x22, reg, dec->channel);
321 dec->input = input;