Searched refs:ocr (Results 1 - 5 of 5) sorted by relevance
/fuchsia/zircon/system/dev/block/sdmmc/ |
H A D | sd.c | 64 const uint32_t ocr = pdata->response[0]; 65 if (ocr & (1 << 31)) { 66 if (!(ocr & OCR_SDHC)) { 71 card_supports_18v_signalling = !!((ocr >> 24) & 0x1);
|
H A D | ops.c | 114 zx_status_t sd_switch_uhs_voltage(sdmmc_device_t *dev, uint32_t ocr) { argument 118 .arg = ocr, 144 zx_status_t sdio_send_op_cond(sdmmc_device_t* dev, uint32_t ocr, uint32_t* rocr) { argument 148 .arg = ocr, 158 if ((ocr == 0) || (req.response[0] & MMC_OCR_BUSY)) { 260 zx_status_t mmc_send_op_cond(sdmmc_device_t* dev, uint32_t ocr, uint32_t* rocr) { argument 262 uint32_t arg = (ocr == 0) ? ocr : ((1 << 30) | ocr);
|
H 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); 132 zx_status_t mmc_send_op_cond(sdmmc_device_t* dev, uint32_t ocr, uint32_t* rocr);
|
H A D | mmc.c | 213 uint32_t ocr = 0; local 214 if ((st = mmc_send_op_cond(dev, ocr, &ocr)) != ZX_OK) { 220 if ((st = mmc_send_op_cond(dev, ocr, &ocr)) != ZX_OK) {
|
H A D | sdio.c | 757 uint32_t ocr; local 758 if ((st = sdio_send_op_cond(dev, 0, &ocr)) != ZX_OK) { 763 if (ocr & SDIO_SEND_OP_COND_IO_OCR_33V) { 765 if ((st = sdio_send_op_cond(dev, new_ocr, &ocr)) != ZX_OK) { 770 if (ocr & SDIO_SEND_OP_COND_RESP_MEM_PRESENT) { 777 dev->sdio_dev.hw_info.num_funcs = get_bits(ocr, SDIO_SEND_OP_COND_RESP_NUM_FUNC_MASK, 801 if (ocr & SDIO_SEND_OP_COND_RESP_S18A) { 802 if ((st = sd_switch_uhs_voltage(dev, ocr)) != ZX_OK) {
|
Completed in 119 milliseconds