Lines Matching defs:mmc_card
267 struct mmc_card { struct
268 struct mmc_host *host; /* the host this device belongs to */
269 struct device dev; /* the device */
270 u32 ocr; /* the current OCR setting */
271 unsigned int rca; /* relative card address of device */
272 unsigned int type; /* card type */
277 unsigned int state; /* (our) card state */
278 unsigned int quirks; /* card quirks */
279 unsigned int quirk_max_rate; /* max rate set by quirks */
298 bool reenable_cmdq; /* Re-enable Command Queue */
300 unsigned int erase_size; /* erase size in sectors */
301 unsigned int erase_shift; /* if erase unit is power 2 */
302 unsigned int pref_erase; /* in sectors */
303 unsigned int eg_boundary; /* don't cross erase-group boundaries */
304 unsigned int erase_arg; /* erase / trim / discard */
305 u8 erased_byte; /* value of erased bytes */
307 u32 raw_cid[4]; /* raw card CID */
308 u32 raw_csd[4]; /* raw card CSD */
309 u32 raw_scr[2]; /* raw card SCR */
310 u32 raw_ssr[16]; /* raw card SSR */
311 struct mmc_cid cid; /* card identification */
312 struct mmc_csd csd; /* card specific */
313 struct mmc_ext_csd ext_csd; /* mmc v4 extended card specific */
314 struct sd_scr scr; /* extra SD information */
315 struct sd_ssr ssr; /* yet more SD information */
316 struct sd_switch_caps sw_caps; /* switch (CMD6) caps */
317 struct sd_ext_reg ext_power; /* SD extension reg for PM */
318 struct sd_ext_reg ext_perf; /* SD extension reg for PERF */
343 static inline bool mmc_large_sector(struct mmc_card *card) in mmc_large_sector() argument