Searched refs:FDGC_CURWPROT (Results 1 – 7 of 7) sorted by relevance
63 #define FDGC_CURWPROT 0x10 /* current state of write protect */ macro
208 if (j & FDGC_CURWPROT) in _m_get_media_status()
358 if (chgd & FDGC_CURWPROT) { in format_floppy()
271 *wprot = ((chg & FDGC_CURWPROT) != 0); in check_floppy()
1690 cpy.temp |= FDGC_CURWPROT; in fd_ioctl()1692 cpy.temp &= ~FDGC_CURWPROT; in fd_ioctl()
838 if (chgd & FDGC_CURWPROT) { in format_diskette()
2361 cpy.temp |= FDGC_CURWPROT; in fd_ioctl()