sys/dev/rtsx/rtsx.c
1285
rtsx_rts5227_fill_driving(struct rtsx_softc *sc)
sys/dev/rtsx/rtsx.c
1302
rtsx_rts5249_fill_driving(struct rtsx_softc *sc)
sys/dev/rtsx/rtsx.c
1318
rtsx_rts5260_fill_driving(struct rtsx_softc *sc)
sys/dev/rtsx/rtsx.c
1334
rtsx_read(struct rtsx_softc *sc, uint16_t addr, uint8_t *val)
sys/dev/rtsx/rtsx.c
1359
rtsx_read_cfg(struct rtsx_softc *sc, uint8_t func, uint16_t addr, uint32_t *val)
sys/dev/rtsx/rtsx.c
1388
rtsx_write(struct rtsx_softc *sc, uint16_t addr, uint8_t mask, uint8_t val)
sys/dev/rtsx/rtsx.c
1415
rtsx_read_phy(struct rtsx_softc *sc, uint8_t addr, uint16_t *val)
sys/dev/rtsx/rtsx.c
1439
rtsx_write_phy(struct rtsx_softc *sc, uint8_t addr, uint16_t val)
sys/dev/rtsx/rtsx.c
1464
rtsx_bus_power_off(struct rtsx_softc *sc)
sys/dev/rtsx/rtsx.c
1571
rtsx_bus_power_on(struct rtsx_softc *sc)
sys/dev/rtsx/rtsx.c
1752
rtsx_set_bus_width(struct rtsx_softc *sc, enum mmc_bus_width width)
sys/dev/rtsx/rtsx.c
1783
rtsx_set_sd_timing(struct rtsx_softc *sc, enum mmc_bus_timing timing)
sys/dev/rtsx/rtsx.c
1838
rtsx_set_sd_clock(struct rtsx_softc *sc, uint32_t freq)
sys/dev/rtsx/rtsx.c
1920
rtsx_stop_sd_clock(struct rtsx_softc *sc)
sys/dev/rtsx/rtsx.c
1929
rtsx_switch_sd_clock(struct rtsx_softc *sc, uint8_t clk, uint8_t n, uint8_t div, uint8_t mcu)
sys/dev/rtsx/rtsx.c
1959
rtsx_sd_change_tx_phase(struct rtsx_softc *sc, uint8_t sample_point)
sys/dev/rtsx/rtsx.c
1973
rtsx_sd_change_rx_phase(struct rtsx_softc *sc, uint8_t sample_point)
sys/dev/rtsx/rtsx.c
1987
rtsx_sd_tuning_rx_phase(struct rtsx_softc *sc, uint32_t *phase_map)
sys/dev/rtsx/rtsx.c
2003
rtsx_sd_tuning_rx_cmd(struct rtsx_softc *sc, uint8_t sample_point)
sys/dev/rtsx/rtsx.c
201
static int rtsx_dma_alloc(struct rtsx_softc *sc);
sys/dev/rtsx/rtsx.c
203
static void rtsx_dma_free(struct rtsx_softc *sc);
sys/dev/rtsx/rtsx.c
205
static void rtsx_handle_card_present(struct rtsx_softc *sc);
sys/dev/rtsx/rtsx.c
2057
rtsx_sd_tuning_rx_cmd_wait(struct rtsx_softc *sc, struct mmc_command *cmd)
sys/dev/rtsx/rtsx.c
207
static bool rtsx_is_card_present(struct rtsx_softc *sc);
sys/dev/rtsx/rtsx.c
2074
rtsx_sd_tuning_rx_cmd_wakeup(struct rtsx_softc *sc)
sys/dev/rtsx/rtsx.c
208
static int rtsx_init(struct rtsx_softc *sc);
sys/dev/rtsx/rtsx.c
2080
rtsx_sd_wait_data_idle(struct rtsx_softc *sc)
sys/dev/rtsx/rtsx.c
2094
rtsx_sd_search_final_rx_phase(struct rtsx_softc *sc, uint32_t phase_map)
sys/dev/rtsx/rtsx.c
210
static int rtsx_rts5227_fill_driving(struct rtsx_softc *sc);
sys/dev/rtsx/rtsx.c
211
static int rtsx_rts5249_fill_driving(struct rtsx_softc *sc);
sys/dev/rtsx/rtsx.c
212
static int rtsx_rts5260_fill_driving(struct rtsx_softc *sc);
sys/dev/rtsx/rtsx.c
213
static int rtsx_read(struct rtsx_softc *, uint16_t, uint8_t *);
sys/dev/rtsx/rtsx.c
2134
rtsx_led_enable(struct rtsx_softc *sc)
sys/dev/rtsx/rtsx.c
214
static int rtsx_read_cfg(struct rtsx_softc *sc, uint8_t func, uint16_t addr, uint32_t *val);
sys/dev/rtsx/rtsx.c
215
static int rtsx_write(struct rtsx_softc *sc, uint16_t addr, uint8_t mask, uint8_t val);
sys/dev/rtsx/rtsx.c
2157
rtsx_led_disable(struct rtsx_softc *sc)
sys/dev/rtsx/rtsx.c
216
static int rtsx_read_phy(struct rtsx_softc *sc, uint8_t addr, uint16_t *val);
sys/dev/rtsx/rtsx.c
217
static int rtsx_write_phy(struct rtsx_softc *sc, uint8_t addr, uint16_t val);
sys/dev/rtsx/rtsx.c
218
static int rtsx_bus_power_off(struct rtsx_softc *sc);
sys/dev/rtsx/rtsx.c
219
static int rtsx_bus_power_on(struct rtsx_softc *sc);
sys/dev/rtsx/rtsx.c
220
static int rtsx_set_bus_width(struct rtsx_softc *sc, enum mmc_bus_width width);
sys/dev/rtsx/rtsx.c
2209
rtsx_init_cmd(struct rtsx_softc *sc, struct mmc_command *cmd)
sys/dev/rtsx/rtsx.c
221
static int rtsx_set_sd_timing(struct rtsx_softc *sc, enum mmc_bus_timing timing);
sys/dev/rtsx/rtsx.c
222
static int rtsx_set_sd_clock(struct rtsx_softc *sc, uint32_t freq);
sys/dev/rtsx/rtsx.c
2228
rtsx_push_cmd(struct rtsx_softc *sc, uint8_t cmd, uint16_t reg,
sys/dev/rtsx/rtsx.c
223
static int rtsx_stop_sd_clock(struct rtsx_softc *sc);
sys/dev/rtsx/rtsx.c
224
static int rtsx_switch_sd_clock(struct rtsx_softc *sc, uint8_t clk, uint8_t n, uint8_t div, uint8_t mcu);
sys/dev/rtsx/rtsx.c
2246
rtsx_set_cmd_data_len(struct rtsx_softc *sc, uint16_t block_cnt, uint16_t byte_cnt)
sys/dev/rtsx/rtsx.c
226
static void rtsx_sd_change_tx_phase(struct rtsx_softc *sc, uint8_t sample_point);
sys/dev/rtsx/rtsx.c
2262
rtsx_send_cmd(struct rtsx_softc *sc)
sys/dev/rtsx/rtsx.c
227
static void rtsx_sd_change_rx_phase(struct rtsx_softc *sc, uint8_t sample_point);
sys/dev/rtsx/rtsx.c
228
static void rtsx_sd_tuning_rx_phase(struct rtsx_softc *sc, uint32_t *phase_map);
sys/dev/rtsx/rtsx.c
2283
rtsx_stop_cmd(struct rtsx_softc *sc)
sys/dev/rtsx/rtsx.c
229
static int rtsx_sd_tuning_rx_cmd(struct rtsx_softc *sc, uint8_t sample_point);
sys/dev/rtsx/rtsx.c
230
static int rtsx_sd_tuning_rx_cmd_wait(struct rtsx_softc *sc, struct mmc_command *cmd);
sys/dev/rtsx/rtsx.c
231
static void rtsx_sd_tuning_rx_cmd_wakeup(struct rtsx_softc *sc);
sys/dev/rtsx/rtsx.c
2310
rtsx_clear_error(struct rtsx_softc *sc)
sys/dev/rtsx/rtsx.c
232
static void rtsx_sd_wait_data_idle(struct rtsx_softc *sc);
sys/dev/rtsx/rtsx.c
2321
rtsx_req_done(struct rtsx_softc *sc)
sys/dev/rtsx/rtsx.c
233
static uint8_t rtsx_sd_search_final_rx_phase(struct rtsx_softc *sc, uint32_t phase_map);
sys/dev/rtsx/rtsx.c
2355
rtsx_send_req(struct rtsx_softc *sc, struct mmc_command *cmd)
sys/dev/rtsx/rtsx.c
237
static int rtsx_led_enable(struct rtsx_softc *sc);
sys/dev/rtsx/rtsx.c
238
static int rtsx_led_disable(struct rtsx_softc *sc);
sys/dev/rtsx/rtsx.c
241
static void rtsx_init_cmd(struct rtsx_softc *sc, struct mmc_command *cmd);
sys/dev/rtsx/rtsx.c
2414
rtsx_ret_resp(struct rtsx_softc *sc)
sys/dev/rtsx/rtsx.c
242
static void rtsx_push_cmd(struct rtsx_softc *sc, uint8_t cmd, uint16_t reg,
sys/dev/rtsx/rtsx.c
2427
rtsx_set_resp(struct rtsx_softc *sc, struct mmc_command *cmd)
sys/dev/rtsx/rtsx.c
244
static void rtsx_set_cmd_data_len(struct rtsx_softc *sc, uint16_t block_cnt, uint16_t byte_cnt);
sys/dev/rtsx/rtsx.c
245
static void rtsx_send_cmd(struct rtsx_softc *sc);
sys/dev/rtsx/rtsx.c
246
static void rtsx_ret_resp(struct rtsx_softc *sc);
sys/dev/rtsx/rtsx.c
247
static void rtsx_set_resp(struct rtsx_softc *sc, struct mmc_command *cmd);
sys/dev/rtsx/rtsx.c
248
static void rtsx_stop_cmd(struct rtsx_softc *sc);
sys/dev/rtsx/rtsx.c
2480
rtsx_xfer_short(struct rtsx_softc *sc, struct mmc_command *cmd)
sys/dev/rtsx/rtsx.c
249
static void rtsx_clear_error(struct rtsx_softc *sc);
sys/dev/rtsx/rtsx.c
250
static void rtsx_req_done(struct rtsx_softc *sc);
sys/dev/rtsx/rtsx.c
251
static int rtsx_send_req(struct rtsx_softc *sc, struct mmc_command *cmd);
sys/dev/rtsx/rtsx.c
252
static int rtsx_xfer_short(struct rtsx_softc *sc, struct mmc_command *cmd);
sys/dev/rtsx/rtsx.c
253
static void rtsx_ask_ppbuf_part1(struct rtsx_softc *sc);
sys/dev/rtsx/rtsx.c
254
static void rtsx_get_ppbuf_part1(struct rtsx_softc *sc);
sys/dev/rtsx/rtsx.c
255
static void rtsx_get_ppbuf_part2(struct rtsx_softc *sc);
sys/dev/rtsx/rtsx.c
2550
rtsx_ask_ppbuf_part1(struct rtsx_softc *sc)
sys/dev/rtsx/rtsx.c
256
static void rtsx_put_ppbuf_part1(struct rtsx_softc *sc);
sys/dev/rtsx/rtsx.c
257
static void rtsx_put_ppbuf_part2(struct rtsx_softc *sc);
sys/dev/rtsx/rtsx.c
2577
rtsx_get_ppbuf_part1(struct rtsx_softc *sc)
sys/dev/rtsx/rtsx.c
258
static void rtsx_write_ppbuf(struct rtsx_softc *sc);
sys/dev/rtsx/rtsx.c
259
static int rtsx_xfer(struct rtsx_softc *sc, struct mmc_command *cmd);
sys/dev/rtsx/rtsx.c
260
static void rtsx_xfer_begin(struct rtsx_softc *sc);
sys/dev/rtsx/rtsx.c
261
static void rtsx_xfer_start(struct rtsx_softc *sc);
sys/dev/rtsx/rtsx.c
262
static void rtsx_xfer_finish(struct rtsx_softc *sc);
sys/dev/rtsx/rtsx.c
2630
rtsx_get_ppbuf_part2(struct rtsx_softc *sc)
sys/dev/rtsx/rtsx.c
2658
rtsx_put_ppbuf_part1(struct rtsx_softc *sc)
sys/dev/rtsx/rtsx.c
2693
rtsx_put_ppbuf_part2(struct rtsx_softc *sc)
sys/dev/rtsx/rtsx.c
2724
rtsx_write_ppbuf(struct rtsx_softc *sc)
sys/dev/rtsx/rtsx.c
2756
rtsx_xfer(struct rtsx_softc *sc, struct mmc_command *cmd)
sys/dev/rtsx/rtsx.c
2793
rtsx_xfer_begin(struct rtsx_softc *sc)
sys/dev/rtsx/rtsx.c
2810
rtsx_xfer_start(struct rtsx_softc *sc)
sys/dev/rtsx/rtsx.c
2905
rtsx_xfer_finish(struct rtsx_softc *sc)
sys/dev/rtsx/rtsx.c
2938
struct rtsx_softc *sc;
sys/dev/rtsx/rtsx.c
2940
sc = (struct rtsx_softc *)arg;
sys/dev/rtsx/rtsx.c
2956
struct rtsx_softc *sc;
sys/dev/rtsx/rtsx.c
2976
struct rtsx_softc *sc;
sys/dev/rtsx/rtsx.c
3045
struct rtsx_softc *sc;
sys/dev/rtsx/rtsx.c
3067
struct rtsx_softc *sc;
sys/dev/rtsx/rtsx.c
3132
struct rtsx_softc *sc;
sys/dev/rtsx/rtsx.c
3193
struct rtsx_softc *sc;
sys/dev/rtsx/rtsx.c
3262
struct rtsx_softc *sc;
sys/dev/rtsx/rtsx.c
3353
struct rtsx_softc *sc;
sys/dev/rtsx/rtsx.c
3424
struct rtsx_softc *sc;
sys/dev/rtsx/rtsx.c
3438
struct rtsx_softc *sc;
sys/dev/rtsx/rtsx.c
3512
struct rtsx_softc *sc;
sys/dev/rtsx/rtsx.c
3525
struct rtsx_softc *sc;
sys/dev/rtsx/rtsx.c
3543
struct rtsx_softc *sc;
sys/dev/rtsx/rtsx.c
3595
struct rtsx_softc *sc = device_get_softc(dev);
sys/dev/rtsx/rtsx.c
3779
struct rtsx_softc *sc = device_get_softc(dev);
sys/dev/rtsx/rtsx.c
3835
struct rtsx_softc *sc = device_get_softc(dev);
sys/dev/rtsx/rtsx.c
3906
DEFINE_CLASS_0(rtsx, rtsx_driver, rtsx_methods, sizeof(struct rtsx_softc));
sys/dev/rtsx/rtsx.c
407
rtsx_dma_alloc(struct rtsx_softc *sc)
sys/dev/rtsx/rtsx.c
514
rtsx_dma_free(struct rtsx_softc *sc)
sys/dev/rtsx/rtsx.c
549
struct rtsx_softc *sc = arg;
sys/dev/rtsx/rtsx.c
614
rtsx_handle_card_present(struct rtsx_softc *sc)
sys/dev/rtsx/rtsx.c
649
struct rtsx_softc *sc = arg;
sys/dev/rtsx/rtsx.c
709
rtsx_is_card_present(struct rtsx_softc *sc)
sys/dev/rtsx/rtsx.c
721
rtsx_init(struct rtsx_softc *sc)
sys/dev/rtsx/rtsx.c
88
void (*rtsx_intr_trans_ok)(struct rtsx_softc *sc);
sys/dev/rtsx/rtsx.c
90
void (*rtsx_intr_trans_ko)(struct rtsx_softc *sc);