Searched refs:wp_group_bmap (Results 1 – 1 of 1) sorted by relevance
/openbmc/qemu/hw/sd/ |
H A D | sd.c | 158 unsigned long *wp_group_bmap; member 855 g_free(sd->wp_group_bmap); in sd_reset() 858 sd->wp_group_bmap = bitmap_new(sd->wp_group_bits); in sd_reset() 978 VMSTATE_BITMAP(wp_group_bmap, SDState, 0, wp_group_bits), 1106 if (test_bit(wpnum, sd->wp_group_bmap)) { in sd_erase() 1131 if (test_bit(wpnum, sd->wp_group_bmap)) { in sd_wpbits() 1212 return test_bit(sd_addr_to_wpnum(addr), sd->wp_group_bmap); in sd_wp_addr() 1240 bitmap_zero(sd->wp_group_bmap, sd->wp_group_bits); in sd_lock_command() 1808 set_bit(sd_addr_to_wpnum(addr), sd->wp_group_bmap); in sd_cmd_SET_CLR_WRITE_PROT() 1810 clear_bit(sd_addr_to_wpnum(addr), sd->wp_group_bmap); in sd_cmd_SET_CLR_WRITE_PROT()
|