Searched refs:link_freq (Results 1 - 25 of 61) sorted by relevance

123

/linux-master/drivers/media/platform/qcom/camss/
H A Dcamss-csiphy-2ph-1-0.c73 static u8 csiphy_settle_cnt_calc(s64 link_freq, u32 timer_clk_rate) argument
82 if (link_freq <= 0)
85 ui = div_u64(1000000000000LL, link_freq);
99 s64 link_freq, u8 lane_mask)
106 settle_cnt = csiphy_settle_cnt_calc(link_freq, csiphy->timer_clk_rate);
97 csiphy_lanes_enable(struct csiphy_device *csiphy, struct csiphy_config *cfg, s64 link_freq, u8 lane_mask) argument
H A Dcamss-csiphy.c130 s64 link_freq; local
138 link_freq = camss_get_link_freq(&csiphy->subdev.entity, bpp, num_lanes);
139 if (link_freq < 0)
140 link_freq = 0;
146 u64 min_rate = link_freq / 4;
245 s64 link_freq; local
252 link_freq = camss_get_link_freq(&csiphy->subdev.entity, bpp, num_lanes);
254 if (link_freq < 0) {
275 csiphy->ops->lanes_enable(csiphy, cfg, link_freq, lane_mask);
H A Dcamss-csiphy.h60 s64 link_freq, u8 lane_mask);
H A Dcamss-csiphy-3ph-1-0.c331 static u8 csiphy_settle_cnt_calc(s64 link_freq, u32 timer_clk_rate) argument
339 if (link_freq <= 0)
342 ui = div_u64(1000000000000LL, link_freq);
468 s64 link_freq, u8 lane_mask)
477 settle_cnt = csiphy_settle_cnt_calc(link_freq, csiphy->timer_clk_rate);
466 csiphy_lanes_enable(struct csiphy_device *csiphy, struct csiphy_config *cfg, s64 link_freq, u8 lane_mask) argument
H A Dcamss-csid.c91 s64 link_freq; local
97 link_freq = camss_get_link_freq(&csid->subdev.entity, fmt->bpp,
99 if (link_freq < 0)
100 link_freq = 0;
109 u64 min_rate = link_freq / 4;
/linux-master/drivers/media/i2c/
H A Dccs-pll.h87 * @link_freq: Chosen link frequency (input)
113 u32 link_freq; member in struct:ccs_pll
H A Dov5645.c82 u32 link_freq; member in struct:ov5645_mode_info
101 struct v4l2_ctrl *link_freq; member in struct:ov5645
508 static const s64 link_freq[] = { variable
520 .link_freq = 0 /* an index in link_freq[] */
528 .link_freq = 1 /* an index in link_freq[] */
536 .link_freq = 1 /* an index in link_freq[] */
919 ret = v4l2_ctrl_s_ctrl(ov5645->link_freq,
[all...]
H A Dimx208.c209 * pixel_rate = link_freq * data-rate * nr_of_lanes / bits_per_sample
276 struct v4l2_ctrl *link_freq; member in struct:imx208
583 s64 link_freq; local
596 __v4l2_ctrl_s_ctrl(imx208->link_freq, mode->link_freq_index);
597 link_freq = link_freq_menu_items[mode->link_freq_index];
598 pixel_rate = link_freq_to_pixel_rate(link_freq);
853 imx208->link_freq =
860 if (imx208->link_freq)
861 imx208->link_freq->flags |= V4L2_CTRL_FLAG_READ_ONLY;
H A Dimx214.c67 struct v4l2_ctrl *link_freq; member in struct:imx214
725 static const s64 link_freq[] = { local
750 imx214->link_freq = v4l2_ctrl_new_int_menu(ctrl_hdlr, NULL,
752 ARRAY_SIZE(link_freq) - 1,
753 0, link_freq);
754 if (imx214->link_freq)
755 imx214->link_freq->flags |= V4L2_CTRL_FLAG_READ_ONLY;
H A Dov2680.c131 struct v4l2_ctrl *link_freq; member in struct:ov2680_ctrls
159 s64 link_freq[1]; member in struct:ov2680_dev
957 ctrls->link_freq = v4l2_ctrl_new_int_menu(hdl, NULL, V4L2_CID_LINK_FREQ,
958 0, 0, sensor->link_freq);
970 ctrls->link_freq->flags |= V4L2_CTRL_FLAG_READ_ONLY;
1112 sensor->link_freq[0] = sensor->xvclk_freq / OV2680_PLL_PREDIV0 /
1116 sensor->pixel_rate = sensor->link_freq[0] * 2;
1127 if (bus_cfg.link_frequencies[i] == sensor->link_freq[0])
1134 sensor->link_freq[0]);
H A Dthp7312.c175 u32 link_freq; member in struct:thp7312_frame_rate
269 s64 link_freq; member in struct:thp7312_device
764 thp7312->link_freq = mode->rates[0].link_freq;
794 thp7312->link_freq = rate->link_freq;
1228 struct v4l2_ctrl *link_freq; local
1322 thp7312->link_freq = thp7312_mode_info_data[0].rates[0].link_freq;
1324 link_freq
[all...]
H A Dov7251.c82 u32 link_freq; member in struct:ov7251_mode_info
146 struct v4l2_ctrl *link_freq; member in struct:ov7251
632 static const s64 link_freq[] = { variable
1504 for (j = 0; j < ARRAY_SIZE(link_freq); j++)
1505 if (bus_cfg.link_frequencies[i] == link_freq[j])
1508 if (j < ARRAY_SIZE(link_freq))
1587 ov7251->link_freq = v4l2_ctrl_new_int_menu(&ov7251->ctrls,
1590 ARRAY_SIZE(link_freq) - 1,
1592 link_freq);
1593 if (ov7251->link_freq)
[all...]
H A Dimx258.c532 * pixel_rate = link_freq * data-rate * nr_of_lanes / bits_per_sample
610 struct v4l2_ctrl *link_freq; member in struct:imx258
898 s64 link_freq; local
914 __v4l2_ctrl_s_ctrl(imx258->link_freq, mode->link_freq_index);
916 link_freq = link_freq_menu_items[mode->link_freq_index];
917 pixel_rate = link_freq_to_pixel_rate(link_freq);
1128 imx258->link_freq = v4l2_ctrl_new_int_menu(ctrl_hdlr,
1135 if (imx258->link_freq)
1136 imx258->link_freq->flags |= V4L2_CTRL_FLAG_READ_ONLY;
H A Dov13b10.c532 * pixel_rate = link_freq * data-rate * nr_of_lanes / bits_per_sample
641 struct v4l2_ctrl *link_freq; member in struct:ov13b10
1041 s64 link_freq; local
1059 __v4l2_ctrl_s_ctrl(ov13b->link_freq, mode->link_freq_index);
1060 link_freq = link_freq_menu_items[mode->link_freq_index];
1061 pixel_rate = link_freq_to_pixel_rate(link_freq);
1305 ov13b->link_freq = v4l2_ctrl_new_int_menu(ctrl_hdlr,
1311 if (ov13b->link_freq)
1312 ov13b->link_freq->flags |= V4L2_CTRL_FLAG_READ_ONLY;
H A Dog01a1b.c426 struct v4l2_ctrl *link_freq; member in struct:og01a1b
611 og01a1b->link_freq = v4l2_ctrl_new_int_menu(ctrl_hdlr,
617 if (og01a1b->link_freq)
618 og01a1b->link_freq->flags |= V4L2_CTRL_FLAG_READ_ONLY;
775 __v4l2_ctrl_s_ctrl(og01a1b->link_freq, mode->link_freq_index);
H A Dov01a10.c283 struct v4l2_ctrl *link_freq; member in struct:ov01a10
539 ov01a10->link_freq = v4l2_ctrl_new_int_menu(ctrl_hdlr,
544 if (ov01a10->link_freq)
545 ov01a10->link_freq->flags |= V4L2_CTRL_FLAG_READ_ONLY;
712 __v4l2_ctrl_s_ctrl(ov01a10->link_freq, mode->link_freq_index);
H A Dst-mipid02.c319 s64 link_freq; local
321 link_freq = v4l2_get_link_freq(subdev->ctrl_handler, bpp,
323 if (link_freq < 0) {
328 dev_dbg(&client->dev, "detect link_freq = %lld Hz", link_freq);
329 do_div(ui_4, link_freq);
H A Dov9734.c329 struct v4l2_ctrl *link_freq; member in struct:ov9734
553 ov9734->link_freq = v4l2_ctrl_new_int_menu(ctrl_hdlr, &ov9734_ctrl_ops,
557 if (ov9734->link_freq)
558 ov9734->link_freq->flags |= V4L2_CTRL_FLAG_READ_ONLY;
703 __v4l2_ctrl_s_ctrl(ov9734->link_freq, mode->link_freq_index);
H A Dmt9v032.c196 struct v4l2_ctrl *link_freq; member in struct:mt9v032::__anon323
682 if (mt9v032->link_freq == NULL)
685 freq = mt9v032->pdata->link_freqs[mt9v032->link_freq->val];
1130 mt9v032->link_freq =
1135 v4l2_ctrl_cluster(2, &mt9v032->link_freq);
H A Dov13858.c946 * pixel_rate = link_freq * data-rate * nr_of_lanes / bits_per_sample
1036 struct v4l2_ctrl *link_freq; member in struct:ov13858
1356 s64 link_freq; local
1374 __v4l2_ctrl_s_ctrl(ov13858->link_freq, mode->link_freq_index);
1375 link_freq = link_freq_menu_items[mode->link_freq_index];
1376 pixel_rate = link_freq_to_pixel_rate(link_freq);
1574 ov13858->link_freq = v4l2_ctrl_new_int_menu(ctrl_hdlr,
1580 if (ov13858->link_freq)
1581 ov13858->link_freq->flags |= V4L2_CTRL_FLAG_READ_ONLY;
/linux-master/drivers/media/platform/ti/cal/
H A Dcal-camerarx.c133 static void cal_camerarx_config(struct cal_camerarx *phy, s64 link_freq) argument
141 ths_term = div_s64(20 * link_freq, 1000 * 1000 * 1000);
145 ths_settle = div_s64(105 * link_freq, 1000 * 1000 * 1000) + 4;
289 s64 link_freq; local
299 link_freq = cal_camerarx_get_ext_link_freq(phy);
300 if (link_freq < 0)
301 return link_freq;
349 cal_camerarx_config(phy, link_freq);
/linux-master/drivers/media/pci/intel/ivsc/
H A Dmei_csi.c85 u32 link_freq; member in struct:csi_link_cfg
135 u64 link_freq; member in struct:mei_csi
231 cmd.param.conf.link_freq = CSI_LINK_FREQ(csi->link_freq);
291 "error %lld, invalid link_freq\n", freq);
295 csi->link_freq = freq;
480 "error %lld, invalid link_freq\n", freq);
/linux-master/drivers/media/platform/cadence/
H A Dcdns-csi2rx.c174 s64 link_freq; local
184 link_freq = v4l2_get_link_freq(csi2rx->source_subdev->ctrl_handler,
186 if (link_freq < 0)
187 return link_freq;
189 ret = phy_mipi_dphy_get_default_config_for_hsclk(link_freq,
/linux-master/drivers/media/platform/nxp/
H A Dimx8mq-mipi-csi2.c290 s64 link_freq; local
302 link_freq = v4l2_get_link_freq(state->src_sd->ctrl_handler,
305 if (link_freq < 0) {
307 (int)link_freq);
308 return link_freq;
311 lane_rate = link_freq * 2;
H A Dimx-mipi-csis.c595 s64 link_freq; local
599 link_freq = v4l2_get_link_freq(csis->src_sd->ctrl_handler,
602 if (link_freq < 0) {
604 (int)link_freq);
605 return link_freq;
608 lane_rate = link_freq * 2;

Completed in 243 milliseconds

123