Lines Matching defs:host
59 static inline struct device *sdmmc_dev(struct rtsx_usb_sdmmc *host) in sdmmc_dev()
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()
89 #define sd_print_debug_regs(host) argument
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()
623 static u8 sd_search_final_phase(struct rtsx_usb_sdmmc *host, u32 phase_map) in sd_search_final_phase()
650 static void sd_wait_data_idle(struct rtsx_usb_sdmmc *host) in sd_wait_data_idle()
664 static int sd_tuning_rx_cmd(struct rtsx_usb_sdmmc *host, in sd_tuning_rx_cmd()
686 static void sd_tuning_phase(struct rtsx_usb_sdmmc *host, in sd_tuning_phase()
702 static int sd_tuning_rx(struct rtsx_usb_sdmmc *host, u8 opcode) in sd_tuning_rx()
748 struct rtsx_usb_sdmmc *host = mmc_priv(mmc); in sdmmc_get_ro() local
776 struct rtsx_usb_sdmmc *host = mmc_priv(mmc); in sdmmc_get_cd() local
807 struct rtsx_usb_sdmmc *host = mmc_priv(mmc); in sdmmc_request() local
880 static int sd_set_bus_width(struct rtsx_usb_sdmmc *host, in sd_set_bus_width()
953 static int sd_power_on(struct rtsx_usb_sdmmc *host) in sd_power_on()
992 static int sd_power_off(struct rtsx_usb_sdmmc *host) in sd_power_off()
1016 static int sd_set_power_mode(struct rtsx_usb_sdmmc *host, in sd_set_power_mode()
1041 static int sd_set_timing(struct rtsx_usb_sdmmc *host, in sd_set_timing()
1104 struct rtsx_usb_sdmmc *host = mmc_priv(mmc); in sdmmc_set_ios() local
1145 struct rtsx_usb_sdmmc *host = mmc_priv(mmc); in sdmmc_switch_voltage() local
1194 struct rtsx_usb_sdmmc *host = mmc_priv(mmc); in sdmmc_card_busy() local
1234 struct rtsx_usb_sdmmc *host = mmc_priv(mmc); in sdmmc_execute_tuning() local
1265 struct rtsx_usb_sdmmc *host = container_of(led, in rtsx_usb_led_control() local
1277 struct rtsx_usb_sdmmc *host = in rtsx_usb_update_led() local
1298 static void rtsx_usb_init_host(struct rtsx_usb_sdmmc *host) in rtsx_usb_init_host()
1327 struct rtsx_usb_sdmmc *host; in rtsx_usb_sdmmc_drv_probe() local
1384 struct rtsx_usb_sdmmc *host = platform_get_drvdata(pdev); in rtsx_usb_sdmmc_drv_remove() local
1425 struct rtsx_usb_sdmmc *host = dev_get_drvdata(dev); in rtsx_usb_sdmmc_runtime_suspend() local
1433 struct rtsx_usb_sdmmc *host = dev_get_drvdata(dev); in rtsx_usb_sdmmc_runtime_resume() local