Lines Matching refs:status

95 UINT        status;  in _lx_nand_flash_sector_release()  local
116 status = _lx_nand_flash_block_find(nand_flash, logical_sector, &block, &block_status); in _lx_nand_flash_sector_release()
119 if (status != LX_SUCCESS) in _lx_nand_flash_sector_release()
123 _lx_nand_flash_system_error(nand_flash, status, block, 0); in _lx_nand_flash_sector_release()
126 if (status != LX_NAND_ERROR_CORRECTED) in _lx_nand_flash_sector_release()
159status = (nand_flash -> lx_nand_flash_driver_pages_read)(nand_flash, block, (ULONG)page, LX_NULL, … in _lx_nand_flash_sector_release()
161status = (nand_flash -> lx_nand_flash_driver_pages_read)(block, (ULONG)page, LX_NULL, spare_buffer… in _lx_nand_flash_sector_release()
165 if (status) in _lx_nand_flash_sector_release()
169 _lx_nand_flash_system_error(nand_flash, status, block, 0); in _lx_nand_flash_sector_release()
215 status = _lx_nand_flash_block_allocate(nand_flash, &new_block); in _lx_nand_flash_sector_release()
218 if (status != LX_SUCCESS) in _lx_nand_flash_sector_release()
221 _lx_nand_flash_system_error(nand_flash, status, new_block, 0); in _lx_nand_flash_sector_release()
240status = _lx_nand_flash_data_page_copy(nand_flash, logical_sector - (logical_sector % nand_flash -… in _lx_nand_flash_sector_release()
243 if (status) in _lx_nand_flash_sector_release()
247 _lx_nand_flash_system_error(nand_flash, status, new_block, 0); in _lx_nand_flash_sector_release()
263status = _lx_nand_flash_data_page_copy(nand_flash, logical_sector + 1, block, block_status, new_bl… in _lx_nand_flash_sector_release()
266 if (status) in _lx_nand_flash_sector_release()
270 _lx_nand_flash_system_error(nand_flash, status, new_block, 0); in _lx_nand_flash_sector_release()
296status = _lx_nand_flash_block_status_set(nand_flash, new_block, new_block_status); in _lx_nand_flash_sector_release()
299 if (status) in _lx_nand_flash_sector_release()
303 _lx_nand_flash_system_error(nand_flash, status, block, 0); in _lx_nand_flash_sector_release()
319status = _lx_nand_flash_driver_block_erase(nand_flash, block, nand_flash -> lx_nand_flash_base_era… in _lx_nand_flash_sector_release()
322 if (status) in _lx_nand_flash_sector_release()
326 _lx_nand_flash_system_error(nand_flash, status, block, 0); in _lx_nand_flash_sector_release()
338status = _lx_nand_flash_erase_count_set(nand_flash, block, (UCHAR)(nand_flash -> lx_nand_flash_era… in _lx_nand_flash_sector_release()
341 if (status) in _lx_nand_flash_sector_release()
345 _lx_nand_flash_system_error(nand_flash, status, block, 0); in _lx_nand_flash_sector_release()
367status = _lx_nand_flash_block_status_set(nand_flash, block, LX_NAND_BLOCK_STATUS_FREE); in _lx_nand_flash_sector_release()
370 if (status) in _lx_nand_flash_sector_release()
374 _lx_nand_flash_system_error(nand_flash, status, block, 0); in _lx_nand_flash_sector_release()
419status = (nand_flash -> lx_nand_flash_driver_pages_write)(nand_flash, block, available_pages, (UCH… in _lx_nand_flash_sector_release()
421status = (nand_flash -> lx_nand_flash_driver_pages_write)(block, available_pages, (UCHAR*)nand_fla… in _lx_nand_flash_sector_release()
425 if (status) in _lx_nand_flash_sector_release()
429 _lx_nand_flash_system_error(nand_flash, status, block, 0); in _lx_nand_flash_sector_release()
458 status = _lx_nand_flash_block_status_set(nand_flash, block, block_status); in _lx_nand_flash_sector_release()
461 if (status) in _lx_nand_flash_sector_release()
465 _lx_nand_flash_system_error(nand_flash, status, block, 0); in _lx_nand_flash_sector_release()
485 return(status); in _lx_nand_flash_sector_release()