Searched refs:wrprot (Results 1 – 5 of 5) sorted by relevance
80 state->wrprot = status & PCSR_S0_WP ? 1 : 0; in sa1111_pcmcia_socket_state()90 state->wrprot = status & PCSR_S1_WP ? 1 : 0; in sa1111_pcmcia_socket_state()
99 wrprot: 1, member
95 state->wrprot = (csr & 0x0008) ? 1 : 0; in sharpsl_pcmcia_socket_state()
311 stat |= state.wrprot ? SS_WRPROT : 0; in soc_common_pcmcia_skt_state()
1681 int wrprot; in floppy_open() local1685 wrprot = !(ciaa.pra & DSKPROT); in floppy_open()1689 if (wrprot) { in floppy_open()