Lines Matching refs:sd
50 static int tea6420_s_routing(struct v4l2_subdev *sd, in tea6420_s_routing() argument
53 struct i2c_client *client = v4l2_get_subdevdata(sd); in tea6420_s_routing()
59 v4l2_dbg(1, debug, sd, "i=%d, o=%d, g=%d\n", i, o, g); in tea6420_s_routing()
85 v4l2_dbg(1, debug, sd, in tea6420_s_routing()
105 struct v4l2_subdev *sd; in tea6420_probe() local
115 sd = devm_kzalloc(&client->dev, sizeof(*sd), GFP_KERNEL); in tea6420_probe()
116 if (sd == NULL) in tea6420_probe()
118 v4l2_i2c_subdev_init(sd, client, &tea6420_ops); in tea6420_probe()
123 err += tea6420_s_routing(sd, 6, i, 0); in tea6420_probe()
133 struct v4l2_subdev *sd = i2c_get_clientdata(client); in tea6420_remove() local
135 v4l2_device_unregister_subdev(sd); in tea6420_remove()