Searched refs:STA_PROTECT (Results 1 – 2 of 2) sorted by relevance
40 #define STA_PROTECT 0x04 /* Write protected */ macro
3246 if (!FF_FS_READONLY && mode && (stat & STA_PROTECT)) { /* Check write protection if needed */3262 if (!FF_FS_READONLY && mode && (stat & STA_PROTECT)) { /* Check disk write protection if needed */5566 if (stat & STA_PROTECT) return FR_WRITE_PROTECTED;6017 if (stat & STA_PROTECT) return FR_WRITE_PROTECTED;