Lines Matching refs:status

125 UINT            status;  in _lx_nor_flash_open()  local
246 status = _lx_nor_flash_driver_read(nor_flash, block_word_ptr, &block_word, 1); in _lx_nor_flash_open()
249 if (status) in _lx_nor_flash_open()
253 _lx_nor_flash_system_error(nor_flash, status); in _lx_nor_flash_open()
318status = _lx_nor_flash_driver_write(nor_flash, block_word_ptr+(nor_flash -> lx_nor_flash_block_fr… in _lx_nor_flash_open()
321 if (status) in _lx_nor_flash_open()
325 _lx_nor_flash_system_error(nor_flash, status); in _lx_nor_flash_open()
335 status = _lx_nor_flash_driver_write(nor_flash, block_word_ptr, &block_word, 1); in _lx_nor_flash_open()
338 if (status) in _lx_nor_flash_open()
342 _lx_nor_flash_system_error(nor_flash, status); in _lx_nor_flash_open()
383 status = _lx_nor_flash_driver_read(nor_flash, block_word_ptr, &block_word, 1); in _lx_nor_flash_open()
386 if (status) in _lx_nor_flash_open()
390 _lx_nor_flash_system_error(nor_flash, status); in _lx_nor_flash_open()
421 status = (nor_flash -> lx_nor_flash_driver_block_erased_verify)(nor_flash, l); in _lx_nor_flash_open()
423 status = (nor_flash -> lx_nor_flash_driver_block_erased_verify)(l); in _lx_nor_flash_open()
427 if (status != LX_SUCCESS) in _lx_nor_flash_open()
446 status = _lx_nor_flash_driver_block_erase(nor_flash, l, max_erased_count); in _lx_nor_flash_open()
449 if (status) in _lx_nor_flash_open()
453 _lx_nor_flash_system_error(nor_flash, status); in _lx_nor_flash_open()
463status = _lx_nor_flash_driver_write(nor_flash, block_word_ptr+(nor_flash -> lx_nor_flash_block_fr… in _lx_nor_flash_open()
466 if (status) in _lx_nor_flash_open()
470 _lx_nor_flash_system_error(nor_flash, status); in _lx_nor_flash_open()
478status = _lx_nor_flash_driver_write(nor_flash, block_word_ptr, &temp_erased_count, 1); in _lx_nor_flash_open()
481 if (status) in _lx_nor_flash_open()
485 _lx_nor_flash_system_error(nor_flash, status); in _lx_nor_flash_open()
492status = _lx_nor_flash_driver_write(nor_flash, block_word_ptr, &max_erased_count, 1); in _lx_nor_flash_open()
495 if (status) in _lx_nor_flash_open()
499 _lx_nor_flash_system_error(nor_flash, status); in _lx_nor_flash_open()
522status = _lx_nor_flash_driver_read(nor_flash, (block_word_ptr + nor_flash -> lx_nor_flash_block_f… in _lx_nor_flash_open()
525 if (status) in _lx_nor_flash_open()
529 _lx_nor_flash_system_error(nor_flash, status); in _lx_nor_flash_open()
578status = _lx_nor_flash_driver_read(nor_flash, (block_word_ptr + nor_flash -> lx_nor_flash_block_p… in _lx_nor_flash_open()
581 if (status) in _lx_nor_flash_open()
585 _lx_nor_flash_system_error(nor_flash, status); in _lx_nor_flash_open()
630status = _lx_nor_flash_driver_write(nor_flash, (block_word_ptr + nor_flash -> lx_nor_flash_block_… in _lx_nor_flash_open()
633 if (status) in _lx_nor_flash_open()
637 _lx_nor_flash_system_error(nor_flash, status); in _lx_nor_flash_open()
682status = _lx_nor_flash_driver_write(nor_flash, (block_word_ptr + nor_flash -> lx_nor_flash_block_… in _lx_nor_flash_open()
685 if (status) in _lx_nor_flash_open()
689 _lx_nor_flash_system_error(nor_flash, status); in _lx_nor_flash_open()
721status = _lx_nor_flash_driver_write(nor_flash, (block_word_ptr + nor_flash -> lx_nor_flash_block_… in _lx_nor_flash_open()
724 if (status) in _lx_nor_flash_open()
728 _lx_nor_flash_system_error(nor_flash, status); in _lx_nor_flash_open()
760status = _lx_nor_flash_driver_write(nor_flash, (block_word_ptr + nor_flash -> lx_nor_flash_block_… in _lx_nor_flash_open()
763 if (status) in _lx_nor_flash_open()
767 _lx_nor_flash_system_error(nor_flash, status); in _lx_nor_flash_open()
788status = _lx_nor_flash_driver_read(nor_flash, (sector_word_ptr), &sector_word, 1); in _lx_nor_flash_open()
791 if (status) in _lx_nor_flash_open()
795 _lx_nor_flash_system_error(nor_flash, status); in _lx_nor_flash_open()
846 status = tx_mutex_create(&nor_flash -> lx_nor_flash_mutex, "NOR Flash Mutex", TX_NO_INHERIT); in _lx_nor_flash_open()
849 if (status != LX_SUCCESS) in _lx_nor_flash_open()