/device/soc/rockchip/common/vendor/drivers/phy/ |
H A D | phy-rockchip-csi2-dphy.c | 71 struct v4l2_subdev *sensor_sd = get_remote_sensor(sd);
in csi2_dphy_get_sensor_data_rate() local 78 link_freq = v4l2_ctrl_find(sensor_sd->ctrl_handler, V4L2_CID_LINK_FREQ);
in csi2_dphy_get_sensor_data_rate() 85 ret = v4l2_querymenu(sensor_sd->ctrl_handler, &qm);
in csi2_dphy_get_sensor_data_rate() 104 struct v4l2_subdev *sensor_sd = get_remote_sensor(sd);
in csi2_dphy_update_sensor_mbus() local 105 struct csi2_sensor *sensor = sd_to_sensor(dphy, sensor_sd);
in csi2_dphy_update_sensor_mbus() 109 ret = v4l2_subdev_call(sensor_sd, pad, get_mbus_config, 0, &mbus);
in csi2_dphy_update_sensor_mbus() 213 struct v4l2_subdev *sensor_sd = get_remote_sensor(sd);
in csi2_dphy_g_mbus_config() local 216 if (!sensor_sd) {
in csi2_dphy_g_mbus_config() 219 sensor = sd_to_sensor(dphy, sensor_sd);
in csi2_dphy_g_mbus_config() 275 struct v4l2_subdev *sensor_sd in csi2_dphy_get_set_fmt() local [all...] |
H A D | phy-rockchip-mipi-rx.c | 693 struct v4l2_subdev *sensor_sd = get_remote_sensor(sd);
in mipidphy_get_sensor_data_rate() local 700 link_freq = v4l2_ctrl_find(sensor_sd->ctrl_handler, V4L2_CID_LINK_FREQ);
in mipidphy_get_sensor_data_rate() 707 ret = v4l2_querymenu(sensor_sd->ctrl_handler, &qm);
in mipidphy_get_sensor_data_rate() 726 struct v4l2_subdev *sensor_sd = get_remote_sensor(sd);
in mipidphy_update_sensor_mbus() local 727 struct mipidphy_sensor *sensor = sd_to_sensor(priv, sensor_sd);
in mipidphy_update_sensor_mbus() 731 ret = v4l2_subdev_call(sensor_sd, pad, get_mbus_config, 0, &mbus);
in mipidphy_update_sensor_mbus() 863 struct v4l2_subdev *sensor_sd = get_remote_sensor(sd);
in mipidphy_g_mbus_config() local 866 if (!sensor_sd) {
in mipidphy_g_mbus_config() 869 sensor = sd_to_sensor(priv, sensor_sd);
in mipidphy_g_mbus_config() 934 struct v4l2_subdev *sensor_sd in mipidphy_get_set_fmt() local 1083 struct v4l2_subdev *sensor_sd = get_remote_sensor(sd); mipidphy_rx_stream_on() local 1173 struct v4l2_subdev *sensor_sd = get_remote_sensor(sd); mipidphy_txrx_stream_on() local 1290 struct v4l2_subdev *sensor_sd = get_remote_sensor(sd); csi_mipidphy_stream_on() local [all...] |
H A D | phy-rockchip-csi2-dphy-hw.c | 575 struct v4l2_subdev *sensor_sd = get_remote_sensor(sd);
in csi2_dphy_hw_stream_on() local 576 struct csi2_sensor *sensor = sd_to_sensor(dphy, sensor_sd);
in csi2_dphy_hw_stream_on() 758 struct v4l2_subdev *sensor_sd = get_remote_sensor(sd);
in csi2_dcphy_hw_stream_on() local 759 struct csi2_sensor *sensor = sd_to_sensor(dphy, sensor_sd);
in csi2_dcphy_hw_stream_on() 892 struct v4l2_subdev *sensor_sd = get_remote_sensor(sd);
in csi2_dcphy_hw_stream_off() local 893 struct csi2_sensor *sensor = sd_to_sensor(dphy, sensor_sd);
in csi2_dcphy_hw_stream_off()
|
/device/soc/rockchip/rk3588/kernel/drivers/phy/rockchip/ |
H A D | phy-rockchip-csi2-dphy.c | 70 struct v4l2_subdev *sensor_sd = get_remote_sensor(sd); in csi2_dphy_get_sensor_data_rate() local 75 link_freq = v4l2_ctrl_find(sensor_sd->ctrl_handler, V4L2_CID_LINK_FREQ); in csi2_dphy_get_sensor_data_rate() 82 ret = v4l2_querymenu(sensor_sd->ctrl_handler, &qm); in csi2_dphy_get_sensor_data_rate() 102 struct v4l2_subdev *sensor_sd = get_remote_sensor(sd); in csi2_dphy_update_sensor_mbus() local 103 struct csi2_sensor *sensor = sd_to_sensor(dphy, sensor_sd); in csi2_dphy_update_sensor_mbus() 107 ret = v4l2_subdev_call(sensor_sd, pad, get_mbus_config, 0, &mbus); in csi2_dphy_update_sensor_mbus() 208 struct v4l2_subdev *sensor_sd = get_remote_sensor(sd); in csi2_dphy_g_mbus_config() local 211 if (!sensor_sd) in csi2_dphy_g_mbus_config() 213 sensor = sd_to_sensor(dphy, sensor_sd); in csi2_dphy_g_mbus_config() 268 struct v4l2_subdev *sensor_sd in csi2_dphy_get_set_fmt() local [all...] |
H A D | phy-rockchip-mipi-rx.c | 717 struct v4l2_subdev *sensor_sd = get_remote_sensor(sd); in mipidphy_get_sensor_data_rate() local 722 link_freq = v4l2_ctrl_find(sensor_sd->ctrl_handler, V4L2_CID_LINK_FREQ); in mipidphy_get_sensor_data_rate() 729 ret = v4l2_querymenu(sensor_sd->ctrl_handler, &qm); in mipidphy_get_sensor_data_rate() 748 struct v4l2_subdev *sensor_sd = get_remote_sensor(sd); in mipidphy_update_sensor_mbus() local 749 struct mipidphy_sensor *sensor = sd_to_sensor(priv, sensor_sd); in mipidphy_update_sensor_mbus() 753 ret = v4l2_subdev_call(sensor_sd, pad, get_mbus_config, 0, &mbus); in mipidphy_update_sensor_mbus() 875 struct v4l2_subdev *sensor_sd = get_remote_sensor(sd); in mipidphy_g_mbus_config() local 878 if (!sensor_sd) in mipidphy_g_mbus_config() 880 sensor = sd_to_sensor(priv, sensor_sd); in mipidphy_g_mbus_config() 941 struct v4l2_subdev *sensor_sd in mipidphy_get_set_fmt() local 1111 struct v4l2_subdev *sensor_sd = get_remote_sensor(sd); mipidphy_rx_stream_on() local 1202 struct v4l2_subdev *sensor_sd = get_remote_sensor(sd); mipidphy_txrx_stream_on() local 1321 struct v4l2_subdev *sensor_sd = get_remote_sensor(sd); csi_mipidphy_stream_on() local [all...] |
H A D | phy-rockchip-csi2-dphy-hw.c | 594 struct v4l2_subdev *sensor_sd = get_remote_sensor(sd); in csi2_dphy_hw_stream_on() local 595 struct csi2_sensor *sensor = sd_to_sensor(dphy, sensor_sd); in csi2_dphy_hw_stream_on() 766 struct v4l2_subdev *sensor_sd = get_remote_sensor(sd); in csi2_dcphy_hw_stream_on() local 767 struct csi2_sensor *sensor = sd_to_sensor(dphy, sensor_sd); in csi2_dcphy_hw_stream_on() 883 struct v4l2_subdev *sensor_sd = get_remote_sensor(sd); in csi2_dcphy_hw_stream_off() local 884 struct csi2_sensor *sensor = sd_to_sensor(dphy, sensor_sd); in csi2_dcphy_hw_stream_off()
|
/device/soc/rockchip/rk3588/kernel/drivers/media/platform/rockchip/cif/ |
H A D | subdev-itf.c | 59 struct v4l2_subdev *sensor_sd; in sditf_g_frame_interval() local 65 sensor_sd = cif_dev->terminal_sensor.sd; in sditf_g_frame_interval() 66 return v4l2_subdev_call(sensor_sd, video, g_frame_interval, fi); in sditf_g_frame_interval() 77 struct v4l2_subdev *sensor_sd; in sditf_g_mbus_config() local 83 sensor_sd = cif_dev->active_sensor->sd; in sditf_g_mbus_config() 84 return v4l2_subdev_call(sensor_sd, pad, get_mbus_config, 0, config); in sditf_g_mbus_config() 209 struct v4l2_subdev *sensor_sd; in sditf_ioctl() local 230 sensor_sd = cif_dev->terminal_sensor.sd; in sditf_ioctl() 231 return v4l2_subdev_call(sensor_sd, core, ioctl, cmd, arg); in sditf_ioctl() 248 struct v4l2_subdev *sensor_sd; in sditf_compat_ioctl32() local [all...] |
H A D | capture.c | 548 struct v4l2_subdev **sensor_sd) in get_remote_terminal_sensor() 560 *sensor_sd = NULL; in get_remote_terminal_sensor() 573 *sensor_sd = media_entity_to_v4l2_subdev(entity); in get_remote_terminal_sensor() 575 *sensor_sd = NULL; in get_remote_terminal_sensor() 3499 struct v4l2_subdev *sensor_sd; in rkcif_update_sensor_info() local 3502 sensor_sd = get_remote_sensor(stream, NULL); in rkcif_update_sensor_info() 3503 if (!sensor_sd) { in rkcif_update_sensor_info() 3505 "%s: stream[%d] get remote sensor_sd failed!\n", in rkcif_update_sensor_info() 3510 sensor = sd_to_sensor(stream->cifdev, sensor_sd); in rkcif_update_sensor_info() 4791 struct v4l2_subdev *sensor_sd; in rkcif_s_selection() local 547 get_remote_terminal_sensor(struct rkcif_stream *stream, struct v4l2_subdev **sensor_sd) get_remote_terminal_sensor() argument 4826 struct v4l2_subdev *sensor_sd; rkcif_g_selection() local 5250 struct v4l2_subdev *sensor_sd = get_lvds_remote_sensor(sd); rkcif_lvds_g_mbus_config() local [all...] |
H A D | mipi-csi2.c | 451 struct v4l2_subdev *sensor_sd = get_remote_sensor(sd); in csi2_g_mbus_config() local 454 ret = v4l2_subdev_call(sensor_sd, pad, get_mbus_config, 0, mbus); in csi2_g_mbus_config()
|
/device/soc/rockchip/common/vendor/drivers/media/platform/rockchip/cif/ |
H A D | subdev-itf.c | 57 struct v4l2_subdev *sensor_sd;
in sditf_g_frame_interval() local 64 sensor_sd = cif_dev->terminal_sensor.sd;
in sditf_g_frame_interval() 65 return v4l2_subdev_call(sensor_sd, video, g_frame_interval, fi);
in sditf_g_frame_interval() 75 struct v4l2_subdev *sensor_sd;
in sditf_g_mbus_config() local 82 sensor_sd = cif_dev->active_sensor->sd;
in sditf_g_mbus_config() 83 return v4l2_subdev_call(sensor_sd, pad, get_mbus_config, 0, config);
in sditf_g_mbus_config() 201 struct v4l2_subdev *sensor_sd;
in sditf_ioctl() local 223 sensor_sd = cif_dev->terminal_sensor.sd;
in sditf_ioctl() 224 return v4l2_subdev_call(sensor_sd, core, ioctl, cmd, arg);
in sditf_ioctl() 240 struct v4l2_subdev *sensor_sd;
in sditf_compat_ioctl32() local [all...] |
H A D | capture.c | 601 static void get_remote_terminal_sensor(struct rkcif_stream *stream, struct v4l2_subdev **sensor_sd)
in get_remote_terminal_sensor() argument 613 *sensor_sd = NULL;
in get_remote_terminal_sensor() 627 *sensor_sd = media_entity_to_v4l2_subdev(entity);
in get_remote_terminal_sensor() 629 *sensor_sd = NULL;
in get_remote_terminal_sensor() 3400 struct v4l2_subdev *sensor_sd;
in rkcif_update_sensor_info() local 3403 sensor_sd = get_remote_sensor(stream, NULL);
in rkcif_update_sensor_info() 3404 if (!sensor_sd) {
in rkcif_update_sensor_info() 3405 v4l2_err(&stream->cifdev->v4l2_dev, "%s: stream[%d] get remote sensor_sd failed!\n", __func__, stream->id);
in rkcif_update_sensor_info() 3409 sensor = sd_to_sensor(stream->cifdev, sensor_sd);
in rkcif_update_sensor_info() 4617 struct v4l2_subdev *sensor_sd;
in rkcif_s_selection() local 4651 struct v4l2_subdev *sensor_sd; rkcif_g_selection() local 5062 struct v4l2_subdev *sensor_sd = get_lvds_remote_sensor(sd); rkcif_lvds_g_mbus_config() local [all...] |
H A D | mipi-csi2.c | 449 struct v4l2_subdev *sensor_sd = get_remote_sensor(sd);
in csi2_g_mbus_config() local 452 ret = v4l2_subdev_call(sensor_sd, pad, get_mbus_config, 0, mbus);
in csi2_g_mbus_config()
|
/device/soc/rockchip/common/vendor/drivers/media/platform/rockchip/isp/ |
H A D | csi.c | 18 static void get_remote_mipi_sensor(struct rkisp_device *dev, struct v4l2_subdev **sensor_sd, u32 function) in get_remote_mipi_sensor() argument 30 *sensor_sd = NULL; in get_remote_mipi_sensor() 44 *sensor_sd = media_entity_to_v4l2_subdev(entity); in get_remote_mipi_sensor() 46 *sensor_sd = NULL; in get_remote_mipi_sensor()
|
H A D | rkisp.c | 333 struct v4l2_subdev *sensor_sd;
in rkisp_update_sensor_info() local 337 sensor_sd = get_remote_sensor(sd);
in rkisp_update_sensor_info() 338 if (!sensor_sd) {
in rkisp_update_sensor_info() 342 sensor = sd_to_sensor(dev, sensor_sd);
in rkisp_update_sensor_info()
|
/device/soc/rockchip/rk3588/kernel/drivers/media/platform/rockchip/isp/ |
H A D | csi.c | 19 struct v4l2_subdev **sensor_sd, u32 function) in get_remote_mipi_sensor() 31 *sensor_sd = NULL; in get_remote_mipi_sensor() 44 *sensor_sd = media_entity_to_v4l2_subdev(entity); in get_remote_mipi_sensor() 46 *sensor_sd = NULL; in get_remote_mipi_sensor() 18 get_remote_mipi_sensor(struct rkisp_device *dev, struct v4l2_subdev **sensor_sd, u32 function) get_remote_mipi_sensor() argument
|
H A D | rkisp.c | 351 struct v4l2_subdev *sensor_sd; in rkisp_update_sensor_info() local 355 sensor_sd = get_remote_sensor(sd); in rkisp_update_sensor_info() 356 if (!sensor_sd) in rkisp_update_sensor_info() 359 sensor = sd_to_sensor(dev, sensor_sd); in rkisp_update_sensor_info()
|