Searched refs:wrprot (Results 1 – 4 of 4) sorted by relevance
79 state->wrprot = status & PCSR_S0_WP ? 1 : 0; in sa1111_pcmcia_socket_state()89 state->wrprot = status & PCSR_S1_WP ? 1 : 0; in sa1111_pcmcia_socket_state()
94 state->wrprot = (csr & 0x0008) ? 1 : 0; in sharpsl_pcmcia_socket_state()
310 stat |= state.wrprot ? SS_WRPROT : 0; in soc_common_pcmcia_skt_state()
1680 int wrprot; in floppy_open() local1684 wrprot = !(ciaa.pra & DSKPROT); in floppy_open()1688 if (wrprot) { in floppy_open()