Home
last modified time | relevance | path

Searched refs:ncpr (Results 1 – 1 of 1) sorted by relevance

/kernel/linux/linux-5.10/drivers/pcmcia/
Dpxa2xx_sharpsl.c111 unsigned short cpr, ncpr, ccr, nccr, mcr, nmcr, imr, nimr; in sharpsl_pcmcia_configure_socket() local
130 ncpr = (cpr = read_scoop_reg(scoop, SCOOP_CPR)) & ~0x0083; in sharpsl_pcmcia_configure_socket()
135 ncpr |= (state->Vcc == 33) ? 0x0002 : in sharpsl_pcmcia_configure_socket()
138 ncpr |= (state->Vcc == 33) ? 0x0001 : in sharpsl_pcmcia_configure_socket()
142 ncpr |= (state->flags&SS_OUTPUT_ENA) ? 0x0080 : 0; in sharpsl_pcmcia_configure_socket()
151 if (!(ncpr & 0x0003)) { in sharpsl_pcmcia_configure_socket()
162 if (cpr != ncpr) { in sharpsl_pcmcia_configure_socket()
164 platform_scoop_config->power_ctrl(scoop, ncpr , skt->nr); in sharpsl_pcmcia_configure_socket()
166 write_scoop_reg(scoop, SCOOP_CPR, ncpr); in sharpsl_pcmcia_configure_socket()