Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/staging/media/imx/
Dimx-media-fim.c71 static bool icap_enabled(struct imx_media_fim *fim) in icap_enabled() argument
73 return fim->icap_flags != IRQ_TYPE_NONE; in icap_enabled()
76 static void update_fim_nominal(struct imx_media_fim *fim, in update_fim_nominal() argument
80 dev_dbg(fim->sd->dev, "no frame interval, FIM disabled\n"); in update_fim_nominal()
81 fim->enabled = false; in update_fim_nominal()
85 fim->nominal = DIV_ROUND_CLOSEST_ULL(1000000ULL * (u64)fi->numerator, in update_fim_nominal()
88 dev_dbg(fim->sd->dev, "FI=%lu usec\n", fim->nominal); in update_fim_nominal()
91 static void reset_fim(struct imx_media_fim *fim, bool curval) in reset_fim() argument
93 struct v4l2_ctrl *icap_chan = fim->icap_ctrl[FIM_CL_ICAP_CHANNEL]; in reset_fim()
94 struct v4l2_ctrl *icap_edge = fim->icap_ctrl[FIM_CL_ICAP_EDGE]; in reset_fim()
[all …]
Dimx-media.h238 void imx_media_fim_eof_monitor(struct imx_media_fim *fim, ktime_t timestamp);
239 void imx_media_fim_set_stream(struct imx_media_fim *fim,
242 int imx_media_fim_add_controls(struct imx_media_fim *fim);
244 void imx_media_fim_free(struct imx_media_fim *fim);
Dimx-media-csi.c65 struct imx_media_fim *fim; member
314 if (priv->fim) in csi_idmac_eof_interrupt()
316 imx_media_fim_eof_monitor(priv->fim, ktime_get()); in csi_idmac_eof_interrupt()
782 if (priv->fim && priv->dest == IPU_CSI_DEST_IDMAC) in csi_start()
783 imx_media_fim_set_stream(priv->fim, output_fi, true); in csi_start()
794 if (priv->fim && priv->dest == IPU_CSI_DEST_IDMAC) in csi_start()
795 imx_media_fim_set_stream(priv->fim, NULL, false); in csi_start()
823 if (priv->fim) in csi_stop()
824 imx_media_fim_set_stream(priv->fim, NULL, false); in csi_stop()
1068 if (priv->fim) { in csi_link_setup()
[all …]
DMakefile9 imx6-media-csi-objs := imx-media-csi.o imx-media-fim.o