Lines Matching refs:slot

66 sdhci_xenon_read_1(device_t dev, struct sdhci_slot *slot __unused,  in sdhci_xenon_read_1()
75 sdhci_xenon_write_1(device_t dev, struct sdhci_slot *slot __unused, in sdhci_xenon_write_1()
84 sdhci_xenon_read_2(device_t dev, struct sdhci_slot *slot __unused, in sdhci_xenon_read_2()
93 sdhci_xenon_write_2(device_t dev, struct sdhci_slot *slot __unused, in sdhci_xenon_write_2()
102 sdhci_xenon_read_4(device_t dev, struct sdhci_slot *slot __unused, in sdhci_xenon_read_4()
111 sdhci_xenon_write_4(device_t dev, struct sdhci_slot *slot __unused, in sdhci_xenon_write_4()
120 sdhci_xenon_read_multi_4(device_t dev, struct sdhci_slot *slot __unused, in sdhci_xenon_read_multi_4()
129 sdhci_xenon_write_multi_4(device_t dev, struct sdhci_slot *slot __unused, in sdhci_xenon_write_multi_4()
142 sdhci_generic_intr(sc->slot); in sdhci_xenon_intr()
154 sdhci_xenon_set_uhs_timing(device_t brdev, struct sdhci_slot *slot) in sdhci_xenon_set_uhs_timing() argument
159 if (slot->version < SDHCI_SPEC_300) in sdhci_xenon_set_uhs_timing()
162 mtx_assert(&slot->mtx, MA_OWNED); in sdhci_xenon_set_uhs_timing()
163 ios = &slot->host.ios; in sdhci_xenon_set_uhs_timing()
166 hostctrl2 = sdhci_xenon_read_2(brdev, slot, SDHCI_HOST_CONTROL2); in sdhci_xenon_set_uhs_timing()
187 sdhci_xenon_write_2(brdev, slot, SDHCI_HOST_CONTROL2, hostctrl2); in sdhci_xenon_set_uhs_timing()
328 struct sdhci_slot *slot; in sdhci_xenon_update_ios() local
336 slot = device_get_ivars(reqdev); in sdhci_xenon_update_ios()
337 ios = &slot->host.ios; in sdhci_xenon_update_ios()
380 struct sdhci_slot *slot; in sdhci_xenon_switch_vccq() local
384 slot = device_get_ivars(reqdev); in sdhci_xenon_switch_vccq()
386 if (slot->version < SDHCI_SPEC_300) in sdhci_xenon_switch_vccq()
397 switch (slot->host.ios.vccq) { in sdhci_xenon_switch_vccq()
429 if (!(slot->host.caps & MMC_CAP_SIGNALING_180)) { in sdhci_xenon_switch_vccq()
479 sc->slot->quirks = val; in sdhci_xenon_parse_prop()
524 sc->slot->max_clk = XENON_MMC_MAX_CLK; in sdhci_xenon_attach()
525 if (sc->slot->host.f_max > 0) in sdhci_xenon_attach()
526 sc->slot->max_clk = sc->slot->host.f_max; in sdhci_xenon_attach()
528 if (sdhci_init_slot(dev, sc->slot, 0)) in sdhci_xenon_attach()
532 sc->slot->host.caps &= ~MMC_CAP_SIGNALING_120; in sdhci_xenon_attach()
536 sc->slot->host.caps &= ~MMC_CAP_SIGNALING_180; in sdhci_xenon_attach()
575 sdhci_start_slot(sc->slot); in sdhci_xenon_attach()
584 free(sc->slot, M_DEVBUF); in sdhci_xenon_attach()
585 sc->slot = NULL; in sdhci_xenon_attach()
599 sdhci_cleanup_slot(sc->slot); in sdhci_xenon_detach()
602 free(sc->slot, M_DEVBUF); in sdhci_xenon_detach()
603 sc->slot = NULL; in sdhci_xenon_detach()