Searched refs:locking_ops (Results 1 – 5 of 5) sorted by relevance
352 nor->params->locking_ops = &spi_nor_sr_locking_ops; in spi_nor_init_default_locking_ops()364 ret = nor->params->locking_ops->lock(nor, ofs, len); in spi_nor_lock()379 ret = nor->params->locking_ops->unlock(nor, ofs, len); in spi_nor_unlock()394 ret = nor->params->locking_ops->is_locked(nor, ofs, len); in spi_nor_is_locked()430 if (!nor->params->locking_ops) in spi_nor_set_mtd_locking_ops()
53 nor->params->locking_ops = &at25fs_nor_locking_ops; in at25fs_nor_late_init()154 nor->params->locking_ops = &atmel_nor_global_protection_ops; in atmel_nor_global_protection_late_init()
54 nor->params->locking_ops = &sst26vf_nor_locking_ops; in sst26vf_nor_late_init()
401 const struct spi_nor_locking_ops *locking_ops; member
2850 if (nor->flags & SNOR_F_HAS_LOCK && !nor->params->locking_ops) in spi_nor_late_init_params()