Searched refs:wrprot (Results 1 - 5 of 5) sorted by relevance

/linux-4.4.14/drivers/pcmcia/
H A Dsa1111_generic.c77 state->wrprot = status & PCSR_S0_WP ? 1 : 0; sa1111_pcmcia_socket_state()
87 state->wrprot = status & PCSR_S1_WP ? 1 : 0; sa1111_pcmcia_socket_state()
H A Dsoc_common.h79 wrprot: 1, member in struct:pcmcia_state
H A Dpxa2xx_sharpsl.c99 state->wrprot = (csr & 0x0008) ? 1 : 0; sharpsl_pcmcia_socket_state()
H A Dsoc_common.c227 stat |= state.wrprot ? SS_WRPROT : 0; soc_common_pcmcia_skt_state()
/linux-4.4.14/drivers/block/
H A Damiflop.c1605 int wrprot; floppy_open() local
1609 wrprot = !(ciaa.pra & DSKPROT); floppy_open()
1613 if (wrprot) { floppy_open()

Completed in 145 milliseconds