Home
last modified time | relevance | path

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

/openbmc/linux/drivers/gpu/ipu-v3/
H A Dipu-smfc.c38 struct ipu_smfc_priv *priv = smfc->priv; in ipu_smfc_set_burstsize()
44 shift = smfc->chno * 4; in ipu_smfc_set_burstsize()
58 struct ipu_smfc_priv *priv = smfc->priv; in ipu_smfc_map_channel()
64 shift = smfc->chno * 3; in ipu_smfc_map_channel()
84 shift = smfc->chno * 6 + (smfc->chno > 1 ? 4 : 0); in ipu_smfc_set_watermark()
138 struct ipu_smfc *smfc, *ret; in ipu_smfc_get() local
144 smfc = &priv->channel[chno]; in ipu_smfc_get()
145 ret = smfc; in ipu_smfc_get()
149 if (smfc->inuse) { in ipu_smfc_get()
154 smfc->inuse = true; in ipu_smfc_get()
[all …]
H A DMakefile6 ipu-image-convert.o ipu-smfc.o ipu-vdi.o
/openbmc/linux/include/video/
H A Dimx-ipu-v3.h480 void ipu_smfc_put(struct ipu_smfc *smfc);
481 int ipu_smfc_enable(struct ipu_smfc *smfc);
482 int ipu_smfc_disable(struct ipu_smfc *smfc);
483 int ipu_smfc_map_channel(struct ipu_smfc *smfc, int csi_id, int mipi_id);
484 int ipu_smfc_set_burstsize(struct ipu_smfc *smfc, int burstsize);
485 int ipu_smfc_set_watermark(struct ipu_smfc *smfc, u32 set_level, u32 clr_level);
/openbmc/linux/drivers/staging/media/imx/
H A Dimx-media-csi.c75 struct ipu_smfc *smfc; member
227 if (priv->smfc) in csi_idmac_put_ipu_resources()
228 ipu_smfc_put(priv->smfc); in csi_idmac_put_ipu_resources()
229 priv->smfc = NULL; in csi_idmac_put_ipu_resources()
235 struct ipu_smfc *smfc; in csi_idmac_get_ipu_resources() local
240 smfc = ipu_smfc_get(priv->ipu, ch_num); in csi_idmac_get_ipu_resources()
241 if (IS_ERR(smfc)) { in csi_idmac_get_ipu_resources()
243 ret = PTR_ERR(smfc); in csi_idmac_get_ipu_resources()
246 priv->smfc = smfc; in csi_idmac_get_ipu_resources()
570 ipu_smfc_disable(priv->smfc); in csi_idmac_unsetup()
[all …]