Lines Matching refs:check
448 bool flashc_erase_gp_fuse_bit(unsigned int gp_fuse_bit, bool check) in flashc_erase_gp_fuse_bit() argument
451 return (check) ? flashc_read_gp_fuse_bit(gp_fuse_bit) : true; in flashc_erase_gp_fuse_bit()
455 bool flashc_erase_gp_fuse_bitfield(unsigned int pos, unsigned int width, bool check) in flashc_erase_gp_fuse_bitfield() argument
467 return (check) ? (flashc_read_gp_fuse_bitfield(pos, width) == (1ULL << width) - 1) : true; in flashc_erase_gp_fuse_bitfield()
471 bool flashc_erase_gp_fuse_byte(unsigned int gp_fuse_byte, bool check) in flashc_erase_gp_fuse_byte() argument
487 return (check) ? (flashc_read_gp_fuse_byte(gp_fuse_byte) == 0xFF) : true; in flashc_erase_gp_fuse_byte()
491 bool flashc_erase_all_gp_fuses(bool check) in flashc_erase_all_gp_fuses() argument
494 return (check) ? (flashc_read_all_gp_fuses() == 0xFFFFFFFFFFFFFFFFULL) : true; in flashc_erase_all_gp_fuses()
643 bool flashc_erase_page(int page_number, bool check) in flashc_erase_page() argument
648 if (check) { in flashc_erase_page()
657 bool flashc_erase_all_pages(bool check) in flashc_erase_all_pages() argument
664 all_pages_erased &= flashc_erase_page(--page_number, check); in flashc_erase_all_pages()
685 bool flashc_erase_user_page(bool check) in flashc_erase_user_page() argument
688 return (check) ? flashc_quick_user_page_read() : true; in flashc_erase_user_page()