Lines Matching refs:encoder
61 static int bt866_write(struct bt866 *encoder, u8 subaddr, u8 data) in bt866_write() argument
63 struct i2c_client *client = v4l2_get_subdevdata(&encoder->sd); in bt866_write()
70 encoder->reg[subaddr] = data; in bt866_write()
130 struct bt866 *encoder = to_bt866(sd); in bt866_s_routing() local
135 bt866_write(encoder, init[i], init[i+1]); in bt866_s_routing()
137 val = encoder->reg[0xdc]; in bt866_s_routing()
144 bt866_write(encoder, 0xdc, val); in bt866_s_routing()
146 val = encoder->reg[0xcc]; in bt866_s_routing()
151 bt866_write(encoder, 0xcc, val); in bt866_s_routing()
169 val = encoder->reg[0xdc];
191 struct bt866 *encoder; in bt866_probe() local
197 encoder = devm_kzalloc(&client->dev, sizeof(*encoder), GFP_KERNEL); in bt866_probe()
198 if (encoder == NULL) in bt866_probe()
200 sd = &encoder->sd; in bt866_probe()