Lines Matching refs:ocr
73 uint32_t ocr; /* OCR value from capabilities */ member
503 SET(hp->ocr, MMC_OCR_HCS); in sdhc_host_found()
508 SET(hp->ocr, MMC_OCR_S18A); in sdhc_host_found()
512 SET(hp->ocr, MMC_OCR_S18A); in sdhc_host_found()
516 SET(hp->ocr, MMC_OCR_S18A); in sdhc_host_found()
520 SET(hp->ocr, MMC_OCR_1_65V_1_95V); in sdhc_host_found()
525 SET(hp->ocr, MMC_OCR_2_9V_3_0V | MMC_OCR_3_0V_3_1V); in sdhc_host_found()
529 SET(hp->ocr, MMC_OCR_3_2V_3_3V | MMC_OCR_3_3V_3_4V); in sdhc_host_found()
880 return hp->ocr; in sdhc_host_ocr()
933 sdhc_bus_power(sdmmc_chipset_handle_t sch, uint32_t ocr) in sdhc_bus_power() argument
954 if (ocr == 0) { in sdhc_bus_power()
963 ocr &= hp->ocr; in sdhc_bus_power()
964 if (ISSET(ocr, MMC_OCR_1_65V_1_95V)) { in sdhc_bus_power()
966 } else if (ISSET(ocr, MMC_OCR_2_9V_3_0V|MMC_OCR_3_0V_3_1V)) { in sdhc_bus_power()
968 } else if (ISSET(ocr, MMC_OCR_3_2V_3_3V|MMC_OCR_3_3V_3_4V)) { in sdhc_bus_power()