/Linux-v6.1/drivers/misc/cardreader/ |
D | rtsx_pcr.h | 61 int __rtsx_pci_write_phy_register(struct rtsx_pcr *pcr, u8 addr, u16 val); 62 int __rtsx_pci_read_phy_register(struct rtsx_pcr *pcr, u8 addr, u16 *val); 64 void rts5209_init_params(struct rtsx_pcr *pcr); 65 void rts5229_init_params(struct rtsx_pcr *pcr); 66 void rtl8411_init_params(struct rtsx_pcr *pcr); 67 void rtl8402_init_params(struct rtsx_pcr *pcr); 68 void rts5227_init_params(struct rtsx_pcr *pcr); 69 void rts522a_init_params(struct rtsx_pcr *pcr); 70 void rts5249_init_params(struct rtsx_pcr *pcr); 71 void rts524a_init_params(struct rtsx_pcr *pcr); [all …]
|
D | rtl8411.c | 18 static u8 rtl8411_get_ic_version(struct rtsx_pcr *pcr) in rtl8411_get_ic_version() 26 static int rtl8411b_is_qfn48(struct rtsx_pcr *pcr) in rtl8411b_is_qfn48() 38 static void rtl8411_fetch_vendor_settings(struct rtsx_pcr *pcr) in rtl8411_fetch_vendor_settings() 61 static void rtl8411b_fetch_vendor_settings(struct rtsx_pcr *pcr) in rtl8411b_fetch_vendor_settings() 79 static void rtl8411_force_power_down(struct rtsx_pcr *pcr, u8 pm_state, bool runtime) in rtl8411_force_power_down() 84 static int rtl8411_extra_init_hw(struct rtsx_pcr *pcr) in rtl8411_extra_init_hw() 96 static int rtl8411b_extra_init_hw(struct rtsx_pcr *pcr) in rtl8411b_extra_init_hw() 113 static int rtl8411_turn_on_led(struct rtsx_pcr *pcr) in rtl8411_turn_on_led() 118 static int rtl8411_turn_off_led(struct rtsx_pcr *pcr) in rtl8411_turn_off_led() 123 static int rtl8411_enable_auto_blink(struct rtsx_pcr *pcr) in rtl8411_enable_auto_blink() [all …]
|
D | rts5209.c | 16 static u8 rts5209_get_ic_version(struct rtsx_pcr *pcr) in rts5209_get_ic_version() 24 static void rts5209_fetch_vendor_settings(struct rtsx_pcr *pcr) in rts5209_fetch_vendor_settings() 50 static void rts5209_force_power_down(struct rtsx_pcr *pcr, u8 pm_state, bool runtime) in rts5209_force_power_down() 55 static int rts5209_extra_init_hw(struct rtsx_pcr *pcr) in rts5209_extra_init_hw() 74 static int rts5209_optimize_phy(struct rtsx_pcr *pcr) in rts5209_optimize_phy() 79 static int rts5209_turn_on_led(struct rtsx_pcr *pcr) in rts5209_turn_on_led() 84 static int rts5209_turn_off_led(struct rtsx_pcr *pcr) in rts5209_turn_off_led() 89 static int rts5209_enable_auto_blink(struct rtsx_pcr *pcr) in rts5209_enable_auto_blink() 94 static int rts5209_disable_auto_blink(struct rtsx_pcr *pcr) in rts5209_disable_auto_blink() 99 static int rts5209_card_power_on(struct rtsx_pcr *pcr, int card) in rts5209_card_power_on() [all …]
|
D | rts5229.c | 16 static u8 rts5229_get_ic_version(struct rtsx_pcr *pcr) in rts5229_get_ic_version() 24 static void rts5229_fetch_vendor_settings(struct rtsx_pcr *pcr) in rts5229_fetch_vendor_settings() 47 static void rts5229_force_power_down(struct rtsx_pcr *pcr, u8 pm_state, bool runtime) in rts5229_force_power_down() 52 static int rts5229_extra_init_hw(struct rtsx_pcr *pcr) in rts5229_extra_init_hw() 74 static int rts5229_optimize_phy(struct rtsx_pcr *pcr) in rts5229_optimize_phy() 80 static int rts5229_turn_on_led(struct rtsx_pcr *pcr) in rts5229_turn_on_led() 85 static int rts5229_turn_off_led(struct rtsx_pcr *pcr) in rts5229_turn_off_led() 90 static int rts5229_enable_auto_blink(struct rtsx_pcr *pcr) in rts5229_enable_auto_blink() 95 static int rts5229_disable_auto_blink(struct rtsx_pcr *pcr) in rts5229_disable_auto_blink() 100 static int rts5229_card_power_on(struct rtsx_pcr *pcr, int card) in rts5229_card_power_on() [all …]
|
D | rtsx_pcr.c | 62 static int rtsx_comm_set_ltr_latency(struct rtsx_pcr *pcr, u32 latency) in rtsx_comm_set_ltr_latency() 78 int rtsx_set_ltr_latency(struct rtsx_pcr *pcr, u32 latency) in rtsx_set_ltr_latency() 83 static void rtsx_comm_set_aspm(struct rtsx_pcr *pcr, bool enable) in rtsx_comm_set_aspm() 107 static void rtsx_disable_aspm(struct rtsx_pcr *pcr) in rtsx_disable_aspm() 115 int rtsx_set_l1off_sub(struct rtsx_pcr *pcr, u8 val) in rtsx_set_l1off_sub() 122 static void rtsx_set_l1off_sub_cfg_d0(struct rtsx_pcr *pcr, int active) in rtsx_set_l1off_sub_cfg_d0() 128 static void rtsx_comm_pm_full_on(struct rtsx_pcr *pcr) in rtsx_comm_pm_full_on() 144 static void rtsx_pm_full_on(struct rtsx_pcr *pcr) in rtsx_pm_full_on() 149 void rtsx_pci_start_run(struct rtsx_pcr *pcr) in rtsx_pci_start_run() 164 int rtsx_pci_write_register(struct rtsx_pcr *pcr, u16 addr, u8 mask, u8 data) in rtsx_pci_write_register() [all …]
|
D | rts5260.c | 19 static u8 rts5260_get_ic_version(struct rtsx_pcr *pcr) in rts5260_get_ic_version() 27 static void rts5260_fill_driving(struct rtsx_pcr *pcr, u8 voltage) in rts5260_fill_driving() 61 static void rtsx_base_fetch_vendor_settings(struct rtsx_pcr *pcr) in rtsx_base_fetch_vendor_settings() 88 static int rtsx_base_enable_auto_blink(struct rtsx_pcr *pcr) in rtsx_base_enable_auto_blink() 94 static int rtsx_base_disable_auto_blink(struct rtsx_pcr *pcr) in rtsx_base_disable_auto_blink() 100 static int rts5260_turn_on_led(struct rtsx_pcr *pcr) in rts5260_turn_on_led() 106 static int rts5260_turn_off_led(struct rtsx_pcr *pcr) in rts5260_turn_off_led() 164 static int sd_set_sample_push_timing_sd30(struct rtsx_pcr *pcr) in sd_set_sample_push_timing_sd30() 176 static int rts5260_card_power_on(struct rtsx_pcr *pcr, int card) in rts5260_card_power_on() 220 static int rts5260_switch_output_voltage(struct rtsx_pcr *pcr, u8 voltage) in rts5260_switch_output_voltage() [all …]
|
D | rts5228.c | 19 static u8 rts5228_get_ic_version(struct rtsx_pcr *pcr) in rts5228_get_ic_version() 27 static void rts5228_fill_driving(struct rtsx_pcr *pcr, u8 voltage) in rts5228_fill_driving() 61 static void rtsx5228_fetch_vendor_settings(struct rtsx_pcr *pcr) in rtsx5228_fetch_vendor_settings() 89 static int rts5228_optimize_phy(struct rtsx_pcr *pcr) in rts5228_optimize_phy() 94 static void rts5228_force_power_down(struct rtsx_pcr *pcr, u8 pm_state, bool runtime) in rts5228_force_power_down() 117 static int rts5228_enable_auto_blink(struct rtsx_pcr *pcr) in rts5228_enable_auto_blink() 123 static int rts5228_disable_auto_blink(struct rtsx_pcr *pcr) in rts5228_disable_auto_blink() 129 static int rts5228_turn_on_led(struct rtsx_pcr *pcr) in rts5228_turn_on_led() 135 static int rts5228_turn_off_led(struct rtsx_pcr *pcr) in rts5228_turn_off_led() 167 static int rts5228_sd_set_sample_push_timing_sd30(struct rtsx_pcr *pcr) in rts5228_sd_set_sample_push_timing_sd30() [all …]
|
D | rts5227.c | 17 static u8 rts5227_get_ic_version(struct rtsx_pcr *pcr) in rts5227_get_ic_version() 25 static void rts5227_fill_driving(struct rtsx_pcr *pcr, u8 voltage) in rts5227_fill_driving() 57 static void rts5227_fetch_vendor_settings(struct rtsx_pcr *pcr) in rts5227_fetch_vendor_settings() 84 static void rts5227_init_from_cfg(struct rtsx_pcr *pcr) in rts5227_init_from_cfg() 145 static int rts5227_extra_init_hw(struct rtsx_pcr *pcr) in rts5227_extra_init_hw() 210 static int rts5227_optimize_phy(struct rtsx_pcr *pcr) in rts5227_optimize_phy() 222 static int rts5227_turn_on_led(struct rtsx_pcr *pcr) in rts5227_turn_on_led() 227 static int rts5227_turn_off_led(struct rtsx_pcr *pcr) in rts5227_turn_off_led() 232 static int rts5227_enable_auto_blink(struct rtsx_pcr *pcr) in rts5227_enable_auto_blink() 237 static int rts5227_disable_auto_blink(struct rtsx_pcr *pcr) in rts5227_disable_auto_blink() [all …]
|
D | rts5261.c | 18 static u8 rts5261_get_ic_version(struct rtsx_pcr *pcr) in rts5261_get_ic_version() 26 static void rts5261_fill_driving(struct rtsx_pcr *pcr, u8 voltage) in rts5261_fill_driving() 60 static void rts5261_force_power_down(struct rtsx_pcr *pcr, u8 pm_state, bool runtime) in rts5261_force_power_down() 94 static int rts5261_enable_auto_blink(struct rtsx_pcr *pcr) in rts5261_enable_auto_blink() 100 static int rts5261_disable_auto_blink(struct rtsx_pcr *pcr) in rts5261_disable_auto_blink() 106 static int rts5261_turn_on_led(struct rtsx_pcr *pcr) in rts5261_turn_on_led() 112 static int rts5261_turn_off_led(struct rtsx_pcr *pcr) in rts5261_turn_off_led() 144 static int rts5261_sd_set_sample_push_timing_sd30(struct rtsx_pcr *pcr) in rts5261_sd_set_sample_push_timing_sd30() 156 static int rts5261_card_power_on(struct rtsx_pcr *pcr, int card) in rts5261_card_power_on() 201 static int rts5261_switch_output_voltage(struct rtsx_pcr *pcr, u8 voltage) in rts5261_switch_output_voltage() [all …]
|
D | rts5249.c | 16 static u8 rts5249_get_ic_version(struct rtsx_pcr *pcr) in rts5249_get_ic_version() 24 static void rts5249_fill_driving(struct rtsx_pcr *pcr, u8 voltage) in rts5249_fill_driving() 56 static void rtsx_base_fetch_vendor_settings(struct rtsx_pcr *pcr) in rtsx_base_fetch_vendor_settings() 87 static void rts5249_init_from_cfg(struct rtsx_pcr *pcr) in rts5249_init_from_cfg() 134 static int rts5249_init_from_hw(struct rtsx_pcr *pcr) in rts5249_init_from_hw() 147 static void rts52xa_force_power_down(struct rtsx_pcr *pcr, u8 pm_state, bool runtime) in rts52xa_force_power_down() 168 static void rts52xa_save_content_from_efuse(struct rtsx_pcr *pcr) in rts52xa_save_content_from_efuse() 242 static void rts52xa_save_content_to_autoload_space(struct rtsx_pcr *pcr) in rts52xa_save_content_to_autoload_space() 274 static int rts5249_extra_init_hw(struct rtsx_pcr *pcr) in rts5249_extra_init_hw() 352 static int rts5249_optimize_phy(struct rtsx_pcr *pcr) in rts5249_optimize_phy() [all …]
|
D | Makefile | 4 rtsx_pci-objs := rtsx_pcr.o rts5209.o rts5229.o rtl8411.o rts5227.o rts5249.o rts5260.o rts5261.o r…
|
D | rts5228.h | 165 int rts5228_pci_switch_clock(struct rtsx_pcr *pcr, unsigned int card_clock,
|
D | rts5261.h | 203 int rts5261_pci_switch_clock(struct rtsx_pcr *pcr, unsigned int card_clock,
|
/Linux-v6.1/include/linux/ |
D | rtsx_pci.h | 1079 struct rtsx_pcr; 1082 struct rtsx_pcr *pcr; 1086 int (*write_phy)(struct rtsx_pcr *pcr, u8 addr, u16 val); 1087 int (*read_phy)(struct rtsx_pcr *pcr, u8 addr, u16 *val); 1088 int (*extra_init_hw)(struct rtsx_pcr *pcr); 1089 int (*optimize_phy)(struct rtsx_pcr *pcr); 1090 int (*turn_on_led)(struct rtsx_pcr *pcr); 1091 int (*turn_off_led)(struct rtsx_pcr *pcr); 1092 int (*enable_auto_blink)(struct rtsx_pcr *pcr); 1093 int (*disable_auto_blink)(struct rtsx_pcr *pcr); [all …]
|
/Linux-v6.1/drivers/mmc/host/ |
D | rtsx_pci_sdmmc.c | 27 struct rtsx_pcr *pcr; 95 static void sd_cmd_set_sd_cmd(struct rtsx_pcr *pcr, struct mmc_command *cmd) in sd_cmd_set_sd_cmd() 102 static void sd_cmd_set_data_len(struct rtsx_pcr *pcr, u16 blocks, u16 blksz) in sd_cmd_set_data_len() 150 struct rtsx_pcr *pcr = host->pcr; in sd_pre_dma_transfer() 201 struct rtsx_pcr *pcr = host->pcr; in sdmmc_post_req() 212 struct rtsx_pcr *pcr = host->pcr; in sd_send_cmd_get_rsp() 330 struct rtsx_pcr *pcr = host->pcr; in sd_read_data() 384 struct rtsx_pcr *pcr = host->pcr; in sd_write_data() 430 struct rtsx_pcr *pcr = host->pcr; in sd_read_long_data() 488 struct rtsx_pcr *pcr = host->pcr; in sd_write_long_data() [all …]
|
/Linux-v6.1/drivers/memstick/host/ |
D | rtsx_pci_ms.c | 20 struct rtsx_pcr *pcr; 48 struct rtsx_pcr *pcr = host->pcr; in ms_print_debug_regs() 75 struct rtsx_pcr *pcr = host->pcr; in ms_power_on() 109 struct rtsx_pcr *pcr = host->pcr; in ms_power_off() 131 struct rtsx_pcr *pcr = host->pcr; in ms_transfer_data() 202 struct rtsx_pcr *pcr = host->pcr; in ms_write_bytes() 270 struct rtsx_pcr *pcr = host->pcr; in ms_read_bytes() 393 struct rtsx_pcr *pcr = host->pcr; in rtsx_pci_ms_handle_req() 436 struct rtsx_pcr *pcr = host->pcr; in rtsx_pci_ms_set_param() 535 struct rtsx_pcr *pcr; in rtsx_pci_ms_drv_probe() [all …]
|