Lines Matching refs:sd

351 	struct i2c_client *client = v4l2_get_subdevdata(&state->sd);  in msp_s_ctrl()
421 static int msp_s_radio(struct v4l2_subdev *sd) in msp_s_radio() argument
423 struct msp_state *state = to_state(sd); in msp_s_radio()
424 struct i2c_client *client = v4l2_get_subdevdata(sd); in msp_s_radio()
448 static int msp_s_frequency(struct v4l2_subdev *sd, const struct v4l2_frequency *freq) in msp_s_frequency() argument
450 struct i2c_client *client = v4l2_get_subdevdata(sd); in msp_s_frequency()
457 static int msp_querystd(struct v4l2_subdev *sd, v4l2_std_id *id) in msp_querystd() argument
459 struct msp_state *state = to_state(sd); in msp_querystd()
460 struct i2c_client *client = v4l2_get_subdevdata(sd); in msp_querystd()
471 static int msp_s_std(struct v4l2_subdev *sd, v4l2_std_id id) in msp_s_std() argument
473 struct msp_state *state = to_state(sd); in msp_s_std()
474 struct i2c_client *client = v4l2_get_subdevdata(sd); in msp_s_std()
484 static int msp_s_routing(struct v4l2_subdev *sd, in msp_s_routing() argument
487 struct msp_state *state = to_state(sd); in msp_s_routing()
488 struct i2c_client *client = v4l2_get_subdevdata(sd); in msp_s_routing()
520 static int msp_g_tuner(struct v4l2_subdev *sd, struct v4l2_tuner *vt) in msp_g_tuner() argument
522 struct msp_state *state = to_state(sd); in msp_g_tuner()
523 struct i2c_client *client = v4l2_get_subdevdata(sd); in msp_g_tuner()
538 static int msp_s_tuner(struct v4l2_subdev *sd, const struct v4l2_tuner *vt) in msp_s_tuner() argument
540 struct msp_state *state = to_state(sd); in msp_s_tuner()
541 struct i2c_client *client = v4l2_get_subdevdata(sd); in msp_s_tuner()
553 static int msp_s_i2s_clock_freq(struct v4l2_subdev *sd, u32 freq) in msp_s_i2s_clock_freq() argument
555 struct msp_state *state = to_state(sd); in msp_s_i2s_clock_freq()
556 struct i2c_client *client = v4l2_get_subdevdata(sd); in msp_s_i2s_clock_freq()
573 static int msp_log_status(struct v4l2_subdev *sd) in msp_log_status() argument
575 struct msp_state *state = to_state(sd); in msp_log_status()
576 struct i2c_client *client = v4l2_get_subdevdata(sd); in msp_log_status()
584 snprintf(prefix, sizeof(prefix), "%s: Audio: ", sd->name); in msp_log_status()
683 struct v4l2_subdev *sd; in msp_probe() local
704 sd = &state->sd; in msp_probe()
705 v4l2_i2c_subdev_init(sd, client, &msp_ops); in msp_probe()
814 sd->ctrl_handler = hdl; in msp_probe()
871 v4l2_device_unregister_subdev(&state->sd); in msp_remove()