Home
last modified time | relevance | path

Searched refs:sdmmc_function (Results 1 – 10 of 10) sorted by relevance

/netbsd/src/sys/dev/sdmmc/
Dsdmmcvar.h200 struct sdmmc_function { struct
211 SIMPLEQ_ENTRY(sdmmc_function) sf_list; argument
281 struct sdmmc_function *sc_card; /* selected card */
282 struct sdmmc_function *sc_fn0; /* function 0, the card itself */
283 SIMPLEQ_HEAD(, sdmmc_function) sf_head; /* list of card functions */
325 struct sdmmc_function *sf;
352 struct sdmmc_function *sdmmc_function_alloc(struct sdmmc_softc *);
353 void sdmmc_function_free(struct sdmmc_function *);
356 int sdmmc_app_command(struct sdmmc_softc *, struct sdmmc_function *,
360 int sdmmc_select_card(struct sdmmc_softc *, struct sdmmc_function *);
[all …]
Dsdmmc_io.c55 struct sdmmc_function *, int, u_char *, int, bool);
57 struct sdmmc_function *, int, u_char *, int, int);
59 static int sdmmc_io_xchg(struct sdmmc_softc *, struct sdmmc_function *,
145 struct sdmmc_function *sf0, *sf; in sdmmc_io_scan()
189 sdmmc_io_init(struct sdmmc_softc *sc, struct sdmmc_function *sf) in sdmmc_io_init()
191 struct sdmmc_function *sf0 = sc->sc_fn0; in sdmmc_io_init()
283 sdmmc_io_function_ready(struct sdmmc_function *sf) in sdmmc_io_function_ready()
286 struct sdmmc_function *sf0 = sc->sc_fn0; in sdmmc_io_function_ready()
299 sdmmc_io_function_enable(struct sdmmc_function *sf) in sdmmc_io_function_enable()
302 struct sdmmc_function *sf0 = sc->sc_fn0; in sdmmc_io_function_enable()
[all …]
Dsdmmc_cis.c44 static void decode_funce_common(struct sdmmc_function *, struct sdmmc_cis *,
46 static void decode_funce_function(struct sdmmc_function *, struct sdmmc_cis *,
48 static void decode_vers_1(struct sdmmc_function *, struct sdmmc_cis *, int,
52 sdmmc_cisptr(struct sdmmc_function *sf) in sdmmc_cisptr()
62 struct sdmmc_function *sf0 = sf->sc->sc_fn0; in sdmmc_cisptr()
73 decode_funce_common(struct sdmmc_function *sf, struct sdmmc_cis *cis, in decode_funce_common()
79 struct sdmmc_function *sf0 = sf->sc->sc_fn0; in decode_funce_common()
105 decode_funce_lan_nid(struct sdmmc_function *sf, struct sdmmc_cis *cis, in decode_funce_lan_nid()
108 struct sdmmc_function *sf0 = sf->sc->sc_fn0; in decode_funce_lan_nid()
134 decode_funce_function(struct sdmmc_function *sf, struct sdmmc_cis *cis, in decode_funce_function()
[all …]
Dsdmmc_mem.c74 static int sdmmc_mem_sd_init(struct sdmmc_softc *, struct sdmmc_function *);
75 static int sdmmc_mem_mmc_init(struct sdmmc_softc *, struct sdmmc_function *);
77 static int sdmmc_mem_send_csd(struct sdmmc_softc *, struct sdmmc_function *,
79 static int sdmmc_mem_send_scr(struct sdmmc_softc *, struct sdmmc_function *,
81 static int sdmmc_mem_decode_scr(struct sdmmc_softc *, struct sdmmc_function *);
82 static int sdmmc_mem_send_ssr(struct sdmmc_softc *, struct sdmmc_function *,
84 static int sdmmc_mem_decode_ssr(struct sdmmc_softc *, struct sdmmc_function *,
87 struct sdmmc_function * ,const uint8_t *);
89 struct sdmmc_function *);
91 static int sdmmc_mem_read_extr_single(struct sdmmc_softc *, struct sdmmc_function *,
[all …]
Dsdmmc.c431 struct sdmmc_function *sf; in sdmmc_card_attach()
499 struct sdmmc_function *sf, *sfnext; in sdmmc_card_detach()
533 struct sdmmc_function *sf = sa->sf; in sdmmc_print()
677 struct sdmmc_function *
680 struct sdmmc_function *sf; in sdmmc_function_alloc()
742 sdmmc_function_free(struct sdmmc_function *sf) in sdmmc_function_free()
793 struct sdmmc_function *sf; in sdmmc_init()
840 sdmmc_app_command(struct sdmmc_softc *sc, struct sdmmc_function *sf, struct sdmmc_command *cmd) in sdmmc_app_command()
951 sdmmc_set_relative_addr(struct sdmmc_softc *sc, struct sdmmc_function *sf) in sdmmc_set_relative_addr()
984 sdmmc_select_card(struct sdmmc_softc *sc, struct sdmmc_function *sf) in sdmmc_select_card()
Dif_bwi_sdio.c104 struct sdmmc_function *sc_sf;
135 struct sdmmc_function *sf = saa->sf; in bwi_sdio_match()
162 struct sdmmc_function *sf = saa->sf; in bwi_sdio_attach()
215 struct sdmmc_function *sf0 = ssc->sc_sf->sc->sc_fn0; in bwi_sdio_parse_cis()
Dif_bwfm_sdio.c82 struct sdmmc_function **sc_sf;
146 struct sdmmc_function *, uint32_t, char *, size_t);
148 struct sdmmc_function *, uint32_t, char *, size_t);
326 struct sdmmc_function *sf = saa->sf; in bwfm_sdio_match()
361 struct sdmmc_function *sf = saa->sf; in bwfm_sdio_attach()
386 * sizeof(struct sdmmc_function *); in bwfm_sdio_attach()
693 struct sdmmc_function *sf; in bwfm_sdio_read_1()
714 struct sdmmc_function *sf; in bwfm_sdio_read_4()
740 struct sdmmc_function *sf; in bwfm_sdio_write_1()
759 struct sdmmc_function *sf; in bwfm_sdio_write_4()
[all …]
Dsbt.c63 struct sdmmc_function *sc_sf; /* SDIO function */
144 struct sdmmc_function *sf; in sbt_match()
Dld_sdmmc.c93 struct sdmmc_function *sc_sf;
/netbsd/src/sys/dev/marvell/
Dmvsdio.c605 struct sdmmc_function *sf = sdmmc->sc_card; in mvsdio_exec_command()