Lines Matching defs:sd_card
63 struct sd_card { struct
64 const struct device *sdhc; /*!< SD host controller for card */
65 struct sdhc_io bus_io; /*!< Current bus I/O props for SDHC */
66 enum sd_voltage card_voltage; /*!< Card signal voltage */
67 struct k_mutex lock; /*!< card mutex */
68 struct sdhc_host_props host_props; /*!< SDHC host properties */
69 uint32_t ocr; /*!< Raw card OCR content */
70 struct sd_switch_caps switch_caps; /*!< SD switch capabilities */
71 unsigned int num_io: 3; /*!< I/O function count. 0 for SD cards */
72 uint16_t relative_addr; /*!< Card relative address */
73 uint32_t block_count; /*!< Number of blocks in SD card */
74 uint16_t block_size; /*!< SD block size */
75 uint8_t sd_version; /*!< SD specification version */
76 uint8_t card_speed; /*!< Card timing mode */
77 enum card_status status; /*!< Card status */
78 enum card_type type; /*!< Card type */
79 uint16_t flags; /*!< Card flags */
80 uint8_t bus_width; /*!< Desired bus width */
81 uint32_t cccr_flags; /*!< SDIO CCCR data */
105 int sd_init(const struct device *sdhc_dev, struct sd_card *card); argument