/linux-6.12.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 | 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 | 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 | 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 | 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() 102 static int rts5227_extra_init_hw(struct rtsx_pcr *pcr) in rts5227_extra_init_hw() 167 static int rts5227_optimize_phy(struct rtsx_pcr *pcr) in rts5227_optimize_phy() 179 static int rts5227_turn_on_led(struct rtsx_pcr *pcr) in rts5227_turn_on_led() 184 static int rts5227_turn_off_led(struct rtsx_pcr *pcr) in rts5227_turn_off_led() 189 static int rts5227_enable_auto_blink(struct rtsx_pcr *pcr) in rts5227_enable_auto_blink() 194 static int rts5227_disable_auto_blink(struct rtsx_pcr *pcr) in rts5227_disable_auto_blink() [all …]
|
D | rtsx_pcr.c | 64 static int rtsx_comm_set_ltr_latency(struct rtsx_pcr *pcr, u32 latency) in rtsx_comm_set_ltr_latency() 80 int rtsx_set_ltr_latency(struct rtsx_pcr *pcr, u32 latency) in rtsx_set_ltr_latency() 85 static void rtsx_comm_set_aspm(struct rtsx_pcr *pcr, bool enable) in rtsx_comm_set_aspm() 109 static void rtsx_disable_aspm(struct rtsx_pcr *pcr) in rtsx_disable_aspm() 117 int rtsx_set_l1off_sub(struct rtsx_pcr *pcr, u8 val) in rtsx_set_l1off_sub() 124 static void rtsx_set_l1off_sub_cfg_d0(struct rtsx_pcr *pcr, int active) in rtsx_set_l1off_sub_cfg_d0() 130 static void rtsx_comm_pm_full_on(struct rtsx_pcr *pcr) in rtsx_comm_pm_full_on() 146 static void rtsx_pm_full_on(struct rtsx_pcr *pcr) in rtsx_pm_full_on() 151 void rtsx_pci_start_run(struct rtsx_pcr *pcr) in rtsx_pci_start_run() 166 int rtsx_pci_write_register(struct rtsx_pcr *pcr, u16 addr, u8 mask, u8 data) in rtsx_pci_write_register() [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() 105 static void rts52xa_force_power_down(struct rtsx_pcr *pcr, u8 pm_state, bool runtime) in rts52xa_force_power_down() 126 static void rts52xa_save_content_from_efuse(struct rtsx_pcr *pcr) in rts52xa_save_content_from_efuse() 200 static void rts52xa_save_content_to_autoload_space(struct rtsx_pcr *pcr) in rts52xa_save_content_to_autoload_space() 232 static int rts5249_extra_init_hw(struct rtsx_pcr *pcr) in rts5249_extra_init_hw() 309 static int rts5249_optimize_phy(struct rtsx_pcr *pcr) in rts5249_optimize_phy() 375 static int rtsx_base_turn_on_led(struct rtsx_pcr *pcr) in rtsx_base_turn_on_led() [all …]
|
D | rts5264.c | 17 static u8 rts5264_get_ic_version(struct rtsx_pcr *pcr) in rts5264_get_ic_version() 25 static void rts5264_fill_driving(struct rtsx_pcr *pcr, u8 voltage) in rts5264_fill_driving() 57 static void rts5264_force_power_down(struct rtsx_pcr *pcr, u8 pm_state, bool runtime) in rts5264_force_power_down() 91 static int rts5264_enable_auto_blink(struct rtsx_pcr *pcr) in rts5264_enable_auto_blink() 97 static int rts5264_disable_auto_blink(struct rtsx_pcr *pcr) in rts5264_disable_auto_blink() 103 static int rts5264_turn_on_led(struct rtsx_pcr *pcr) in rts5264_turn_on_led() 109 static int rts5264_turn_off_led(struct rtsx_pcr *pcr) in rts5264_turn_off_led() 141 static int rts5264_sd_set_sample_push_timing_sd30(struct rtsx_pcr *pcr) in rts5264_sd_set_sample_push_timing_sd30() 153 static int rts5264_card_power_on(struct rtsx_pcr *pcr, int card) in rts5264_card_power_on() 196 static int rts5264_switch_output_voltage(struct rtsx_pcr *pcr, u8 voltage) in rts5264_switch_output_voltage() [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,
|
D | rts5264.h | 275 int rts5264_pci_switch_clock(struct rtsx_pcr *pcr, unsigned int card_clock,
|
/linux-6.12.1/include/linux/ |
D | rtsx_pci.h | 1085 struct rtsx_pcr; 1088 struct rtsx_pcr *pcr; 1092 int (*write_phy)(struct rtsx_pcr *pcr, u8 addr, u16 val); 1093 int (*read_phy)(struct rtsx_pcr *pcr, u8 addr, u16 *val); 1094 int (*extra_init_hw)(struct rtsx_pcr *pcr); 1095 int (*optimize_phy)(struct rtsx_pcr *pcr); 1096 int (*turn_on_led)(struct rtsx_pcr *pcr); 1097 int (*turn_off_led)(struct rtsx_pcr *pcr); 1098 int (*enable_auto_blink)(struct rtsx_pcr *pcr); 1099 int (*disable_auto_blink)(struct rtsx_pcr *pcr); [all …]
|
/linux-6.12.1/drivers/mmc/host/ |
D | rtsx_pci_sdmmc.c | 28 struct rtsx_pcr *pcr; 96 static void sd_cmd_set_sd_cmd(struct rtsx_pcr *pcr, struct mmc_command *cmd) in sd_cmd_set_sd_cmd() 103 static void sd_cmd_set_data_len(struct rtsx_pcr *pcr, u16 blocks, u16 blksz) in sd_cmd_set_data_len() 151 struct rtsx_pcr *pcr = host->pcr; in sd_pre_dma_transfer() 202 struct rtsx_pcr *pcr = host->pcr; in sdmmc_post_req() 213 struct rtsx_pcr *pcr = host->pcr; in sd_send_cmd_get_rsp() 331 struct rtsx_pcr *pcr = host->pcr; in sd_read_data() 385 struct rtsx_pcr *pcr = host->pcr; in sd_write_data() 431 struct rtsx_pcr *pcr = host->pcr; in sd_read_long_data() 489 struct rtsx_pcr *pcr = host->pcr; in sd_write_long_data() [all …]
|