Lines Matching +full:vdd +full:- +full:s
1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
6 * Copyright (c) 2015-2016 Ilya Bakulin <kibab@FreeBSD.org>
35 * Group. This Simplified Specification is provided on a non-confidential
38 * Association, SD Group, SD-3C LLC or other third parties.
44 * is provided "AS-IS" without any representations or warranties of any
45 * kind. No responsibility is assumed by the SD Group, SD-3C LLC or the SD
47 * right of the SD Group, SD-3C LLC, the SD Card Association or any third
50 * SD Group, SD-3C LLC, the SD Card Association or any third party. Nothing
51 * herein shall be construed as an obligation by the SD Group, the SD-3C LLC
53 * information, know-how or other confidential information to any third party.
115 * s : status bit
170 * s : status bit
183 #define R5_IO_CURRENT_STATE_MASK (3u << 12) /* s, b */
270 /* 34 -- reserved old command */
273 /* 37 -- reserved old command */
561 #define SD_IO_CCCR_INT_ENABLE 0x04 /* Per-function interrupt enable */
562 #define SD_IO_CCCR_INT_PENDING 0x05 /* Per-function interrupt pending */
572 #define SD_IO_CCCR_CISPTR 0x09 /* 0x09 - 0x0B */
573 #define SD_IO_CCCR_FN0_BLKSZ 0x10 /* 0x10 - 0x11 */
588 #define SD_IO_FBR_START_F(n) (SD_IO_FBR_START + (n-1) * SD_IO_FBR_F_SIZE)
589 #define SD_IO_FBR_CIS_OFFSET 0x9 /* Offset of this function's info block within CIS are…
610 * in SD 2.0 spec, bits 8-14 are now marked reserved
612 * Low voltage in MC 3.31 spec is bit 7, 1.65-1.95V
613 * Specs prior to MMC 3.31 defined bits 0-7 as voltages down to 1.5V.
615 * support the 2.7-3.6V and fixed the OCR to be 0xfff8000 for high voltage
617 * Looks like the fine-grained control of the voltage tolerance ranges
622 #define MMC_OCR_VOLTAGE 0x3fffffffU /* Vdd Voltage mask */
623 #define MMC_OCR_LOW_VOLTAGE (1u << 7) /* Low Voltage Range -- tbd */
625 #define MMC_OCR_200_210 (1U << 8) /* Vdd voltage 2.00 ~ 2.10 */
626 #define MMC_OCR_210_220 (1U << 9) /* Vdd voltage 2.10 ~ 2.20 */
627 #define MMC_OCR_220_230 (1U << 10) /* Vdd voltage 2.20 ~ 2.30 */
628 #define MMC_OCR_230_240 (1U << 11) /* Vdd voltage 2.30 ~ 2.40 */
629 #define MMC_OCR_240_250 (1U << 12) /* Vdd voltage 2.40 ~ 2.50 */
630 #define MMC_OCR_250_260 (1U << 13) /* Vdd voltage 2.50 ~ 2.60 */
631 #define MMC_OCR_260_270 (1U << 14) /* Vdd voltage 2.60 ~ 2.70 */
632 #define MMC_OCR_270_280 (1U << 15) /* Vdd voltage 2.70 ~ 2.80 */
633 #define MMC_OCR_280_290 (1U << 16) /* Vdd voltage 2.80 ~ 2.90 */
634 #define MMC_OCR_290_300 (1U << 17) /* Vdd voltage 2.90 ~ 3.00 */
635 #define MMC_OCR_300_310 (1U << 18) /* Vdd voltage 3.00 ~ 3.10 */
636 #define MMC_OCR_310_320 (1U << 19) /* Vdd voltage 3.10 ~ 3.20 */
637 #define MMC_OCR_320_330 (1U << 20) /* Vdd voltage 3.20 ~ 3.30 */
638 #define MMC_OCR_330_340 (1U << 21) /* Vdd voltage 3.30 ~ 3.40 */
639 #define MMC_OCR_340_350 (1U << 22) /* Vdd voltage 3.40 ~ 3.50 */
640 #define MMC_OCR_350_360 (1U << 23) /* Vdd voltage 3.50 ~ 3.60 */
651 /* CSD -- decoded structure */
711 #define MMC_QUIRK_MID_ANY ((uint32_t)-1)
713 #define MMC_QUIRK_OID_ANY ((uint16_t)-1)