Home
last modified time | relevance | path

Searched refs:sd_type (Results 1 – 7 of 7) sorted by relevance

/linux-3.4.99/drivers/staging/rts5139/
Drts51x_chip.h487 #define CHK_SD(sd_card) (((sd_card)->sd_type & 0xFF) == TYPE_SD)
489 (CHK_SD(sd_card) && ((sd_card)->sd_type & SD_HS))
491 (CHK_SD(sd_card) && ((sd_card)->sd_type & SD_SDR50))
493 (CHK_SD(sd_card) && ((sd_card)->sd_type & SD_DDR50))
495 (CHK_SD(sd_card) && ((sd_card)->sd_type & SD_SDR104))
497 (CHK_SD(sd_card) && ((sd_card)->sd_type & SD_HCXC))
502 #define SET_SD(sd_card) ((sd_card)->sd_type = TYPE_SD)
503 #define SET_SD_HS(sd_card) ((sd_card)->sd_type |= SD_HS)
504 #define SET_SD_SDR50(sd_card) ((sd_card)->sd_type |= SD_SDR50)
505 #define SET_SD_DDR50(sd_card) ((sd_card)->sd_type |= SD_DDR50)
[all …]
Dsd.c2876 sd_card->sd_type = 0;
2974 RTS51X_DEBUGP("sd_card->sd_type = 0x%x\n", sd_card->sd_type);
/linux-3.4.99/drivers/staging/rts_pstor/
Drtsx_chip.h392 #define CHK_SD(sd_card) (((sd_card)->sd_type & 0xFF) == TYPE_SD)
393 #define CHK_SD_HS(sd_card) (CHK_SD(sd_card) && ((sd_card)->sd_type & SD_HS))
394 #define CHK_SD_SDR50(sd_card) (CHK_SD(sd_card) && ((sd_card)->sd_type & SD_SDR50))
395 #define CHK_SD_DDR50(sd_card) (CHK_SD(sd_card) && ((sd_card)->sd_type & SD_DDR50))
396 #define CHK_SD_SDR104(sd_card) (CHK_SD(sd_card) && ((sd_card)->sd_type & SD_SDR104))
397 #define CHK_SD_HCXC(sd_card) (CHK_SD(sd_card) && ((sd_card)->sd_type & SD_HCXC))
402 #define SET_SD(sd_card) ((sd_card)->sd_type = TYPE_SD)
403 #define SET_SD_HS(sd_card) ((sd_card)->sd_type |= SD_HS)
404 #define SET_SD_SDR50(sd_card) ((sd_card)->sd_type |= SD_SDR50)
405 #define SET_SD_DDR50(sd_card) ((sd_card)->sd_type |= SD_DDR50)
[all …]
Dsd.c2027 sd_card->sd_type = 0; in sd_prepare_reset()
3185 RTSX_DEBUGP("sd_card->sd_type = 0x%x\n", sd_card->sd_type); in reset_sd_card()
3195 sd_card->sd_type = 0; in reset_mmc_only()
3237 RTSX_DEBUGP("In reset_mmc_only, sd_card->sd_type = 0x%x\n", sd_card->sd_type); in reset_mmc_only()
/linux-3.4.99/drivers/mmc/core/
Dsd.h6 extern struct device_type sd_type;
Dsd.c719 struct device_type sd_type = { variable
930 card = mmc_alloc_card(host, &sd_type); in mmc_sd_init_card()
Dsdio.c751 card->dev.type = &sd_type; in mmc_sdio_init_card()