Lines Matching refs:rtsx_softc

109 int	rtsx_init(struct rtsx_softc *, int);
110 void rtsx_soft_reset(struct rtsx_softc *);
111 int rtsx_bus_power_off(struct rtsx_softc *);
112 int rtsx_bus_power_on(struct rtsx_softc *);
113 int rtsx_set_bus_width(struct rtsx_softc *, int);
114 int rtsx_stop_sd_clock(struct rtsx_softc *);
115 int rtsx_switch_sd_clock(struct rtsx_softc *, u_int8_t, int, int);
116 int rtsx_wait_intr(struct rtsx_softc *, int, int);
117 int rtsx_read(struct rtsx_softc *, u_int16_t, u_int8_t *);
118 int rtsx_write(struct rtsx_softc *, u_int16_t, u_int8_t, u_int8_t);
120 int rtsx_read_phy(struct rtsx_softc *, u_int8_t, u_int16_t *);
122 int rtsx_write_phy(struct rtsx_softc *, u_int8_t, u_int16_t);
123 int rtsx_read_cfg(struct rtsx_softc *, u_int8_t, u_int16_t, u_int32_t *);
125 int rtsx_write_cfg(struct rtsx_softc *, u_int8_t, u_int16_t, u_int32_t,
130 int rtsx_hostcmd_send(struct rtsx_softc *, int);
132 int rtsx_xfer_exec(struct rtsx_softc *, bus_dmamap_t, int);
133 int rtsx_xfer(struct rtsx_softc *, struct sdmmc_command *, u_int32_t *);
134 int rtsx_xfer_bounce(struct rtsx_softc *, struct sdmmc_command *);
135 int rtsx_xfer_adma(struct rtsx_softc *, struct sdmmc_command *);
136 void rtsx_card_insert(struct rtsx_softc *);
137 void rtsx_card_eject(struct rtsx_softc *);
138 int rtsx_led_enable(struct rtsx_softc *);
139 int rtsx_led_disable(struct rtsx_softc *);
140 void rtsx_save_regs(struct rtsx_softc *);
141 void rtsx_restore_regs(struct rtsx_softc *);
176 rtsx_attach(struct rtsx_softc *sc, bus_space_tag_t iot, in rtsx_attach()
252 rtsx_init(struct rtsx_softc *sc, int attaching) in rtsx_init()
351 struct rtsx_softc *sc = (struct rtsx_softc *)self; in rtsx_activate()
378 rtsx_led_enable(struct rtsx_softc *sc) in rtsx_led_enable()
393 rtsx_led_disable(struct rtsx_softc *sc) in rtsx_led_disable()
413 struct rtsx_softc *sc = sch; in rtsx_host_reset()
450 struct rtsx_softc *sc = sch; in rtsx_card_detect()
462 rtsx_bus_power_off(struct rtsx_softc *sc) in rtsx_bus_power_off()
497 rtsx_bus_power_on(struct rtsx_softc *sc) in rtsx_bus_power_on()
551 rtsx_set_bus_width(struct rtsx_softc *sc, int w) in rtsx_set_bus_width()
574 rtsx_stop_sd_clock(struct rtsx_softc *sc) in rtsx_stop_sd_clock()
583 rtsx_switch_sd_clock(struct rtsx_softc *sc, u_int8_t n, int div, int mcu) in rtsx_switch_sd_clock()
613 struct rtsx_softc *sc = sch; in rtsx_bus_power()
661 struct rtsx_softc *sc = sch; in rtsx_bus_clock()
722 struct rtsx_softc *sc = sch; in rtsx_bus_width()
728 rtsx_read(struct rtsx_softc *sc, u_int16_t addr, u_int8_t *val) in rtsx_read()
747 rtsx_write(struct rtsx_softc *sc, u_int16_t addr, u_int8_t mask, u_int8_t val) in rtsx_write()
771 rtsx_read_phy(struct rtsx_softc *sc, u_int8_t addr, u_int16_t *val) in rtsx_read_phy()
799 rtsx_write_phy(struct rtsx_softc *sc, u_int8_t addr, u_int16_t val) in rtsx_write_phy()
822 rtsx_read_cfg(struct rtsx_softc *sc, u_int8_t func, u_int16_t addr, in rtsx_read_cfg()
853 rtsx_write_cfg(struct rtsx_softc *sc, u_int8_t func, u_int16_t addr, in rtsx_write_cfg()
902 rtsx_save_regs(struct rtsx_softc *sc) in rtsx_save_regs()
929 rtsx_restore_regs(struct rtsx_softc *sc) in rtsx_restore_regs()
983 rtsx_hostcmd_send(struct rtsx_softc *sc, int ncmd) in rtsx_hostcmd_send()
1000 rtsx_xfer_exec(struct rtsx_softc *sc, bus_dmamap_t dmap, int dmaflags) in rtsx_xfer_exec()
1015 rtsx_xfer(struct rtsx_softc *sc, struct sdmmc_command *cmd, u_int32_t *cmdbuf) in rtsx_xfer()
1111 rtsx_xfer_bounce(struct rtsx_softc *sc, struct sdmmc_command *cmd) in rtsx_xfer_bounce()
1177 rtsx_xfer_adma(struct rtsx_softc *sc, struct sdmmc_command *cmd) in rtsx_xfer_adma()
1221 struct rtsx_softc *sc = sch; in rtsx_exec_command()
1366 rtsx_soft_reset(struct rtsx_softc *sc) in rtsx_soft_reset()
1384 rtsx_wait_intr(struct rtsx_softc *sc, int mask, int secs) in rtsx_wait_intr()
1418 rtsx_card_insert(struct rtsx_softc *sc) in rtsx_card_insert()
1430 rtsx_card_eject(struct rtsx_softc *sc) in rtsx_card_eject()
1447 struct rtsx_softc *sc = arg; in rtsx_intr()