Lines Matching defs:ops
250 const struct spi_nor_otp_ops *ops = nor->params->otp.ops;
266 locked = ops->is_locked(nor, i);
287 const struct spi_nor_otp_ops *ops = nor->params->otp.ops;
298 locked = ops->is_locked(nor, region);
312 const struct spi_nor_otp_ops *ops = nor->params->otp.ops;
363 ret = ops->write(nor, rstart + rofs, len, buf);
365 ret = ops->read(nor, rstart + rofs, len, (u8 *)buf);
398 const struct spi_nor_otp_ops *ops = nor->params->otp.ops;
405 if (!ops->erase)
434 ret = ops->erase(nor, rstart);
451 const struct spi_nor_otp_ops *ops = nor->params->otp.ops;
469 ret = ops->lock(nor, region);
487 if (!nor->params->otp.ops)