Searched refs:ocr (Results 1 – 5 of 5) sorted by relevance
| /system/dev/block/sdmmc/ |
| A D | ops.c | 114 zx_status_t sd_switch_uhs_voltage(sdmmc_device_t *dev, uint32_t ocr) { in sd_switch_uhs_voltage() argument 118 .arg = ocr, in sd_switch_uhs_voltage() 144 zx_status_t sdio_send_op_cond(sdmmc_device_t* dev, uint32_t ocr, uint32_t* rocr) { in sdio_send_op_cond() argument 148 .arg = ocr, in sdio_send_op_cond() 158 if ((ocr == 0) || (req.response[0] & MMC_OCR_BUSY)) { in sdio_send_op_cond() 261 zx_status_t mmc_send_op_cond(sdmmc_device_t* dev, uint32_t ocr, uint32_t* rocr) { in mmc_send_op_cond() argument 263 uint32_t arg = (ocr == 0) ? ocr : ((1 << 30) | ocr); in mmc_send_op_cond()
|
| A D | sd.c | 64 const uint32_t ocr = pdata->response[0]; in sdmmc_probe_sd() 65 if (ocr & (1 << 31)) { in sdmmc_probe_sd() 66 if (!(ocr & OCR_SDHC)) { in sdmmc_probe_sd() 71 card_supports_18v_signalling = !!((ocr >> 24) & 0x1); in sdmmc_probe_sd()
|
| A D | sdmmc.h | 109 zx_status_t sd_switch_uhs_voltage(sdmmc_device_t *dev, uint32_t ocr); 113 zx_status_t sdio_send_op_cond(sdmmc_device_t* dev, uint32_t ocr, uint32_t* rocr); 134 zx_status_t mmc_send_op_cond(sdmmc_device_t* dev, uint32_t ocr, uint32_t* rocr);
|
| A D | mmc.c | 214 uint32_t ocr = 0; in sdmmc_probe_mmc() local 215 if ((st = mmc_send_op_cond(dev, ocr, &ocr)) != ZX_OK) { in sdmmc_probe_mmc() 221 if ((st = mmc_send_op_cond(dev, ocr, &ocr)) != ZX_OK) { in sdmmc_probe_mmc()
|
| A D | sdio.c | 761 uint32_t ocr; in sdmmc_probe_sdio() local 762 if ((st = sdio_send_op_cond(dev, 0, &ocr)) != ZX_OK) { in sdmmc_probe_sdio() 767 if (ocr & SDIO_SEND_OP_COND_IO_OCR_33V) { in sdmmc_probe_sdio() 769 if ((st = sdio_send_op_cond(dev, new_ocr, &ocr)) != ZX_OK) { in sdmmc_probe_sdio() 774 if (ocr & SDIO_SEND_OP_COND_RESP_MEM_PRESENT) { in sdmmc_probe_sdio() 781 dev->sdio_dev.hw_info.num_funcs = get_bits(ocr, SDIO_SEND_OP_COND_RESP_NUM_FUNC_MASK, in sdmmc_probe_sdio() 805 if (ocr & SDIO_SEND_OP_COND_RESP_S18A) { in sdmmc_probe_sdio() 806 if ((st = sd_switch_uhs_voltage(dev, ocr)) != ZX_OK) { in sdmmc_probe_sdio()
|
Completed in 10 milliseconds