Home
last modified time | relevance | path

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

/linux-4.19.296/drivers/misc/cardreader/
Drtsx_pcr.h49 int __rtsx_pci_write_phy_register(struct rtsx_pcr *pcr, u8 addr, u16 val);
50 int __rtsx_pci_read_phy_register(struct rtsx_pcr *pcr, u8 addr, u16 *val);
52 void rts5209_init_params(struct rtsx_pcr *pcr);
53 void rts5229_init_params(struct rtsx_pcr *pcr);
54 void rtl8411_init_params(struct rtsx_pcr *pcr);
55 void rtl8402_init_params(struct rtsx_pcr *pcr);
56 void rts5227_init_params(struct rtsx_pcr *pcr);
57 void rts522a_init_params(struct rtsx_pcr *pcr);
58 void rts5249_init_params(struct rtsx_pcr *pcr);
59 void rts524a_init_params(struct rtsx_pcr *pcr);
[all …]
Drtl8411.c30 static u8 rtl8411_get_ic_version(struct rtsx_pcr *pcr) in rtl8411_get_ic_version()
38 static int rtl8411b_is_qfn48(struct rtsx_pcr *pcr) in rtl8411b_is_qfn48()
50 static void rtl8411_fetch_vendor_settings(struct rtsx_pcr *pcr) in rtl8411_fetch_vendor_settings()
72 static void rtl8411b_fetch_vendor_settings(struct rtsx_pcr *pcr) in rtl8411b_fetch_vendor_settings()
89 static void rtl8411_force_power_down(struct rtsx_pcr *pcr, u8 pm_state) in rtl8411_force_power_down()
94 static int rtl8411_extra_init_hw(struct rtsx_pcr *pcr) in rtl8411_extra_init_hw()
106 static int rtl8411b_extra_init_hw(struct rtsx_pcr *pcr) in rtl8411b_extra_init_hw()
123 static int rtl8411_turn_on_led(struct rtsx_pcr *pcr) in rtl8411_turn_on_led()
128 static int rtl8411_turn_off_led(struct rtsx_pcr *pcr) in rtl8411_turn_off_led()
133 static int rtl8411_enable_auto_blink(struct rtsx_pcr *pcr) in rtl8411_enable_auto_blink()
[all …]
Drts5227.c29 static u8 rts5227_get_ic_version(struct rtsx_pcr *pcr) in rts5227_get_ic_version()
37 static void rts5227_fill_driving(struct rtsx_pcr *pcr, u8 voltage) in rts5227_fill_driving()
69 static void rts5227_fetch_vendor_settings(struct rtsx_pcr *pcr) in rts5227_fetch_vendor_settings()
91 static void rts5227_force_power_down(struct rtsx_pcr *pcr, u8 pm_state) in rts5227_force_power_down()
104 static int rts5227_extra_init_hw(struct rtsx_pcr *pcr) in rts5227_extra_init_hw()
137 static int rts5227_optimize_phy(struct rtsx_pcr *pcr) in rts5227_optimize_phy()
149 static int rts5227_turn_on_led(struct rtsx_pcr *pcr) in rts5227_turn_on_led()
154 static int rts5227_turn_off_led(struct rtsx_pcr *pcr) in rts5227_turn_off_led()
159 static int rts5227_enable_auto_blink(struct rtsx_pcr *pcr) in rts5227_enable_auto_blink()
164 static int rts5227_disable_auto_blink(struct rtsx_pcr *pcr) in rts5227_disable_auto_blink()
[all …]
Drts5209.c28 static u8 rts5209_get_ic_version(struct rtsx_pcr *pcr) in rts5209_get_ic_version()
36 static void rts5209_fetch_vendor_settings(struct rtsx_pcr *pcr) in rts5209_fetch_vendor_settings()
61 static void rts5209_force_power_down(struct rtsx_pcr *pcr, u8 pm_state) in rts5209_force_power_down()
66 static int rts5209_extra_init_hw(struct rtsx_pcr *pcr) in rts5209_extra_init_hw()
85 static int rts5209_optimize_phy(struct rtsx_pcr *pcr) in rts5209_optimize_phy()
90 static int rts5209_turn_on_led(struct rtsx_pcr *pcr) in rts5209_turn_on_led()
95 static int rts5209_turn_off_led(struct rtsx_pcr *pcr) in rts5209_turn_off_led()
100 static int rts5209_enable_auto_blink(struct rtsx_pcr *pcr) in rts5209_enable_auto_blink()
105 static int rts5209_disable_auto_blink(struct rtsx_pcr *pcr) in rts5209_disable_auto_blink()
110 static int rts5209_card_power_on(struct rtsx_pcr *pcr, int card) in rts5209_card_power_on()
[all …]
Drts5229.c28 static u8 rts5229_get_ic_version(struct rtsx_pcr *pcr) in rts5229_get_ic_version()
36 static void rts5229_fetch_vendor_settings(struct rtsx_pcr *pcr) in rts5229_fetch_vendor_settings()
58 static void rts5229_force_power_down(struct rtsx_pcr *pcr, u8 pm_state) in rts5229_force_power_down()
63 static int rts5229_extra_init_hw(struct rtsx_pcr *pcr) in rts5229_extra_init_hw()
85 static int rts5229_optimize_phy(struct rtsx_pcr *pcr) in rts5229_optimize_phy()
91 static int rts5229_turn_on_led(struct rtsx_pcr *pcr) in rts5229_turn_on_led()
96 static int rts5229_turn_off_led(struct rtsx_pcr *pcr) in rts5229_turn_off_led()
101 static int rts5229_enable_auto_blink(struct rtsx_pcr *pcr) in rts5229_enable_auto_blink()
106 static int rts5229_disable_auto_blink(struct rtsx_pcr *pcr) in rts5229_disable_auto_blink()
111 static int rts5229_card_power_on(struct rtsx_pcr *pcr, int card) in rts5229_card_power_on()
[all …]
Drtsx_pcr.c71 static inline void rtsx_pci_enable_aspm(struct rtsx_pcr *pcr) in rtsx_pci_enable_aspm()
77 static inline void rtsx_pci_disable_aspm(struct rtsx_pcr *pcr) in rtsx_pci_disable_aspm()
83 static int rtsx_comm_set_ltr_latency(struct rtsx_pcr *pcr, u32 latency) in rtsx_comm_set_ltr_latency()
99 int rtsx_set_ltr_latency(struct rtsx_pcr *pcr, u32 latency) in rtsx_set_ltr_latency()
107 static void rtsx_comm_set_aspm(struct rtsx_pcr *pcr, bool enable) in rtsx_comm_set_aspm()
131 static void rtsx_disable_aspm(struct rtsx_pcr *pcr) in rtsx_disable_aspm()
139 int rtsx_set_l1off_sub(struct rtsx_pcr *pcr, u8 val) in rtsx_set_l1off_sub()
146 static void rtsx_set_l1off_sub_cfg_d0(struct rtsx_pcr *pcr, int active) in rtsx_set_l1off_sub_cfg_d0()
152 static void rtsx_comm_pm_full_on(struct rtsx_pcr *pcr) in rtsx_comm_pm_full_on()
168 static void rtsx_pm_full_on(struct rtsx_pcr *pcr) in rtsx_pm_full_on()
[all …]
Drts5249.c28 static u8 rts5249_get_ic_version(struct rtsx_pcr *pcr) in rts5249_get_ic_version()
36 static void rts5249_fill_driving(struct rtsx_pcr *pcr, u8 voltage) in rts5249_fill_driving()
68 static void rtsx_base_fetch_vendor_settings(struct rtsx_pcr *pcr) in rtsx_base_fetch_vendor_settings()
92 static void rtsx_base_force_power_down(struct rtsx_pcr *pcr, u8 pm_state) in rtsx_base_force_power_down()
106 static void rts5249_init_from_cfg(struct rtsx_pcr *pcr) in rts5249_init_from_cfg()
144 static int rts5249_init_from_hw(struct rtsx_pcr *pcr) in rts5249_init_from_hw()
157 static int rts5249_extra_init_hw(struct rtsx_pcr *pcr) in rts5249_extra_init_hw()
198 static int rts5249_optimize_phy(struct rtsx_pcr *pcr) in rts5249_optimize_phy()
264 static int rtsx_base_turn_on_led(struct rtsx_pcr *pcr) in rtsx_base_turn_on_led()
269 static int rtsx_base_turn_off_led(struct rtsx_pcr *pcr) in rtsx_base_turn_off_led()
[all …]
Drts5260.c31 static u8 rts5260_get_ic_version(struct rtsx_pcr *pcr) in rts5260_get_ic_version()
39 static void rts5260_fill_driving(struct rtsx_pcr *pcr, u8 voltage) in rts5260_fill_driving()
75 static void rtsx_base_fetch_vendor_settings(struct rtsx_pcr *pcr) in rtsx_base_fetch_vendor_settings()
99 static void rtsx_base_force_power_down(struct rtsx_pcr *pcr, u8 pm_state) in rtsx_base_force_power_down()
114 static int rtsx_base_enable_auto_blink(struct rtsx_pcr *pcr) in rtsx_base_enable_auto_blink()
120 static int rtsx_base_disable_auto_blink(struct rtsx_pcr *pcr) in rtsx_base_disable_auto_blink()
126 static int rts5260_turn_on_led(struct rtsx_pcr *pcr) in rts5260_turn_on_led()
132 static int rts5260_turn_off_led(struct rtsx_pcr *pcr) in rts5260_turn_off_led()
190 static int sd_set_sample_push_timing_sd30(struct rtsx_pcr *pcr) in sd_set_sample_push_timing_sd30()
202 static int rts5260_card_power_on(struct rtsx_pcr *pcr, int card) in rts5260_card_power_on()
[all …]
DMakefile1 rtsx_pci-objs := rtsx_pcr.o rts5209.o rts5229.o rtl8411.o rts5227.o rts5249.o rts5260.o
/linux-4.19.296/include/linux/
Drtsx_pci.h1069 struct rtsx_pcr;
1072 struct rtsx_pcr *pcr;
1076 int (*write_phy)(struct rtsx_pcr *pcr, u8 addr, u16 val);
1077 int (*read_phy)(struct rtsx_pcr *pcr, u8 addr, u16 *val);
1078 int (*extra_init_hw)(struct rtsx_pcr *pcr);
1079 int (*optimize_phy)(struct rtsx_pcr *pcr);
1080 int (*turn_on_led)(struct rtsx_pcr *pcr);
1081 int (*turn_off_led)(struct rtsx_pcr *pcr);
1082 int (*enable_auto_blink)(struct rtsx_pcr *pcr);
1083 int (*disable_auto_blink)(struct rtsx_pcr *pcr);
[all …]
/linux-4.19.296/drivers/memstick/host/
Drtsx_pci_ms.c32 struct rtsx_pcr *pcr;
60 struct rtsx_pcr *pcr = host->pcr; in ms_print_debug_regs()
87 struct rtsx_pcr *pcr = host->pcr; in ms_power_on()
121 struct rtsx_pcr *pcr = host->pcr; in ms_power_off()
143 struct rtsx_pcr *pcr = host->pcr; in ms_transfer_data()
214 struct rtsx_pcr *pcr = host->pcr; in ms_write_bytes()
282 struct rtsx_pcr *pcr = host->pcr; in ms_read_bytes()
405 struct rtsx_pcr *pcr = host->pcr; in rtsx_pci_ms_handle_req()
448 struct rtsx_pcr *pcr = host->pcr; in rtsx_pci_ms_set_param()
547 struct rtsx_pcr *pcr; in rtsx_pci_ms_drv_probe()
[all …]