Home
last modified time | relevance | path

Searched refs:rtsx_pcr (Results 1 – 16 of 16) sorted by relevance

/kernel/linux/linux-5.10/drivers/misc/cardreader/
Drtsx_pcr.h58 int __rtsx_pci_write_phy_register(struct rtsx_pcr *pcr, u8 addr, u16 val);
59 int __rtsx_pci_read_phy_register(struct rtsx_pcr *pcr, u8 addr, u16 *val);
61 void rts5209_init_params(struct rtsx_pcr *pcr);
62 void rts5229_init_params(struct rtsx_pcr *pcr);
63 void rtl8411_init_params(struct rtsx_pcr *pcr);
64 void rtl8402_init_params(struct rtsx_pcr *pcr);
65 void rts5227_init_params(struct rtsx_pcr *pcr);
66 void rts522a_init_params(struct rtsx_pcr *pcr);
67 void rts5249_init_params(struct rtsx_pcr *pcr);
68 void rts524a_init_params(struct rtsx_pcr *pcr);
[all …]
Drtl8411.c18 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) 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 …]
Drts5209.c16 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) 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 …]
Drts5229.c16 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) 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 …]
Drts5228.c19 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) in rts5228_force_power_down()
109 static int rts5228_enable_auto_blink(struct rtsx_pcr *pcr) in rts5228_enable_auto_blink()
115 static int rts5228_disable_auto_blink(struct rtsx_pcr *pcr) in rts5228_disable_auto_blink()
121 static int rts5228_turn_on_led(struct rtsx_pcr *pcr) in rts5228_turn_on_led()
127 static int rts5228_turn_off_led(struct rtsx_pcr *pcr) in rts5228_turn_off_led()
159 static int rts5228_sd_set_sample_push_timing_sd30(struct rtsx_pcr *pcr) in rts5228_sd_set_sample_push_timing_sd30()
[all …]
Drtsx_pcr.c60 static inline void rtsx_pci_disable_aspm(struct rtsx_pcr *pcr) in rtsx_pci_disable_aspm()
66 static int rtsx_comm_set_ltr_latency(struct rtsx_pcr *pcr, u32 latency) in rtsx_comm_set_ltr_latency()
82 int rtsx_set_ltr_latency(struct rtsx_pcr *pcr, u32 latency) in rtsx_set_ltr_latency()
87 static void rtsx_comm_set_aspm(struct rtsx_pcr *pcr, bool enable) in rtsx_comm_set_aspm()
99 static void rtsx_disable_aspm(struct rtsx_pcr *pcr) in rtsx_disable_aspm()
107 int rtsx_set_l1off_sub(struct rtsx_pcr *pcr, u8 val) in rtsx_set_l1off_sub()
114 static void rtsx_set_l1off_sub_cfg_d0(struct rtsx_pcr *pcr, int active) in rtsx_set_l1off_sub_cfg_d0()
120 static void rtsx_comm_pm_full_on(struct rtsx_pcr *pcr) in rtsx_comm_pm_full_on()
136 static void rtsx_pm_full_on(struct rtsx_pcr *pcr) in rtsx_pm_full_on()
141 void rtsx_pci_start_run(struct rtsx_pcr *pcr) in rtsx_pci_start_run()
[all …]
Drts5260.c19 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 …]
Drts5227.c17 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()
82 static void rts5227_init_from_cfg(struct rtsx_pcr *pcr) in rts5227_init_from_cfg()
143 static int rts5227_extra_init_hw(struct rtsx_pcr *pcr) in rts5227_extra_init_hw()
186 static int rts5227_optimize_phy(struct rtsx_pcr *pcr) in rts5227_optimize_phy()
198 static int rts5227_turn_on_led(struct rtsx_pcr *pcr) in rts5227_turn_on_led()
203 static int rts5227_turn_off_led(struct rtsx_pcr *pcr) in rts5227_turn_off_led()
208 static int rts5227_enable_auto_blink(struct rtsx_pcr *pcr) in rts5227_enable_auto_blink()
213 static int rts5227_disable_auto_blink(struct rtsx_pcr *pcr) in rts5227_disable_auto_blink()
[all …]
Drts5261.c18 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 rtsx5261_fetch_vendor_settings(struct rtsx_pcr *pcr) in rtsx5261_fetch_vendor_settings()
89 static void rts5261_force_power_down(struct rtsx_pcr *pcr, u8 pm_state) in rts5261_force_power_down()
105 static int rts5261_enable_auto_blink(struct rtsx_pcr *pcr) in rts5261_enable_auto_blink()
111 static int rts5261_disable_auto_blink(struct rtsx_pcr *pcr) in rts5261_disable_auto_blink()
117 static int rts5261_turn_on_led(struct rtsx_pcr *pcr) in rts5261_turn_on_led()
123 static int rts5261_turn_off_led(struct rtsx_pcr *pcr) in rts5261_turn_off_led()
155 static int rts5261_sd_set_sample_push_timing_sd30(struct rtsx_pcr *pcr) in rts5261_sd_set_sample_push_timing_sd30()
167 static int rts5261_card_power_on(struct rtsx_pcr *pcr, int card) in rts5261_card_power_on()
[all …]
Drts5249.c16 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()
83 static void rts5249_init_from_cfg(struct rtsx_pcr *pcr) in rts5249_init_from_cfg()
130 static int rts5249_init_from_hw(struct rtsx_pcr *pcr) in rts5249_init_from_hw()
143 static void rts52xa_save_content_from_efuse(struct rtsx_pcr *pcr) in rts52xa_save_content_from_efuse()
217 static void rts52xa_save_content_to_autoload_space(struct rtsx_pcr *pcr) in rts52xa_save_content_to_autoload_space()
249 static int rts5249_extra_init_hw(struct rtsx_pcr *pcr) in rts5249_extra_init_hw()
311 static int rts5249_optimize_phy(struct rtsx_pcr *pcr) in rts5249_optimize_phy()
377 static int rtsx_base_turn_on_led(struct rtsx_pcr *pcr) in rtsx_base_turn_on_led()
[all …]
DMakefile4 rtsx_pci-objs := rtsx_pcr.o rts5209.o rts5229.o rtl8411.o rts5227.o rts5249.o rts5260.o rts5261.o r…
Drts5228.h165 int rts5228_pci_switch_clock(struct rtsx_pcr *pcr, unsigned int card_clock,
Drts5261.h230 int rts5261_pci_switch_clock(struct rtsx_pcr *pcr, unsigned int card_clock,
/kernel/linux/linux-5.10/include/linux/
Drtsx_pci.h1049 struct rtsx_pcr;
1052 struct rtsx_pcr *pcr;
1056 int (*write_phy)(struct rtsx_pcr *pcr, u8 addr, u16 val);
1057 int (*read_phy)(struct rtsx_pcr *pcr, u8 addr, u16 *val);
1058 int (*extra_init_hw)(struct rtsx_pcr *pcr);
1059 int (*optimize_phy)(struct rtsx_pcr *pcr);
1060 int (*turn_on_led)(struct rtsx_pcr *pcr);
1061 int (*turn_off_led)(struct rtsx_pcr *pcr);
1062 int (*enable_auto_blink)(struct rtsx_pcr *pcr);
1063 int (*disable_auto_blink)(struct rtsx_pcr *pcr);
[all …]
/kernel/linux/linux-5.10/drivers/mmc/host/
Drtsx_pci_sdmmc.c26 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 …]
/kernel/linux/linux-5.10/drivers/memstick/host/
Drtsx_pci_ms.c20 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 …]