Lines Matching defs:sdmmc_function

198  * of sdmmc_function structures.
200 struct sdmmc_function {
211 SIMPLEQ_ENTRY(sdmmc_function) sf_list;
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 *);
361 int sdmmc_set_relative_addr(struct sdmmc_softc *, struct sdmmc_function *);
363 void sdmmc_intr_enable(struct sdmmc_function *);
364 void sdmmc_intr_disable(struct sdmmc_function *);
370 struct sdmmc_function *);
372 struct sdmmc_function *);
381 int sdmmc_io_init(struct sdmmc_softc *, struct sdmmc_function *);
382 int sdmmc_io_set_blocklen(struct sdmmc_function *, int);
383 uint8_t sdmmc_io_read_1(struct sdmmc_function *, int);
384 uint16_t sdmmc_io_read_2(struct sdmmc_function *, int);
385 uint32_t sdmmc_io_read_4(struct sdmmc_function *, int);
386 int sdmmc_io_read_multi_1(struct sdmmc_function *, int, u_char *, int);
387 int sdmmc_io_read_region_1(struct sdmmc_function *, int, u_char *, int);
388 void sdmmc_io_write_1(struct sdmmc_function *, int, uint8_t);
389 void sdmmc_io_write_2(struct sdmmc_function *, int, uint16_t);
390 void sdmmc_io_write_4(struct sdmmc_function *, int, uint32_t);
391 int sdmmc_io_write_multi_1(struct sdmmc_function *, int, u_char *, int);
392 int sdmmc_io_write_region_1(struct sdmmc_function *, int, u_char *, int);
393 int sdmmc_io_function_enable(struct sdmmc_function *);
394 void sdmmc_io_function_disable(struct sdmmc_function *);
395 int sdmmc_io_function_abort(struct sdmmc_function *);
397 uint32_t sdmmc_cisptr(struct sdmmc_function *);
398 int sdmmc_read_cis(struct sdmmc_function *, struct sdmmc_cis *);
399 void sdmmc_print_cis(struct sdmmc_function *);
400 void sdmmc_check_cis_quirks(struct sdmmc_function *);
404 int sdmmc_mem_init(struct sdmmc_softc *, struct sdmmc_function *);
407 int sdmmc_mem_set_blocklen(struct sdmmc_softc *, struct sdmmc_function *,
409 int sdmmc_mem_read_block(struct sdmmc_function *, uint32_t, u_char *,
411 int sdmmc_mem_write_block(struct sdmmc_function *, uint32_t, u_char *,
413 int sdmmc_mem_discard(struct sdmmc_function *, uint32_t, uint32_t);
414 int sdmmc_mem_flush_cache(struct sdmmc_function *, bool);