Home
last modified time | relevance | path

Searched refs:sdmmc_softc (Results 1 – 6 of 6) sorted by relevance

/openbsd/src/sys/dev/sdmmc/
Dsdmmcvar.h60 struct sdmmc_softc;
66 struct sdmmc_softc *sc;
145 struct sdmmc_softc *sc; /* card slot softc */
167 struct sdmmc_softc { struct
238 void sdmmc_add_task(struct sdmmc_softc *, struct sdmmc_task *); argument
241 struct sdmmc_function *sdmmc_function_alloc(struct sdmmc_softc *);
243 int sdmmc_set_bus_power(struct sdmmc_softc *, u_int32_t, u_int32_t);
244 int sdmmc_mmc_command(struct sdmmc_softc *, struct sdmmc_command *);
245 int sdmmc_app_command(struct sdmmc_softc *, struct sdmmc_command *);
246 void sdmmc_go_idle_state(struct sdmmc_softc *);
[all …]
Dsdmmc.c59 int sdmmc_holds_root_device(struct sdmmc_softc *);
63 void sdmmc_card_attach(struct sdmmc_softc *);
64 void sdmmc_card_detach(struct sdmmc_softc *, int);
65 int sdmmc_enable(struct sdmmc_softc *);
66 void sdmmc_disable(struct sdmmc_softc *);
67 int sdmmc_scan(struct sdmmc_softc *);
68 int sdmmc_init(struct sdmmc_softc *);
76 void sdmmc_dump_command(struct sdmmc_softc *, struct sdmmc_command *);
83 sizeof(struct sdmmc_softc), sdmmc_match, sdmmc_attach, sdmmc_detach,
103 struct sdmmc_softc *sc = (struct sdmmc_softc *)self; in sdmmc_attach()
[all …]
Dsdmmc_io.c32 struct sdmmc_softc *ih_softc;
41 int sdmmc_io_rw_direct(struct sdmmc_softc *, struct sdmmc_function *,
43 int sdmmc_io_rw_extended_subr(struct sdmmc_softc *, struct sdmmc_function *,
45 int sdmmc_io_rw_extended(struct sdmmc_softc *, struct sdmmc_function *,
47 int sdmmc_io_xchg(struct sdmmc_softc *, struct sdmmc_function *,
49 void sdmmc_io_reset(struct sdmmc_softc *);
50 int sdmmc_io_send_op_cond(struct sdmmc_softc *, u_int32_t, u_int32_t *);
73 sdmmc_io_enable(struct sdmmc_softc *sc) in sdmmc_io_enable()
134 sdmmc_io_scan(struct sdmmc_softc *sc) in sdmmc_io_scan()
173 sdmmc_io_init(struct sdmmc_softc *sc, struct sdmmc_function *sf) in sdmmc_io_init()
[all …]
Dsdmmc_mem.c39 int sdmmc_decode_csd(struct sdmmc_softc *, sdmmc_response,
41 int sdmmc_decode_cid(struct sdmmc_softc *, sdmmc_response,
45 int sdmmc_mem_send_op_cond(struct sdmmc_softc *, u_int32_t, u_int32_t *);
46 int sdmmc_mem_set_blocklen(struct sdmmc_softc *, struct sdmmc_function *);
48 int sdmmc_mem_send_scr(struct sdmmc_softc *, uint32_t *);
49 int sdmmc_mem_decode_scr(struct sdmmc_softc *, uint32_t *,
52 int sdmmc_mem_send_cxd_data(struct sdmmc_softc *, int, void *, size_t);
55 int sdmmc_mem_signal_voltage(struct sdmmc_softc *, int);
57 int sdmmc_mem_sd_init(struct sdmmc_softc *, struct sdmmc_function *);
58 int sdmmc_mem_mmc_init(struct sdmmc_softc *, struct sdmmc_function *);
[all …]
Dsdmmc_scsi.h22 struct sdmmc_softc;
24 void sdmmc_scsi_attach(struct sdmmc_softc *);
25 void sdmmc_scsi_detach(struct sdmmc_softc *);
Dsdmmc_scsi.c89 void sdmmc_start_xs(struct sdmmc_softc *, struct sdmmc_ccb *);
106 sdmmc_scsi_attach(struct sdmmc_softc *sc) in sdmmc_scsi_attach()
167 sdmmc_scsi_detach(struct sdmmc_softc *sc) in sdmmc_scsi_detach()
307 struct sdmmc_softc *sc = link->bus->sb_adapter_softc; in sdmmc_scsi_cmd()
390 struct sdmmc_softc *sc = link->bus->sb_adapter_softc; in sdmmc_inquiry()
461 sdmmc_start_xs(struct sdmmc_softc *sc, struct sdmmc_ccb *ccb) in sdmmc_start_xs()
490 struct sdmmc_softc *sc = link->bus->sb_adapter_softc; in sdmmc_complete_xs()
522 struct sdmmc_softc *sc = link->bus->sb_adapter_softc; in sdmmc_done_xs()
557 struct sdmmc_softc *sc = sl->bus->sb_adapter_softc; in sdmmc_minphys()
576 struct sdmmc_softc sdmmc_sc; in sdmmc_scsi_hibernate_io()
[all …]