Home
last modified time | relevance | path

Searched refs:PARTITION_READONLY (Results 1 – 12 of 12) sorted by relevance

/openbmc/phosphor-mboxd/vpnor/test/
H A Dtoc_flags.cpp37 assert((part.data.user.data[1] & DATA_MASK) == PARTITION_READONLY); in main()
63 assert(((part.data.user.data[1] & DATA_MASK) ^ PARTITION_READONLY) == in main()
64 PARTITION_READONLY); in main()
/openbmc/hiomapd/vpnor/test/
H A Dtoc_flags.cpp39 assert((part.data.user.data[1] & DATA_MASK) == PARTITION_READONLY); in main()
65 assert(((part.data.user.data[1] & DATA_MASK) ^ PARTITION_READONLY) == in main()
66 PARTITION_READONLY); in main()
H A Dforce_readonly_toc.cpp69 assert(perms & PARTITION_READONLY); in main()
73 assert(!(perms & PARTITION_READONLY)); in main()
/openbmc/phosphor-mboxd/vpnor/
H A Dpnor_partition.cpp46 (PARTITION_PRESERVED | PARTITION_READONLY)) in getPartitionFilePath()
52 case PARTITION_READONLY: in getPartitionFilePath()
H A Dmboxd_msg.cpp30 return part.data.user.data[1] & PARTITION_READONLY; in vpnor_partition_is_readonly()
H A Dpnor_partition_defs.h45 #define PARTITION_READONLY 0x00400000 macro
H A Dmboxd_flash.cpp204 if (part.data.user.data[1] & PARTITION_READONLY) in write_flash()
H A Dpnor_partition_table.cpp264 perms |= PARTITION_READONLY; in writeUserdata()
268 perms &= ~PARTITION_READONLY; in writeUserdata()
/openbmc/hiomapd/vpnor/
H A Dffs.h45 #define PARTITION_READONLY 0x00400000 macro
H A Dpartition.cpp59 (PARTITION_PRESERVED | PARTITION_READONLY)) in getPartitionFilePath()
65 case PARTITION_READONLY: in getPartitionFilePath()
H A Dtable.cpp281 perms |= PARTITION_READONLY; in writeUserdata()
285 perms &= ~PARTITION_READONLY; in writeUserdata()
316 perms |= PARTITION_READONLY; in writeUserdata()
H A Dbackend.cpp367 if (part.data.user.data[1] & PARTITION_READONLY) in vpnor_write()
403 return part.data.user.data[1] & PARTITION_READONLY; in vpnor_partition_is_readonly()