Lines Matching refs:smfc
36 int ipu_smfc_set_burstsize(struct ipu_smfc *smfc, int burstsize) in ipu_smfc_set_burstsize() argument
38 struct ipu_smfc_priv *priv = smfc->priv; in ipu_smfc_set_burstsize()
44 shift = smfc->chno * 4; in ipu_smfc_set_burstsize()
56 int ipu_smfc_map_channel(struct ipu_smfc *smfc, int csi_id, int mipi_id) in ipu_smfc_map_channel() argument
58 struct ipu_smfc_priv *priv = smfc->priv; in ipu_smfc_map_channel()
64 shift = smfc->chno * 3; in ipu_smfc_map_channel()
76 int ipu_smfc_set_watermark(struct ipu_smfc *smfc, u32 set_level, u32 clr_level) in ipu_smfc_set_watermark() argument
78 struct ipu_smfc_priv *priv = smfc->priv; in ipu_smfc_set_watermark()
84 shift = smfc->chno * 6 + (smfc->chno > 1 ? 4 : 0); in ipu_smfc_set_watermark()
96 int ipu_smfc_enable(struct ipu_smfc *smfc) in ipu_smfc_enable() argument
98 struct ipu_smfc_priv *priv = smfc->priv; in ipu_smfc_enable()
114 int ipu_smfc_disable(struct ipu_smfc *smfc) in ipu_smfc_disable() argument
116 struct ipu_smfc_priv *priv = smfc->priv; in ipu_smfc_disable()
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()
161 void ipu_smfc_put(struct ipu_smfc *smfc) in ipu_smfc_put() argument
163 struct ipu_smfc_priv *priv = smfc->priv; in ipu_smfc_put()
167 smfc->inuse = false; in ipu_smfc_put()