Searched refs:ncpr (Results 1 – 1 of 1) sorted by relevance
/linux-6.6.21/drivers/pcmcia/ |
D | pxa2xx_sharpsl.c | 110 unsigned short cpr, ncpr, ccr, nccr, mcr, nmcr, imr, nimr; in sharpsl_pcmcia_configure_socket() local 129 ncpr = (cpr = read_scoop_reg(scoop, SCOOP_CPR)) & ~0x0083; in sharpsl_pcmcia_configure_socket() 134 ncpr |= (state->Vcc == 33) ? 0x0002 : in sharpsl_pcmcia_configure_socket() 137 ncpr |= (state->Vcc == 33) ? 0x0001 : in sharpsl_pcmcia_configure_socket() 141 ncpr |= (state->flags&SS_OUTPUT_ENA) ? 0x0080 : 0; in sharpsl_pcmcia_configure_socket() 150 if (!(ncpr & 0x0003)) { in sharpsl_pcmcia_configure_socket() 161 if (cpr != ncpr) { in sharpsl_pcmcia_configure_socket() 163 platform_scoop_config->power_ctrl(scoop, ncpr , skt->nr); in sharpsl_pcmcia_configure_socket() 165 write_scoop_reg(scoop, SCOOP_CPR, ncpr); in sharpsl_pcmcia_configure_socket()
|