Home
last modified time | relevance | path

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

/openbmc/linux/drivers/staging/media/imx/
H A Dimx-media-fim.c88 dev_dbg(fim->sd->dev, "FI=%lu usec\n", fim->nominal); in update_fim_nominal()
120 if (fim->tolerance_max <= fim->tolerance_min) in reset_fim()
125 fim->num_skip = max_t(int, fim->num_skip, 1); in reset_fim()
127 fim->counter = -fim->num_skip; in reset_fim()
153 if (!fim->enabled || ++fim->counter <= 0) in frame_interval_monitor()
164 if (fim->tolerance_max && error >= fim->tolerance_max) { in frame_interval_monitor()
174 if (fim->counter == fim->num_avg) { in frame_interval_monitor()
175 error_avg = DIV_ROUND_CLOSEST(fim->sum, fim->num_avg); in frame_interval_monitor()
205 if (!fim->enabled || fim->num_skip > 0) in fim_acquire_first_ts()
414 if (!fim) in imx_media_fim_init()
[all …]
H A 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);
H A Dimx-media-csi.c65 struct imx_media_fim *fim; member
314 if (priv->fim) in csi_idmac_eof_interrupt()
823 if (priv->fim) in csi_stop()
1068 if (priv->fim) { in csi_link_setup()
1788 priv->fim = imx_media_fim_init(&priv->sd); in csi_registered()
1789 if (IS_ERR(priv->fim)) { in csi_registered()
1790 ret = PTR_ERR(priv->fim); in csi_registered()
1810 if (priv->fim) in csi_registered()
1811 imx_media_fim_free(priv->fim); in csi_registered()
1824 if (priv->fim) in csi_unregistered()
[all …]
H A DMakefile9 imx6-media-csi-objs := imx-media-csi.o imx-media-fim.o