Lines Matching refs:rtsx_usb_sdmmc
33 struct rtsx_usb_sdmmc { struct
59 static inline struct device *sdmmc_dev(struct rtsx_usb_sdmmc *host) in sdmmc_dev() argument
64 static inline void sd_clear_error(struct rtsx_usb_sdmmc *host) in sd_clear_error()
76 static void sd_print_debug_regs(struct rtsx_usb_sdmmc *host) in sd_print_debug_regs()
92 static int sd_read_data(struct rtsx_usb_sdmmc *host, struct mmc_command *cmd, in sd_read_data()
199 static int sd_write_data(struct rtsx_usb_sdmmc *host, struct mmc_command *cmd, in sd_write_data()
285 static void sd_send_cmd_get_rsp(struct rtsx_usb_sdmmc *host, in sd_send_cmd_get_rsp()
449 static int sd_rw_multi(struct rtsx_usb_sdmmc *host, struct mmc_request *mrq) in sd_rw_multi()
533 static inline void sd_enable_initial_mode(struct rtsx_usb_sdmmc *host) in sd_enable_initial_mode()
539 static inline void sd_disable_initial_mode(struct rtsx_usb_sdmmc *host) in sd_disable_initial_mode()
545 static void sd_normal_rw(struct rtsx_usb_sdmmc *host, in sd_normal_rw()
579 static int sd_change_phase(struct rtsx_usb_sdmmc *host, u8 sample_point, int tx) in sd_change_phase()
628 static u8 sd_search_final_phase(struct rtsx_usb_sdmmc *host, u32 phase_map) in sd_search_final_phase()
655 static void sd_wait_data_idle(struct rtsx_usb_sdmmc *host) in sd_wait_data_idle()
670 static int sd_tuning_rx_cmd(struct rtsx_usb_sdmmc *host, in sd_tuning_rx_cmd()
692 static void sd_tuning_phase(struct rtsx_usb_sdmmc *host, in sd_tuning_phase()
708 static int sd_tuning_rx(struct rtsx_usb_sdmmc *host, u8 opcode) in sd_tuning_rx()
754 struct rtsx_usb_sdmmc *host = mmc_priv(mmc); in sdmmc_get_ro()
782 struct rtsx_usb_sdmmc *host = mmc_priv(mmc); in sdmmc_get_cd()
813 struct rtsx_usb_sdmmc *host = mmc_priv(mmc); in sdmmc_request()
886 static int sd_set_bus_width(struct rtsx_usb_sdmmc *host, in sd_set_bus_width()
959 static int sd_power_on(struct rtsx_usb_sdmmc *host) in sd_power_on()
998 static int sd_power_off(struct rtsx_usb_sdmmc *host) in sd_power_off()
1022 static int sd_set_power_mode(struct rtsx_usb_sdmmc *host, in sd_set_power_mode()
1047 static int sd_set_timing(struct rtsx_usb_sdmmc *host, in sd_set_timing()
1113 struct rtsx_usb_sdmmc *host = mmc_priv(mmc); in sdmmc_set_ios()
1154 struct rtsx_usb_sdmmc *host = mmc_priv(mmc); in sdmmc_switch_voltage()
1203 struct rtsx_usb_sdmmc *host = mmc_priv(mmc); in sdmmc_card_busy()
1243 struct rtsx_usb_sdmmc *host = mmc_priv(mmc); in sdmmc_execute_tuning()
1274 struct rtsx_usb_sdmmc *host = container_of(led, in rtsx_usb_led_control()
1275 struct rtsx_usb_sdmmc, led); in rtsx_usb_led_control()
1286 struct rtsx_usb_sdmmc *host = in rtsx_usb_update_led()
1287 container_of(work, struct rtsx_usb_sdmmc, led_work); in rtsx_usb_update_led()
1307 static void rtsx_usb_init_host(struct rtsx_usb_sdmmc *host) in rtsx_usb_init_host()
1336 struct rtsx_usb_sdmmc *host; in rtsx_usb_sdmmc_drv_probe()
1384 struct rtsx_usb_sdmmc *host = platform_get_drvdata(pdev); in rtsx_usb_sdmmc_drv_remove()
1425 struct rtsx_usb_sdmmc *host = dev_get_drvdata(dev); in rtsx_usb_sdmmc_runtime_suspend()
1433 struct rtsx_usb_sdmmc *host = dev_get_drvdata(dev); in rtsx_usb_sdmmc_runtime_resume()