Home
last modified time | relevance | path

Searched refs:csi_chan (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.10/drivers/staging/media/tegra-video/
Dcsi.c85 struct tegra_csi_channel *csi_chan = to_csi_chan(subdev); in csi_get_format() local
90 fmt->format = csi_chan->format; in csi_get_format()
113 static void csi_chan_update_blank_intervals(struct tegra_csi_channel *csi_chan, in csi_chan_update_blank_intervals() argument
116 struct tegra_csi *csi = csi_chan->csi; in csi_chan_update_blank_intervals()
120 index = csi_get_frmrate_table_index(csi_chan->csi, code, in csi_chan_update_blank_intervals()
123 csi_chan->h_blank = frmrate[index].h_blank; in csi_chan_update_blank_intervals()
124 csi_chan->v_blank = frmrate[index].v_blank; in csi_chan_update_blank_intervals()
125 csi_chan->framerate = frmrate[index].framerate; in csi_chan_update_blank_intervals()
160 struct tegra_csi_channel *csi_chan = to_csi_chan(subdev); in csi_enum_frameintervals() local
161 struct tegra_csi *csi = csi_chan->csi; in csi_enum_frameintervals()
[all …]
Dcsi.h102 int (*csi_start_streaming)(struct tegra_csi_channel *csi_chan);
103 void (*csi_stop_streaming)(struct tegra_csi_channel *csi_chan);
104 void (*csi_err_recover)(struct tegra_csi_channel *csi_chan);
152 void tegra_csi_calc_settle_time(struct tegra_csi_channel *csi_chan,
Dtegra210.c720 static void tegra210_csi_error_recover(struct tegra_csi_channel *csi_chan) in tegra210_csi_error_recover() argument
722 struct tegra_csi *csi = csi_chan->csi; in tegra210_csi_error_recover()
723 unsigned int portno = csi_chan->csi_port_num; in tegra210_csi_error_recover()
740 if (csi_chan->numlanes == 4) { in tegra210_csi_error_recover()
772 static int tegra210_csi_start_streaming(struct tegra_csi_channel *csi_chan) in tegra210_csi_start_streaming() argument
774 struct tegra_csi *csi = csi_chan->csi; in tegra210_csi_start_streaming()
775 unsigned int portno = csi_chan->csi_port_num; in tegra210_csi_start_streaming()
780 if (!csi_chan->pg_mode) in tegra210_csi_start_streaming()
781 tegra_csi_calc_settle_time(csi_chan, &clk_settle_time, in tegra210_csi_start_streaming()
806 if (csi_chan->numlanes == 4) { in tegra210_csi_start_streaming()
[all …]
Dvi.c194 struct tegra_csi_channel *csi_chan; in tegra_channel_enable_stream() local
210 csi_chan = v4l2_get_subdevdata(csi_subdev); in tegra_channel_enable_stream()
222 err = tegra_mipi_finish_calibration(csi_chan->mipi); in tegra_channel_enable_stream()
228 dev_warn(csi_chan->csi->dev, in tegra_channel_enable_stream()
1177 struct tegra_csi_channel *csi_chan; in tegra_v4l2_nodes_cleanup_tpg() local
1183 list_for_each_entry(csi_chan, &csi->csi_chans, list) in tegra_v4l2_nodes_cleanup_tpg()
1184 v4l2_device_unregister_subdev(&csi_chan->subdev); in tegra_v4l2_nodes_cleanup_tpg()
1192 struct tegra_csi_channel *csi_chan; in tegra_v4l2_nodes_setup_tpg() local
1199 csi_chan = list_first_entry(&csi->csi_chans, in tegra_v4l2_nodes_setup_tpg()
1203 struct media_entity *source = &csi_chan->subdev.entity; in tegra_v4l2_nodes_setup_tpg()
[all …]