Searched refs:sc_slot (Results 1 – 2 of 2) sorted by relevance
/freebsd/sys/arm/broadcom/bcm2835/ |
H A D | bcm2835_sdhost.c | 209 struct sdhci_slot sc_slot; member 438 bcm_sdhost_reset(dev, &sc->sc_slot); in bcm_sdhost_attach() 440 bcm_sdhost_print_regs(sc, &sc->sc_slot, __LINE__, 0); in bcm_sdhost_attach() 458 sc->sc_slot.caps = 0; in bcm_sdhost_attach() 459 sc->sc_slot.caps |= SDHCI_CAN_VDD_330; in bcm_sdhost_attach() 460 sc->sc_slot.caps |= SDHCI_CAN_DO_HISPD; in bcm_sdhost_attach() 461 sc->sc_slot.caps |= (default_freq << SDHCI_CLOCK_BASE_SHIFT); in bcm_sdhost_attach() 463 sc->sc_slot.quirks = 0; in bcm_sdhost_attach() 464 sc->sc_slot.quirks |= SDHCI_QUIRK_MISSING_CAPS; in bcm_sdhost_attach() 465 sc->sc_slot.quirks |= SDHCI_QUIRK_DONT_SHIFT_RESPONSE; in bcm_sdhost_attach() [all …]
|
H A D | bcm2835_sdhci.c | 157 struct sdhci_slot sc_slot; member 310 sc->sc_slot.opt = SDHCI_PLATFORM_TRANSFER; in bcm_sdhci_attach() 312 sc->sc_slot.caps = SDHCI_CAN_VDD_330 | SDHCI_CAN_VDD_180; in bcm_sdhci_attach() 314 sc->sc_slot.caps |= SDHCI_CAN_DO_HISPD; in bcm_sdhci_attach() 315 sc->sc_slot.caps |= (default_freq << SDHCI_CLOCK_BASE_SHIFT); in bcm_sdhci_attach() 316 sc->sc_slot.quirks = sc->conf->quirks; in bcm_sdhci_attach() 318 sdhci_init_slot(dev, &sc->sc_slot, 0); in bcm_sdhci_attach() 319 mmc_fdt_parse(dev, 0, &sc->sc_mmc_helper, &sc->sc_slot.host); in bcm_sdhci_attach() 359 sdhci_start_slot(&sc->sc_slot); in bcm_sdhci_attach() 362 sc->blksz_and_count = SDHCI_READ_4(dev, &sc->sc_slot, SDHCI_BLOCK_SIZE); in bcm_sdhci_attach() [all …]
|