Lines Matching refs:mem_op
43 u32 mem_op; member
169 writel(sect, ®s->mem_op); in altera_qspi_erase()
262 u32 mem_op; in altera_qspi_lock() local
281 mem_op = (sr_tb << 12) | (sr_bp << 8); in altera_qspi_lock()
282 mem_op |= QUADSPI_MEM_OP_SECTOR_PROTECT; in altera_qspi_lock()
283 debug("lock %08x\n", mem_op); in altera_qspi_lock()
284 writel(mem_op, ®s->mem_op); in altera_qspi_lock()
294 u32 mem_op; in altera_qspi_unlock() local
296 mem_op = QUADSPI_MEM_OP_SECTOR_PROTECT; in altera_qspi_unlock()
297 debug("unlock %08x\n", mem_op); in altera_qspi_unlock()
298 writel(mem_op, ®s->mem_op); in altera_qspi_unlock()