Searched refs:sectors_to_lock (Results 1 – 6 of 6) sorted by relevance
74 alt_flash_fd* fd, alt_u32 sectors_to_lock) in alt_lock_flash() argument76 return fd->lock( fd, sectors_to_lock); in alt_lock_flash()
78 typedef int (*alt_flash_lock)(alt_flash_dev* flash, alt_u32 sectors_to_lock);
74 int alt_qspi_controller2_lock(alt_flash_dev *flash_info, alt_u32 sectors_to_lock) in alt_qspi_controller2_lock() argument90 if(NULL == flash_info || 0 > sectors_to_lock) in alt_qspi_controller2_lock()106 mem_op_value = sectors_to_lock << 8; in alt_qspi_controller2_lock()146 if(result != sectors_to_lock) in alt_qspi_controller2_lock()
72 int alt_epcq_controller_lock(alt_flash_dev *flash_info, alt_u32 sectors_to_lock) in alt_epcq_controller_lock() argument80 if(NULL == flash_info || 0 > sectors_to_lock) in alt_epcq_controller_lock()88 mem_op_value = sectors_to_lock << 8; in alt_epcq_controller_lock()108 if(result != sectors_to_lock) in alt_epcq_controller_lock()
111 int alt_qspi_controller2_lock(alt_flash_dev *flash_info, alt_u32 sectors_to_lock);
105 int alt_epcq_controller_lock(alt_flash_dev *flash_info, alt_u32 sectors_to_lock);