Lines Matching defs:host
50 static inline struct device *sdmmc_dev(struct realtek_pci_sdmmc *host) in sdmmc_dev()
55 static inline void sd_clear_error(struct realtek_pci_sdmmc *host) in sd_clear_error()
62 static void dump_reg_range(struct realtek_pci_sdmmc *host, u16 start, u16 end) in dump_reg_range()
81 static void sd_print_debug_regs(struct realtek_pci_sdmmc *host) in sd_print_debug_regs()
87 #define sd_print_debug_regs(host) argument
90 static inline int sd_get_cd_int(struct realtek_pci_sdmmc *host) in sd_get_cd_int()
147 static int sd_pre_dma_transfer(struct realtek_pci_sdmmc *host, in sd_pre_dma_transfer()
183 struct realtek_pci_sdmmc *host = mmc_priv(mmc); in sdmmc_pre_req() local
200 struct realtek_pci_sdmmc *host = mmc_priv(mmc); in sdmmc_post_req() local
209 static void sd_send_cmd_get_rsp(struct realtek_pci_sdmmc *host, in sd_send_cmd_get_rsp()
327 static int sd_read_data(struct realtek_pci_sdmmc *host, struct mmc_command *cmd, in sd_read_data()
380 static int sd_write_data(struct realtek_pci_sdmmc *host, in sd_write_data()
427 static int sd_read_long_data(struct realtek_pci_sdmmc *host, in sd_read_long_data()
485 static int sd_write_long_data(struct realtek_pci_sdmmc *host, in sd_write_long_data()
542 static int sd_rw_multi(struct realtek_pci_sdmmc *host, struct mmc_request *mrq) in sd_rw_multi()
559 static inline void sd_enable_initial_mode(struct realtek_pci_sdmmc *host) in sd_enable_initial_mode()
565 static inline void sd_disable_initial_mode(struct realtek_pci_sdmmc *host) in sd_disable_initial_mode()
571 static void sd_normal_rw(struct realtek_pci_sdmmc *host, in sd_normal_rw()
605 static int sd_change_phase(struct realtek_pci_sdmmc *host, in sd_change_phase()
649 static u8 sd_search_final_phase(struct realtek_pci_sdmmc *host, u32 phase_map) in sd_search_final_phase()
676 static void sd_wait_data_idle(struct realtek_pci_sdmmc *host) in sd_wait_data_idle()
690 static int sd_tuning_rx_cmd(struct realtek_pci_sdmmc *host, in sd_tuning_rx_cmd()
717 static int sd_tuning_phase(struct realtek_pci_sdmmc *host, in sd_tuning_phase()
735 static int sd_tuning_rx(struct realtek_pci_sdmmc *host, u8 opcode) in sd_tuning_rx()
788 struct realtek_pci_sdmmc *host = container_of(work, in sd_request() local
865 struct realtek_pci_sdmmc *host = mmc_priv(mmc); in sdmmc_request() local
878 static int sd_set_bus_width(struct realtek_pci_sdmmc *host, in sd_set_bus_width()
895 static int sd_power_on(struct realtek_pci_sdmmc *host) in sd_power_on()
929 static int sd_power_off(struct realtek_pci_sdmmc *host) in sd_power_off()
952 static int sd_set_power_mode(struct realtek_pci_sdmmc *host, in sd_set_power_mode()
965 static int sd_set_timing(struct realtek_pci_sdmmc *host, unsigned char timing) in sd_set_timing()
1039 struct realtek_pci_sdmmc *host = mmc_priv(mmc); in sdmmc_set_ios() local
1087 struct realtek_pci_sdmmc *host = mmc_priv(mmc); in sdmmc_get_ro() local
1112 struct realtek_pci_sdmmc *host = mmc_priv(mmc); in sdmmc_get_cd() local
1135 static int sd_wait_voltage_stable_1(struct realtek_pci_sdmmc *host) in sd_wait_voltage_stable_1()
1168 static int sd_wait_voltage_stable_2(struct realtek_pci_sdmmc *host) in sd_wait_voltage_stable_2()
1210 struct realtek_pci_sdmmc *host = mmc_priv(mmc); in sdmmc_switch_voltage() local
1262 struct realtek_pci_sdmmc *host = mmc_priv(mmc); in sdmmc_execute_tuning() local
1322 static void init_extra_caps(struct realtek_pci_sdmmc *host) in init_extra_caps()
1343 static void realtek_init_host(struct realtek_pci_sdmmc *host) in realtek_init_host()
1369 struct realtek_pci_sdmmc *host = platform_get_drvdata(pdev); in rtsx_pci_sdmmc_card_event() local
1378 struct realtek_pci_sdmmc *host; in rtsx_pci_sdmmc_drv_probe() local
1417 struct realtek_pci_sdmmc *host = platform_get_drvdata(pdev); in rtsx_pci_sdmmc_drv_remove() local