Searched refs:mem_op_value (Results 1 – 2 of 2) sorted by relevance
78 alt_u32 mem_op_value = 0; /* value to write to EPCQ_MEM_OP register */ in alt_qspi_controller2_lock() local106 mem_op_value = sectors_to_lock << 8; in alt_qspi_controller2_lock()112 mem_op_value |= ALTERA_QSPI_CONTROLLER2_MEM_OP_SECTOR_PROTECT_CMD; in alt_qspi_controller2_lock()118 IOWR_ALTERA_QSPI_CONTROLLER2_MEM_OP(qspi_flash_info->csr_base, mem_op_value); in alt_qspi_controller2_lock()294 alt_u32 mem_op_value = 0; /* value to write to EPCQ_MEM_OP register */ in alt_qspi_controller2_erase_block() local350 mem_op_value = (sector_number << 8) & ALTERA_QSPI_CONTROLLER2_MEM_OP_SECTOR_VALUE_MASK; in alt_qspi_controller2_erase_block()356 mem_op_value |= ALTERA_QSPI_CONTROLLER2_MEM_OP_SECTOR_ERASE_CMD; in alt_qspi_controller2_erase_block()362 IOWR_ALTERA_QSPI_CONTROLLER2_MEM_OP(qspi_flash_info->csr_base, mem_op_value); in alt_qspi_controller2_erase_block()
74 alt_u32 mem_op_value = 0; /* value to write to EPCQ_MEM_OP register */ in alt_epcq_controller_lock() local88 mem_op_value = sectors_to_lock << 8; in alt_epcq_controller_lock()91 mem_op_value |= ALTERA_EPCQ_CONTROLLER_MEM_OP_SECTOR_PROTECT_CMD; in alt_epcq_controller_lock()94 IOWR_ALTERA_EPCQ_CONTROLLER_MEM_OP(epcq_flash_info->csr_base, mem_op_value); in alt_epcq_controller_lock()182 alt_u32 mem_op_value = 0; /* value to write to EPCQ_MEM_OP register */ in alt_epcq_controller_erase_block() local210 mem_op_value = (sector_number << 8) & ALTERA_EPCQ_CONTROLLER_MEM_OP_SECTOR_VALUE_MASK; in alt_epcq_controller_erase_block()213 mem_op_value |= ALTERA_EPCQ_CONTROLLER_MEM_OP_SECTOR_ERASE_CMD; in alt_epcq_controller_erase_block()216 IOWR_ALTERA_EPCQ_CONTROLLER_MEM_OP(epcq_flash_info->csr_base, mem_op_value); in alt_epcq_controller_erase_block()