Lines Matching refs:sensor_sd
86 struct v4l2_subdev *sensor_sd = get_remote_sensor(sd); in csi2_dphy_get_sensor_data_rate() local
91 if (!sensor_sd) in csi2_dphy_get_sensor_data_rate()
94 link_freq = v4l2_ctrl_find(sensor_sd->ctrl_handler, V4L2_CID_LINK_FREQ); in csi2_dphy_get_sensor_data_rate()
101 ret = v4l2_querymenu(sensor_sd->ctrl_handler, &qm); in csi2_dphy_get_sensor_data_rate()
122 struct v4l2_subdev *sensor_sd = get_remote_sensor(&dphy->sd); in rockchip_csi2_dphy_attach_hw() local
126 if (sensor_sd) { in rockchip_csi2_dphy_attach_hw()
127 sensor = sd_to_sensor(dphy, sensor_sd); in rockchip_csi2_dphy_attach_hw()
321 struct v4l2_subdev *sensor_sd = get_remote_sensor(sd); in csi2_dphy_update_sensor_mbus() local
326 if (!sensor_sd) in csi2_dphy_update_sensor_mbus()
328 sensor = sd_to_sensor(dphy, sensor_sd); in csi2_dphy_update_sensor_mbus()
332 ret = v4l2_subdev_call(sensor_sd, pad, get_mbus_config, 0, &mbus); in csi2_dphy_update_sensor_mbus()
360 struct v4l2_subdev *sensor_sd = get_remote_sensor(sd); in csi2_dphy_update_config() local
374 ret = v4l2_subdev_call(sensor_sd, core, ioctl, in csi2_dphy_update_config()
407 ret = v4l2_subdev_call(sensor_sd, core, ioctl, in csi2_dphy_update_config()
573 struct v4l2_subdev *sensor_sd = get_remote_sensor(sd); in csi2_dphy_g_mbus_config() local
576 if (!sensor_sd) in csi2_dphy_g_mbus_config()
578 sensor = sd_to_sensor(dphy, sensor_sd); in csi2_dphy_g_mbus_config()
622 struct v4l2_subdev *sensor_sd = get_remote_sensor(sd); in csi2_dphy_get_set_fmt() local
629 if (!sensor_sd) in csi2_dphy_get_set_fmt()
631 sensor = sd_to_sensor(dphy, sensor_sd); in csi2_dphy_get_set_fmt()
634 ret = v4l2_subdev_call(sensor_sd, pad, get_fmt, NULL, fmt); in csi2_dphy_get_set_fmt()