Home
last modified time | relevance | path

Searched refs:mmc_sim (Results 1 – 8 of 8) sorted by relevance

/freebsd/sys/cam/mmc/
H A Dmmc_sim.c44 struct mmc_sim *mmc_sim; in mmc_cam_default_poll() local
46 mmc_sim = cam_sim_softc(sim); in mmc_cam_default_poll()
47 MMC_SIM_CAM_POLL(mmc_sim->dev); in mmc_cam_default_poll()
53 struct mmc_sim *mmc_sim; in mmc_sim_task() local
57 mmc_sim = arg; in mmc_sim_task()
59 if (mmc_sim->ccb == NULL) in mmc_sim_task()
62 cts = &mmc_sim->ccb->cts; in mmc_sim_task()
63 switch (mmc_sim->ccb->ccb_h.func_code) { in mmc_sim_task()
65 rv = MMC_SIM_GET_TRAN_SETTINGS(mmc_sim->dev, &cts->proto_specific.mmc); in mmc_sim_task()
67 mmc_sim->ccb->ccb_h.status = CAM_REQ_INVALID; in mmc_sim_task()
[all …]
H A Dmmc_sim.h31 struct mmc_sim { struct
42 int mmc_cam_sim_alloc(device_t dev, const char *name, struct mmc_sim *mmc_sim); argument
43 void mmc_cam_sim_free(struct mmc_sim *sim);
44 void mmc_cam_sim_discover(struct mmc_sim *mmc_sim);
H A Dmmc_sim_if.m36 #include <cam/mmc/mmc_sim.h>
38 INTERFACE mmc_sim;
/freebsd/sys/dev/mmc/host/
H A Ddwmmc_var.h59 struct mmc_sim mmc_sim; member
H A Ddwmmc.c478 mmc_cam_sim_discover(&sc->mmc_sim); in dwmmc_card_task()
755 if (mmc_cam_sim_alloc(dev, "dw_mmc", &sc->mmc_sim) != 0) { in dwmmc_attach()
806 mmc_cam_sim_free(&sc->mmc_sim); in dwmmc_detach()
/freebsd/sys/arm/allwinner/
H A Daw_mmc.c134 struct mmc_sim mmc_sim; member
323 mmc_cam_sim_discover(&sc->mmc_sim); in aw_mmc_helper_cd_handler()
461 if (mmc_cam_sim_alloc(dev, "aw_mmc", &sc->mmc_sim) != 0) { in aw_mmc_attach()
503 mmc_cam_sim_free(&sc->mmc_sim); in aw_mmc_detach()
/freebsd/sys/dev/rtsx/
H A Drtsx.c115 struct mmc_sim rtsx_mmc_sim; /* CAM generic sim */
/freebsd/sys/conf/
H A Dfiles120 cam/mmc/mmc_sim.c optional scbus mmccam