Lines Matching defs:cpr
371 uint16_t cpr;
383 cpr = bus_space_read_2(iot, ioh, SCOOP_CPR);
386 cpr |= SCP_CPR_5V;
388 cpr |= SCP_CPR_SD_3V;
391 if (!ISSET(cpr, SCP_CPR_5V) && !ISSET(cpr, SCP_CPR_SD_3V))
393 bus_space_write_2(iot, ioh, SCOOP_CPR, cpr | new_cpr);
396 cpr &= ~SCP_CPR_5V;
398 cpr &= ~SCP_CPR_SD_3V;
400 if (!ISSET(cpr, SCP_CPR_5V) && !ISSET(cpr, SCP_CPR_SD_3V)) {
405 bus_space_write_2(iot, ioh, SCOOP_CPR, cpr | new_cpr);