Home
last modified time | relevance | path

Searched refs:hal_flash_status_t (Results 1 – 14 of 14) sorted by relevance

/hal_nxp-latest/mcux/mcux-sdk/components/internal_flash/
Dfsl_adapter_flash.c33 static hal_flash_status_t HAL_FlashProgramAdaptation(uint32_t dest, uint32_t size, uint8_t *pData);
45 static hal_flash_status_t HAL_FlashGetStatus(status_t status) in HAL_FlashGetStatus()
48 hal_flash_status_t flashStatus = kStatus_HAL_Flash_Error; in HAL_FlashGetStatus()
66 return (hal_flash_status_t)status; in HAL_FlashGetStatus()
70 static hal_flash_status_t HAL_FlashProgramAdaptation(uint32_t dest, uint32_t size, uint8_t *pData) in HAL_FlashProgramAdaptation()
92 hal_flash_status_t HAL_FlashInit(void) in HAL_FlashInit()
114 hal_flash_status_t HAL_FlashVerifyErase(uint32_t start, uint32_t lengthInBytes, hal_flash_margin_va… in HAL_FlashVerifyErase()
134 hal_flash_status_t HAL_FlashProgram(uint32_t dest, uint32_t size, uint8_t *pData) in HAL_FlashProgram()
149 hal_flash_status_t HAL_FlashProgramUnaligned(uint32_t dest, uint32_t size, uint8_t *pData) in HAL_FlashProgramUnaligned()
153 hal_flash_status_t status = kStatus_HAL_Flash_Success; in HAL_FlashProgramUnaligned()
[all …]
Dfsl_adapter_k4_flash.c60 static hal_flash_status_t HAL_FlashProgramAdaptation(uint32_t dest, uint32_t size, uint8_t *pData);
72 static hal_flash_status_t HAL_FlashGetStatus(status_t status) in HAL_FlashGetStatus()
75 hal_flash_status_t flashStatus = kStatus_HAL_Flash_Error; in HAL_FlashGetStatus()
93 return (hal_flash_status_t)status; in HAL_FlashGetStatus()
125 static hal_flash_status_t HAL_FlashProgramAdaptation(uint32_t dest, uint32_t size, uint8_t *pData) in HAL_FlashProgramAdaptation()
155 hal_flash_status_t HAL_FlashInit() in HAL_FlashInit()
181 hal_flash_status_t HAL_FlashVerifyErase(uint32_t start, uint32_t lengthInBytes, hal_flash_margin_va… in HAL_FlashVerifyErase()
210 hal_flash_status_t HAL_FlashProgram(uint32_t dest, uint32_t size, uint8_t *pData) in HAL_FlashProgram()
225 hal_flash_status_t HAL_FlashProgramUnaligned(uint32_t dest, uint32_t size, uint8_t *pData) in HAL_FlashProgramUnaligned()
229 hal_flash_status_t status = kStatus_HAL_Flash_Success; in HAL_FlashProgramUnaligned()
[all …]
Dfsl_adapter_flash.h50 } hal_flash_status_t; typedef
120 hal_flash_status_t HAL_FlashInit(void);
135 hal_flash_status_t HAL_FlashProgram(uint32_t dest, uint32_t size, uint8_t *pData);
147 hal_flash_status_t HAL_FlashProgramUnaligned(uint32_t dest, uint32_t size, uint8_t *pData);
159 hal_flash_status_t HAL_FlashEraseSector(uint32_t dest, uint32_t size);
169 hal_flash_status_t HAL_FlashVerifyErase(uint32_t start, uint32_t lengthInBytes, hal_flash_margin_va…
180 hal_flash_status_t HAL_FlashRead(uint32_t src, uint32_t size, uint8_t *pData);
195 hal_flash_status_t HAL_FlashReadCheckEccFaults(uint32_t src, uint32_t size, uint8_t *pData);
208 hal_flash_status_t HAL_FlashGetProperty(hal_flash_property_tag_t property, uint32_t *value);
221 hal_flash_status_t HAL_FlashSetProperty(hal_flash_property_tag_t property, uint32_t value);
[all …]
Dfsl_adapter_flexspi_nor_flash.c301 hal_flash_status_t HAL_FlashInit(void) in HAL_FlashInit()
355 (hal_flash_status_t) flexspi_nor_enable_quad_mode(base); in HAL_FlashInit()
380 hal_flash_status_t HAL_FlashVerifyErase(uint32_t start, uint32_t lengthInBytes, hal_flash_margin_va… in HAL_FlashVerifyErase()
382 hal_flash_status_t state; in HAL_FlashVerifyErase()
436 hal_flash_status_t HAL_FlashProgram(uint32_t dest, uint32_t size, uint8_t *pData) in HAL_FlashProgram()
562 return (hal_flash_status_t)status; in HAL_FlashProgram()
575 hal_flash_status_t HAL_FlashProgramUnaligned(uint32_t dest, uint32_t size, uint8_t *pData) in HAL_FlashProgramUnaligned()
589 hal_flash_status_t HAL_FlashEraseSector(uint32_t dest, uint32_t size) in HAL_FlashEraseSector()
676 return (hal_flash_status_t)status; in HAL_FlashEraseSector()
690 hal_flash_status_t HAL_FlashRead(uint32_t src, uint32_t size, uint8_t *pData) in HAL_FlashRead()
[all …]
/hal_nxp-latest/mcux/mcux-sdk/components/internal_flash/evkbmimxrt1170/
Dfsl_adapter_flexspi_nor_flash.c302 hal_flash_status_t HAL_FlashInit(void) in HAL_FlashInit()
368 (hal_flash_status_t) flexspi_nor_enable_quad_mode(base); in HAL_FlashInit()
402 hal_flash_status_t HAL_FlashVerifyErase(uint32_t start, uint32_t lengthInBytes, hal_flash_margin_va… in HAL_FlashVerifyErase()
404 hal_flash_status_t state; in HAL_FlashVerifyErase()
458 hal_flash_status_t HAL_FlashProgram(uint32_t dest, uint32_t size, uint8_t *pData) in HAL_FlashProgram()
605 return (hal_flash_status_t)status; in HAL_FlashProgram()
618 hal_flash_status_t HAL_FlashProgramUnaligned(uint32_t dest, uint32_t size, uint8_t *pData) in HAL_FlashProgramUnaligned()
632 hal_flash_status_t HAL_FlashEraseSector(uint32_t dest, uint32_t size) in HAL_FlashEraseSector()
740 return (hal_flash_status_t)status; in HAL_FlashEraseSector()
754 hal_flash_status_t HAL_FlashRead(uint32_t src, uint32_t size, uint8_t *pData) in HAL_FlashRead()
[all …]
/hal_nxp-latest/mcux/mcux-sdk/components/internal_flash/mimxrt1160/
Dfsl_adapter_flexspi_nor_flash.c316 hal_flash_status_t HAL_FlashInit(void) in HAL_FlashInit()
382 (hal_flash_status_t) flexspi_nor_enable_quad_mode(base); in HAL_FlashInit()
416 hal_flash_status_t HAL_FlashVerifyErase(uint32_t start, uint32_t lengthInBytes, hal_flash_margin_va… in HAL_FlashVerifyErase()
418 hal_flash_status_t state; in HAL_FlashVerifyErase()
472 hal_flash_status_t HAL_FlashProgram(uint32_t dest, uint32_t size, uint8_t *pData) in HAL_FlashProgram()
620 return (hal_flash_status_t)status; in HAL_FlashProgram()
633 hal_flash_status_t HAL_FlashProgramUnaligned(uint32_t dest, uint32_t size, uint8_t *pData) in HAL_FlashProgramUnaligned()
647 hal_flash_status_t HAL_FlashEraseSector(uint32_t dest, uint32_t size) in HAL_FlashEraseSector()
755 return (hal_flash_status_t)status; in HAL_FlashEraseSector()
769 hal_flash_status_t HAL_FlashRead(uint32_t src, uint32_t size, uint8_t *pData) in HAL_FlashRead()
[all …]
/hal_nxp-latest/mcux/mcux-sdk/components/internal_flash/mimxrt1170/
Dfsl_adapter_flexspi_nor_flash.c316 hal_flash_status_t HAL_FlashInit(void) in HAL_FlashInit()
382 (hal_flash_status_t) flexspi_nor_enable_quad_mode(base); in HAL_FlashInit()
416 hal_flash_status_t HAL_FlashVerifyErase(uint32_t start, uint32_t lengthInBytes, hal_flash_margin_va… in HAL_FlashVerifyErase()
418 hal_flash_status_t state; in HAL_FlashVerifyErase()
472 hal_flash_status_t HAL_FlashProgram(uint32_t dest, uint32_t size, uint8_t *pData) in HAL_FlashProgram()
619 return (hal_flash_status_t)status; in HAL_FlashProgram()
632 hal_flash_status_t HAL_FlashProgramUnaligned(uint32_t dest, uint32_t size, uint8_t *pData) in HAL_FlashProgramUnaligned()
646 hal_flash_status_t HAL_FlashEraseSector(uint32_t dest, uint32_t size) in HAL_FlashEraseSector()
754 return (hal_flash_status_t)status; in HAL_FlashEraseSector()
768 hal_flash_status_t HAL_FlashRead(uint32_t src, uint32_t size, uint8_t *pData) in HAL_FlashRead()
[all …]
/hal_nxp-latest/mcux/mcux-sdk/components/internal_flash/evkbmimxrt1060/
Dfsl_adapter_flexspi_nor_flash.c301 hal_flash_status_t HAL_FlashInit(void) in HAL_FlashInit()
355 (hal_flash_status_t) flexspi_nor_enable_quad_mode(base); in HAL_FlashInit()
380 hal_flash_status_t HAL_FlashVerifyErase(uint32_t start, uint32_t lengthInBytes, hal_flash_margin_va… in HAL_FlashVerifyErase()
382 hal_flash_status_t state; in HAL_FlashVerifyErase()
436 hal_flash_status_t HAL_FlashProgram(uint32_t dest, uint32_t size, uint8_t *pData) in HAL_FlashProgram()
562 return (hal_flash_status_t)status; in HAL_FlashProgram()
575 hal_flash_status_t HAL_FlashProgramUnaligned(uint32_t dest, uint32_t size, uint8_t *pData) in HAL_FlashProgramUnaligned()
589 hal_flash_status_t HAL_FlashEraseSector(uint32_t dest, uint32_t size) in HAL_FlashEraseSector()
676 return (hal_flash_status_t)status; in HAL_FlashEraseSector()
690 hal_flash_status_t HAL_FlashRead(uint32_t src, uint32_t size, uint8_t *pData) in HAL_FlashRead()
[all …]
/hal_nxp-latest/mcux/mcux-sdk/components/internal_flash/evkmimxrt1040/
Dfsl_adapter_flexspi_nor_flash.c293 hal_flash_status_t HAL_FlashInit(void) in HAL_FlashInit()
356 (hal_flash_status_t) flexspi_nor_enable_quad_mode(base); in HAL_FlashInit()
388 hal_flash_status_t HAL_FlashVerifyErase(uint32_t start, uint32_t lengthInBytes, hal_flash_margin_va… in HAL_FlashVerifyErase()
390 hal_flash_status_t state; in HAL_FlashVerifyErase()
444 hal_flash_status_t HAL_FlashProgram(uint32_t dest, uint32_t size, uint8_t *pData) in HAL_FlashProgram()
570 return (hal_flash_status_t)status; in HAL_FlashProgram()
583 hal_flash_status_t HAL_FlashProgramUnaligned(uint32_t dest, uint32_t size, uint8_t *pData) in HAL_FlashProgramUnaligned()
597 hal_flash_status_t HAL_FlashEraseSector(uint32_t dest, uint32_t size) in HAL_FlashEraseSector()
684 return (hal_flash_status_t)status; in HAL_FlashEraseSector()
698 hal_flash_status_t HAL_FlashRead(uint32_t src, uint32_t size, uint8_t *pData) in HAL_FlashRead()
[all …]
/hal_nxp-latest/mcux/mcux-sdk/components/internal_flash/rdrw612bga/
Dfsl_adapter_flexspi_nor_flash.c298 hal_flash_status_t HAL_FlashInit(void) in HAL_FlashInit()
352 (hal_flash_status_t) flexspi_nor_enable_quad_mode(base); in HAL_FlashInit()
377 hal_flash_status_t HAL_FlashVerifyErase(uint32_t start, uint32_t lengthInBytes, hal_flash_margin_va… in HAL_FlashVerifyErase()
379 hal_flash_status_t state; in HAL_FlashVerifyErase()
433 hal_flash_status_t HAL_FlashProgram(uint32_t dest, uint32_t size, uint8_t *pData) in HAL_FlashProgram()
559 return (hal_flash_status_t)status; in HAL_FlashProgram()
572 hal_flash_status_t HAL_FlashProgramUnaligned(uint32_t dest, uint32_t size, uint8_t *pData) in HAL_FlashProgramUnaligned()
586 hal_flash_status_t HAL_FlashEraseSector(uint32_t dest, uint32_t size) in HAL_FlashEraseSector()
673 return (hal_flash_status_t)status; in HAL_FlashEraseSector()
687 hal_flash_status_t HAL_FlashRead(uint32_t src, uint32_t size, uint8_t *pData) in HAL_FlashRead()
[all …]
/hal_nxp-latest/mcux/mcux-sdk/components/internal_flash/octal_flash/RT595/
Dfsl_adapter_flexspi_nor_flash.c333 hal_flash_status_t HAL_FlashInit(void) in HAL_FlashInit()
414 hal_flash_status_t HAL_FlashVerifyErase(uint32_t start, uint32_t lengthInBytes, hal_flash_margin_va… in HAL_FlashVerifyErase()
416 hal_flash_status_t state; in HAL_FlashVerifyErase()
470 hal_flash_status_t HAL_FlashProgram(uint32_t dest, uint32_t size, uint8_t *pData) in HAL_FlashProgram()
570 return (hal_flash_status_t)status; in HAL_FlashProgram()
583 hal_flash_status_t HAL_FlashProgramUnaligned(uint32_t dest, uint32_t size, uint8_t *pData) in HAL_FlashProgramUnaligned()
597 hal_flash_status_t HAL_FlashEraseSector(uint32_t dest, uint32_t size) in HAL_FlashEraseSector()
678 return (hal_flash_status_t)status; in HAL_FlashEraseSector()
692 hal_flash_status_t HAL_FlashRead(uint32_t src, uint32_t size, uint8_t *pData) in HAL_FlashRead()
724 hal_flash_status_t HAL_FlashGetProperty(hal_flash_property_tag_t property, uint32_t *value) in HAL_FlashGetProperty()
[all …]
/hal_nxp-latest/mcux/mcux-sdk/components/internal_flash/octal_flash/
Dfsl_adapter_flexspi_nor_flash.c334 hal_flash_status_t HAL_FlashInit(void) in HAL_FlashInit()
415 hal_flash_status_t HAL_FlashVerifyErase(uint32_t start, uint32_t lengthInBytes, hal_flash_margin_va… in HAL_FlashVerifyErase()
417 hal_flash_status_t state; in HAL_FlashVerifyErase()
471 hal_flash_status_t HAL_FlashProgram(uint32_t dest, uint32_t size, uint8_t *pData) in HAL_FlashProgram()
571 return (hal_flash_status_t)status; in HAL_FlashProgram()
584 hal_flash_status_t HAL_FlashProgramUnaligned(uint32_t dest, uint32_t size, uint8_t *pData) in HAL_FlashProgramUnaligned()
598 hal_flash_status_t HAL_FlashEraseSector(uint32_t dest, uint32_t size) in HAL_FlashEraseSector()
679 return (hal_flash_status_t)status; in HAL_FlashEraseSector()
693 hal_flash_status_t HAL_FlashRead(uint32_t src, uint32_t size, uint8_t *pData) in HAL_FlashRead()
725 hal_flash_status_t HAL_FlashGetProperty(hal_flash_property_tag_t property, uint32_t *value) in HAL_FlashGetProperty()
[all …]
/hal_nxp-latest/mcux/mcux-sdk/components/internal_flash/hyper_flash/
Dfsl_adapter_flexspi_hyper_nor_flash.c486 hal_flash_status_t HAL_FlashInit(void) in HAL_FlashInit()
590 hal_flash_status_t HAL_FlashVerifyErase(uint32_t start, uint32_t lengthInBytes, hal_flash_margin_va… in HAL_FlashVerifyErase()
592 hal_flash_status_t state; in HAL_FlashVerifyErase()
647 hal_flash_status_t HAL_FlashProgram(uint32_t dest, uint32_t size, uint8_t *pData) in HAL_FlashProgram()
802 return (hal_flash_status_t)status; in HAL_FlashProgram()
815 hal_flash_status_t HAL_FlashProgramUnaligned(uint32_t dest, uint32_t size, uint8_t *pData) in HAL_FlashProgramUnaligned()
830 hal_flash_status_t HAL_FlashEraseSector(uint32_t dest, uint32_t size) in HAL_FlashEraseSector()
920 return (hal_flash_status_t)status; in HAL_FlashEraseSector()
934 hal_flash_status_t HAL_FlashRead(uint32_t src, uint32_t size, uint8_t *pData) in HAL_FlashRead()
971 hal_flash_status_t HAL_FlashGetProperty(hal_flash_property_tag_t property, uint32_t *value) in HAL_FlashGetProperty()
[all …]
/hal_nxp-latest/mcux/mcux-sdk/components/internal_flash/hyper_flash/RT1050/
Dfsl_adapter_flexspi_hyper_flash_config.c115 hal_flash_status_t HAL_FlashReadCheckEccFaults(uint32_t src, uint32_t size, uint8_t *pData) in HAL_FlashReadCheckEccFaults()