Lines Matching refs:status
104 UINT status; in _lx_nand_flash_open() local
153 status = _lx_nand_flash_memory_initialize(nand_flash, memory_ptr, memory_size); in _lx_nand_flash_open()
154 if (status != LX_SUCCESS) in _lx_nand_flash_open()
156 return(status); in _lx_nand_flash_open()
172 status = _lx_nand_flash_driver_block_status_get(nand_flash, block, &block_status); in _lx_nand_flash_open()
175 if (status) in _lx_nand_flash_open()
179 _lx_nand_flash_system_error(nand_flash, status, block, 0); in _lx_nand_flash_open()
203 …status = (nand_flash -> lx_nand_flash_driver_pages_read)(nand_flash, block, 0, page_buffer_ptr, sp… in _lx_nand_flash_open()
205 …status = (nand_flash -> lx_nand_flash_driver_pages_read)(block, 0, page_buffer_ptr, spare_buffer_p… in _lx_nand_flash_open()
209 if (status) in _lx_nand_flash_open()
213 _lx_nand_flash_system_error(nand_flash, status, block, 0); in _lx_nand_flash_open()
216 if (status != LX_NAND_ERROR_CORRECTED) in _lx_nand_flash_open()
282 …status = (nand_flash -> lx_nand_flash_driver_pages_read)(nand_flash, block, page, page_buffer_ptr,… in _lx_nand_flash_open()
284 …status = (nand_flash -> lx_nand_flash_driver_pages_read)(block, page, page_buffer_ptr, spare_buffe… in _lx_nand_flash_open()
288 if (status) in _lx_nand_flash_open()
292 _lx_nand_flash_system_error(nand_flash, status, block, 0); in _lx_nand_flash_open()
295 if (status != LX_NAND_ERROR_CORRECTED) in _lx_nand_flash_open()
326 status = LX_ERROR; in _lx_nand_flash_open()
342 status = LX_ERROR; in _lx_nand_flash_open()
358 status = LX_ERROR; in _lx_nand_flash_open()
395 status = LX_ERROR; in _lx_nand_flash_open()
399 if (status == LX_ERROR) in _lx_nand_flash_open()
438 } while (nand_flash -> lx_nand_flash_metadata_block_current_page == 0 && status != LX_ERROR); in _lx_nand_flash_open()
441 if (nand_flash -> lx_nand_flash_metadata_block_current_page == 0 || status == LX_ERROR) in _lx_nand_flash_open()
474 … status = tx_mutex_create(&nand_flash -> lx_nand_flash_mutex, "NAND Flash Mutex", TX_NO_INHERIT); in _lx_nand_flash_open()
477 if (status != LX_SUCCESS) in _lx_nand_flash_open()