Home
last modified time | relevance | path

Searched refs:flashrom_wp_mode (Results 1 – 8 of 8) sorted by relevance

/external/flashrom/util/flashrom_tester/flashrom/src/
Dflashromlib.rs77 libflashrom::flashrom_wp_mode::FLASHROM_WP_MODE_HARDWARE in wp_range()
79 libflashrom::flashrom_wp_mode::FLASHROM_WP_MODE_DISABLED in wp_range()
98 Ok(ret != libflashrom::flashrom_wp_mode::FLASHROM_WP_MODE_DISABLED) in wp_status()
100 Ok(ret == libflashrom::flashrom_wp_mode::FLASHROM_WP_MODE_DISABLED) in wp_status()
/external/flashrom/include/
Dlibflashrom.h492 enum flashrom_wp_mode { enum
522 void flashrom_wp_set_mode(struct flashrom_wp_cfg *cfg, enum flashrom_wp_mode mode);
529 enum flashrom_wp_mode flashrom_wp_get_mode(const struct flashrom_wp_cfg *cfg);
Dwriteprotect.h36 enum flashrom_wp_mode mode;
/external/flashrom/bindings/rust/libflashrom/src/
Dlib.rs60 pub use libflashrom_sys::flashrom_wp_mode;
827 pub fn get_mode(&self) -> libflashrom_sys::flashrom_wp_mode { in get_mode() argument
831 pub fn set_mode(&mut self, mode: libflashrom_sys::flashrom_wp_mode) { in set_mode() argument
1176 wp.set_mode(libflashrom_sys::flashrom_wp_mode::FLASHROM_WP_MODE_DISABLED);
1204 wp.set_mode(libflashrom_sys::flashrom_wp_mode::FLASHROM_WP_MODE_DISABLED);
1206 assert_eq!(wp.get_mode(), libflashrom_sys::flashrom_wp_mode::FLASHROM_WP_MODE_DISABLED);
/external/flashrom/
Dwriteprotect.c457 static int get_wp_mode(enum flashrom_wp_mode *mode, const struct wp_bits *bits) in get_wp_mode()
459 const enum flashrom_wp_mode wp_modes[2][2] = { in get_wp_mode()
475 static int set_wp_mode(struct wp_bits *bits, const enum flashrom_wp_mode mode) in set_wp_mode()
Dlibflashrom.c479 void flashrom_wp_set_mode(struct flashrom_wp_cfg *cfg, enum flashrom_wp_mode mode) in flashrom_wp_set_mode()
484 enum flashrom_wp_mode flashrom_wp_get_mode(const struct flashrom_wp_cfg *cfg) in flashrom_wp_get_mode()
Dcli_classic.c294 enum flashrom_wp_mode old_mode = FLASHROM_WP_MODE_DISABLED; in wp_cli()
364 enum flashrom_wp_mode mode; in wp_cli()
/external/vboot_reference/host/lib/
Dflashrom_drv.c352 enum flashrom_wp_mode mode = wp_mode ? in flashrom_set_wp()