Searched refs:mmc_sim (Results 1 – 8 of 8) sorted by relevance
| /freebsd-14.2/sys/cam/mmc/ |
| H A D | mmc_sim.c | 45 struct mmc_sim *mmc_sim; in mmc_cam_default_poll() local 54 struct mmc_sim *mmc_sim; in mmc_sim_task() local 58 mmc_sim = arg; in mmc_sim_task() 92 struct mmc_sim *mmc_sim; in mmc_cam_sim_default_action() local 194 snprintf(mmc_sim->name, sizeof(mmc_sim->name), "%s_sim", name); in mmc_cam_sim_alloc() 195 mtx_init(&mmc_sim->mtx, mmc_sim->name, NULL, MTX_DEF); in mmc_cam_sim_alloc() 203 mmc_sim->name, mmc_sim, device_get_unit(dev), in mmc_cam_sim_alloc() 204 &mmc_sim->mtx, 1, 1, mmc_sim->devq); in mmc_cam_sim_alloc() 222 TASK_INIT(&mmc_sim->sim_task, 0, mmc_sim_task, mmc_sim); in mmc_cam_sim_alloc() 232 mmc_cam_sim_free(struct mmc_sim *mmc_sim) in mmc_cam_sim_free() argument [all …]
|
| H A D | mmc_sim.h | 31 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 D | mmc_sim_if.m | 36 #include <cam/mmc/mmc_sim.h> 38 INTERFACE mmc_sim;
|
| /freebsd-14.2/sys/dev/mmc/host/ |
| H A D | dwmmc_var.h | 59 struct mmc_sim mmc_sim; member
|
| H A D | dwmmc.c | 479 mmc_cam_sim_discover(&sc->mmc_sim); in dwmmc_card_task() 760 if (mmc_cam_sim_alloc(dev, "dw_mmc", &sc->mmc_sim) != 0) { in dwmmc_attach() 811 mmc_cam_sim_free(&sc->mmc_sim); in dwmmc_detach()
|
| /freebsd-14.2/sys/arm/allwinner/ |
| H A D | aw_mmc.c | 135 struct mmc_sim mmc_sim; member 324 mmc_cam_sim_discover(&sc->mmc_sim); in aw_mmc_helper_cd_handler() 465 if (mmc_cam_sim_alloc(dev, "aw_mmc", &sc->mmc_sim) != 0) { in aw_mmc_attach() 513 mmc_cam_sim_free(&sc->mmc_sim); in aw_mmc_detach()
|
| /freebsd-14.2/sys/dev/rtsx/ |
| H A D | rtsx.c | 116 struct mmc_sim rtsx_mmc_sim; /* CAM generic sim */
|
| /freebsd-14.2/sys/conf/ |
| H A D | files | 118 cam/mmc/mmc_sim.c optional scbus mmccam
|