Lines Matching defs:context
75 static bool in_hole(void *context, u32 index)
77 struct ocotp_priv *priv = context;
92 static bool in_ecc(void *context, u32 index)
94 struct ocotp_priv *priv = context;
132 static int imx_scu_ocotp_read(void *context, unsigned int offset,
135 struct ocotp_priv *priv = context;
157 if (in_hole(context, i)) {
180 static int imx_scu_ocotp_write(void *context, unsigned int offset,
183 struct ocotp_priv *priv = context;
196 if (in_hole(context, index))
199 if (in_ecc(context, index)) {