Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/misc/cardreader/
Drtsx_pcr.h42 int __rtsx_pci_write_phy_register(struct rtsx_pcr *pcr, u8 addr, u16 val);
43 int __rtsx_pci_read_phy_register(struct rtsx_pcr *pcr, u8 addr, u16 *val);
45 void rts5209_init_params(struct rtsx_pcr *pcr);
46 void rts5229_init_params(struct rtsx_pcr *pcr);
47 void rtl8411_init_params(struct rtsx_pcr *pcr);
48 void rtl8402_init_params(struct rtsx_pcr *pcr);
49 void rts5227_init_params(struct rtsx_pcr *pcr);
50 void rts522a_init_params(struct rtsx_pcr *pcr);
51 void rts5249_init_params(struct rtsx_pcr *pcr);
52 void rts524a_init_params(struct rtsx_pcr *pcr);
[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()
79 static void rts5227_force_power_down(struct rtsx_pcr *pcr, u8 pm_state) in rts5227_force_power_down()
92 static int rts5227_extra_init_hw(struct rtsx_pcr *pcr) in rts5227_extra_init_hw()
125 static int rts5227_optimize_phy(struct rtsx_pcr *pcr) in rts5227_optimize_phy()
137 static int rts5227_turn_on_led(struct rtsx_pcr *pcr) in rts5227_turn_on_led()
142 static int rts5227_turn_off_led(struct rtsx_pcr *pcr) in rts5227_turn_off_led()
147 static int rts5227_enable_auto_blink(struct rtsx_pcr *pcr) in rts5227_enable_auto_blink()
152 static int rts5227_disable_auto_blink(struct rtsx_pcr *pcr) in rts5227_disable_auto_blink()
[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()
60 static void rtl8411b_fetch_vendor_settings(struct rtsx_pcr *pcr) in rtl8411b_fetch_vendor_settings()
77 static void rtl8411_force_power_down(struct rtsx_pcr *pcr, u8 pm_state) in rtl8411_force_power_down()
82 static int rtl8411_extra_init_hw(struct rtsx_pcr *pcr) in rtl8411_extra_init_hw()
94 static int rtl8411b_extra_init_hw(struct rtsx_pcr *pcr) in rtl8411b_extra_init_hw()
111 static int rtl8411_turn_on_led(struct rtsx_pcr *pcr) in rtl8411_turn_on_led()
116 static int rtl8411_turn_off_led(struct rtsx_pcr *pcr) in rtl8411_turn_off_led()
121 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()
49 static void rts5209_force_power_down(struct rtsx_pcr *pcr, u8 pm_state) in rts5209_force_power_down()
54 static int rts5209_extra_init_hw(struct rtsx_pcr *pcr) in rts5209_extra_init_hw()
73 static int rts5209_optimize_phy(struct rtsx_pcr *pcr) in rts5209_optimize_phy()
78 static int rts5209_turn_on_led(struct rtsx_pcr *pcr) in rts5209_turn_on_led()
83 static int rts5209_turn_off_led(struct rtsx_pcr *pcr) in rts5209_turn_off_led()
88 static int rts5209_enable_auto_blink(struct rtsx_pcr *pcr) in rts5209_enable_auto_blink()
93 static int rts5209_disable_auto_blink(struct rtsx_pcr *pcr) in rts5209_disable_auto_blink()
98 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()
46 static void rts5229_force_power_down(struct rtsx_pcr *pcr, u8 pm_state) in rts5229_force_power_down()
51 static int rts5229_extra_init_hw(struct rtsx_pcr *pcr) in rts5229_extra_init_hw()
73 static int rts5229_optimize_phy(struct rtsx_pcr *pcr) in rts5229_optimize_phy()
79 static int rts5229_turn_on_led(struct rtsx_pcr *pcr) in rts5229_turn_on_led()
84 static int rts5229_turn_off_led(struct rtsx_pcr *pcr) in rts5229_turn_off_led()
89 static int rts5229_enable_auto_blink(struct rtsx_pcr *pcr) in rts5229_enable_auto_blink()
94 static int rts5229_disable_auto_blink(struct rtsx_pcr *pcr) in rts5229_disable_auto_blink()
99 static int rts5229_card_power_on(struct rtsx_pcr *pcr, int card) in rts5229_card_power_on()
[all …]
Drtsx_pcr.c59 static inline void rtsx_pci_enable_aspm(struct rtsx_pcr *pcr) in rtsx_pci_enable_aspm()
65 static inline void rtsx_pci_disable_aspm(struct rtsx_pcr *pcr) in rtsx_pci_disable_aspm()
71 static int rtsx_comm_set_ltr_latency(struct rtsx_pcr *pcr, u32 latency) in rtsx_comm_set_ltr_latency()
87 int rtsx_set_ltr_latency(struct rtsx_pcr *pcr, u32 latency) in rtsx_set_ltr_latency()
95 static void rtsx_comm_set_aspm(struct rtsx_pcr *pcr, bool enable) in rtsx_comm_set_aspm()
119 static void rtsx_disable_aspm(struct rtsx_pcr *pcr) in rtsx_disable_aspm()
127 int rtsx_set_l1off_sub(struct rtsx_pcr *pcr, u8 val) in rtsx_set_l1off_sub()
134 static void rtsx_set_l1off_sub_cfg_d0(struct rtsx_pcr *pcr, int active) in rtsx_set_l1off_sub_cfg_d0()
140 static void rtsx_comm_pm_full_on(struct rtsx_pcr *pcr) in rtsx_comm_pm_full_on()
153 static void rtsx_pm_full_on(struct rtsx_pcr *pcr) in rtsx_pm_full_on()
[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()
65 static void rtsx_base_fetch_vendor_settings(struct rtsx_pcr *pcr) in rtsx_base_fetch_vendor_settings()
89 static void rtsx_base_force_power_down(struct rtsx_pcr *pcr, u8 pm_state) in rtsx_base_force_power_down()
104 static int rtsx_base_enable_auto_blink(struct rtsx_pcr *pcr) in rtsx_base_enable_auto_blink()
110 static int rtsx_base_disable_auto_blink(struct rtsx_pcr *pcr) in rtsx_base_disable_auto_blink()
116 static int rts5260_turn_on_led(struct rtsx_pcr *pcr) in rts5260_turn_on_led()
122 static int rts5260_turn_off_led(struct rtsx_pcr *pcr) in rts5260_turn_off_led()
180 static int sd_set_sample_push_timing_sd30(struct rtsx_pcr *pcr) in sd_set_sample_push_timing_sd30()
192 static int rts5260_card_power_on(struct rtsx_pcr *pcr, int card) in rts5260_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()
80 static void rtsx_base_force_power_down(struct rtsx_pcr *pcr, u8 pm_state) in rtsx_base_force_power_down()
94 static void rts5249_init_from_cfg(struct rtsx_pcr *pcr) in rts5249_init_from_cfg()
132 static int rts5249_init_from_hw(struct rtsx_pcr *pcr) in rts5249_init_from_hw()
145 static int rts5249_extra_init_hw(struct rtsx_pcr *pcr) in rts5249_extra_init_hw()
186 static int rts5249_optimize_phy(struct rtsx_pcr *pcr) in rts5249_optimize_phy()
252 static int rtsx_base_turn_on_led(struct rtsx_pcr *pcr) in rtsx_base_turn_on_led()
257 static int rtsx_base_turn_off_led(struct rtsx_pcr *pcr) in rtsx_base_turn_off_led()
[all …]
DMakefile4 rtsx_pci-objs := rtsx_pcr.o rts5209.o rts5229.o rtl8411.o rts5227.o rts5249.o rts5260.o
/Linux-v5.4/include/linux/
Drtsx_pci.h1057 struct rtsx_pcr;
1060 struct rtsx_pcr *pcr;
1064 int (*write_phy)(struct rtsx_pcr *pcr, u8 addr, u16 val);
1065 int (*read_phy)(struct rtsx_pcr *pcr, u8 addr, u16 *val);
1066 int (*extra_init_hw)(struct rtsx_pcr *pcr);
1067 int (*optimize_phy)(struct rtsx_pcr *pcr);
1068 int (*turn_on_led)(struct rtsx_pcr *pcr);
1069 int (*turn_off_led)(struct rtsx_pcr *pcr);
1070 int (*enable_auto_blink)(struct rtsx_pcr *pcr);
1071 int (*disable_auto_blink)(struct rtsx_pcr *pcr);
[all …]
/Linux-v5.4/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 …]
/Linux-v5.4/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 …]