Searched refs:WriteProtect (Results 1 – 10 of 10) sorted by relevance
| /bsp/ht32/libraries/HT32_STD_5xxxx_FWLib/library/HT32F5xxxx_Driver/inc/ |
| A D | ht32f5xxxx_flash.h | 75 u32 WriteProtect[4]; member 142 #define FLASH_WP_PAGE_SET(OP, PAGE) (OP.WriteProtect[PAGE / 64] |= 1 << ((PAGE % 64) / 2)) 143 #define FLASH_WP_PAGE_CLEAR(OP, PAGE) (OP.WriteProtect[PAGE / 64] &= ~(1 << ((PAGE % 64) / 2))) 144 #define FLASH_IS_WP_PAGE(OP, PAGE) (OP.WriteProtect[PAGE / 64] & (1 << ((PAGE % 64) / 2))) 146 #define FLASH_WP_PAGE_SET(OP, PAGE) (OP.WriteProtect[PAGE / 32] |= 1 << (PAGE % 32)) 147 #define FLASH_WP_PAGE_CLEAR(OP, PAGE) (OP.WriteProtect[PAGE / 32] &= ~(1 << (PAGE % 32))) 148 #define FLASH_IS_WP_PAGE(OP, PAGE) (OP.WriteProtect[PAGE / 32] & (1 << (PAGE % 32))) 150 #define FLASH_WP_ALLPAGE_SET(OP) {u32 i; for (i = 0; i < 4; i++) { OP.WriteProtect[i] = 0xFF…
|
| /bsp/ht32/libraries/HT32_STD_1xxxx_FWLib/library/HT32F1xxxx_Driver/inc/ |
| A D | ht32f1xxxx_flash.h | 76 u32 WriteProtect[4]; member 135 #define FLASH_WP_PAGE_SET(OP, PAGE) (OP.WriteProtect[PAGE / 64] |= 1 << ((PAGE % 64) / 2)) 136 #define FLASH_WP_PAGE_CLEAR(OP, PAGE) (OP.WriteProtect[PAGE / 64] &= ~(1 << ((PAGE % 64) / 2))) 137 #define FLASH_IS_WP_PAGE(OP, PAGE) (OP.WriteProtect[PAGE / 64] & (1 << ((PAGE % 64) / 2))) 139 #define FLASH_WP_PAGE_SET(OP, PAGE) (OP.WriteProtect[PAGE / 32] |= 1 << (PAGE % 32)) 140 #define FLASH_WP_PAGE_CLEAR(OP, PAGE) (OP.WriteProtect[PAGE / 32] &= ~(1 << (PAGE % 32))) 141 #define FLASH_IS_WP_PAGE(OP, PAGE) (OP.WriteProtect[PAGE / 32] & (1 << (PAGE % 32))) 143 #define FLASH_WP_ALLPAGE_SET(OP) {u32 i; for (i = 0; i < 4; i++) { OP.WriteProtect[i] = 0xFF…
|
| /bsp/ht32/libraries/HT32_STD_5xxxx_FWLib/library/HT32F5xxxx_Driver/src/ |
| A D | ht32f5xxxx_flash.c | 314 FLASH_ProgramWordData(OB_PP0 + i * 4, ~(Option->WriteProtect[i])); in FLASH_ProgramOptionByte() 315 checksum += ~(Option->WriteProtect[i]); in FLASH_ProgramOptionByte() 337 Option->WriteProtect[i] = ~HT_FLASH->PPSR[i]; in FLASH_GetOptionByteStatus()
|
| /bsp/zynqmp-r5-axu4ev/drivers/ |
| A D | drv_sdcard.c | 58 static u32 WriteProtect; variable 84 WriteProtect = XPAR_XSDPS_1_HAS_WP; in disk_status() 91 WriteProtect = XPAR_XSDPS_0_HAS_WP; in disk_status() 139 if (WriteProtect) in disk_status()
|
| /bsp/allwinner/libraries/sunxi-hal/hal/source/usb/storage/Disk/ |
| A D | BlkDev.c | 301 if (mscLun->WriteProtect) in __DiskWrite() 872 hal_log_info("WriteProtect = %d", mscLun->WriteProtect); in Pr__s32DiskInfo() 1127 mscLun->WriteProtect = DevSpecPara->WP; in ReadProtectFlag() 1132 mscLun->WriteProtect = DevSpecPara->WP; in ReadProtectFlag() 1136 mscLun->WriteProtect = 0; in ReadProtectFlag() 1142 mscLun->WriteProtect = 0; in ReadProtectFlag() 1318 mscLun->WriteProtect = 0; in GetDiskInfo() 1330 mscLun->WriteProtect = 0; in GetDiskInfo()
|
| A D | CD.c | 740 mscLun->WriteProtect = 1; in GetCDDriveCapabilites()
|
| /bsp/ht32/libraries/HT32_STD_1xxxx_FWLib/library/HT32F1xxxx_Driver/src/ |
| A D | ht32f1xxxx_flash.c | 441 FLASH_ProgramWordData(OB_PP0 + i * 4, ~(Option->WriteProtect[i])); in FLASH_ProgramOptionByte() 442 checksum += ~(Option->WriteProtect[i]); in FLASH_ProgramOptionByte() 464 Option->WriteProtect[i] = ~HT_FLASH->PPSR[i]; in FLASH_GetOptionByteStatus()
|
| /bsp/zynqmp-r5-axu4ev/drivers/Zynq_HAL_Driver/sdps_v3_9/ |
| A D | xsdps.c | 154 InstancePtr->Config.WriteProtect = ConfigPtr->WriteProtect; in XSdPs_CfgInitialize()
|
| A D | xsdps.h | 203 u32 WriteProtect; /**< Write Protect */ member
|
| /bsp/allwinner/libraries/sunxi-hal/hal/source/usb/storage/include/ |
| A D | usb_msc_i.h | 163 unsigned int WriteProtect: 1; /* 是否是可写设备 */ member
|
Completed in 28 milliseconds