Lines Matching defs:offset
157 static int imx_ocotp_read(void *context, unsigned int offset,
166 index = offset >> 2;
167 num_bytes = round_up((offset % 4) + bytes, 4);
211 index = offset % 4;
224 unsigned int offset, void *data, size_t bytes)
310 static int imx_ocotp_write(void *context, unsigned int offset, void *val,
323 (offset % priv->config->word_size))
363 offset = offset / priv->config->word_size;
364 waddr = offset / priv->params->bank_address_words;
365 word = offset & (priv->params->bank_address_words - 1);
372 waddr = offset / 4;