Searched refs:rtsx_pcr (Results 1 – 11 of 11) sorted by relevance
/linux-4.1.27/drivers/mfd/ |
D | rtsx_pcr.h | 33 int __rtsx_pci_write_phy_register(struct rtsx_pcr *pcr, u8 addr, u16 val); 34 int __rtsx_pci_read_phy_register(struct rtsx_pcr *pcr, u8 addr, u16 *val); 36 void rts5209_init_params(struct rtsx_pcr *pcr); 37 void rts5229_init_params(struct rtsx_pcr *pcr); 38 void rtl8411_init_params(struct rtsx_pcr *pcr); 39 void rtl8402_init_params(struct rtsx_pcr *pcr); 40 void rts5227_init_params(struct rtsx_pcr *pcr); 41 void rts5249_init_params(struct rtsx_pcr *pcr); 42 void rts524a_init_params(struct rtsx_pcr *pcr); 43 void rts525a_init_params(struct rtsx_pcr *pcr); [all …]
|
D | rtl8411.c | 30 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 …]
|
D | rts5209.c | 28 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 …]
|
D | rts5229.c | 28 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 …]
|
D | rts5249.c | 28 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 int rts5249_extra_init_hw(struct rtsx_pcr *pcr) in rts5249_extra_init_hw() 131 static int rts5249_optimize_phy(struct rtsx_pcr *pcr) in rts5249_optimize_phy() 197 static int rtsx_base_turn_on_led(struct rtsx_pcr *pcr) in rtsx_base_turn_on_led() 202 static int rtsx_base_turn_off_led(struct rtsx_pcr *pcr) in rtsx_base_turn_off_led() 207 static int rtsx_base_enable_auto_blink(struct rtsx_pcr *pcr) in rtsx_base_enable_auto_blink() 212 static int rtsx_base_disable_auto_blink(struct rtsx_pcr *pcr) in rtsx_base_disable_auto_blink() [all …]
|
D | rts5227.c | 29 static void rts5227_fill_driving(struct rtsx_pcr *pcr, u8 voltage) in rts5227_fill_driving() 61 static void rts5227_fetch_vendor_settings(struct rtsx_pcr *pcr) in rts5227_fetch_vendor_settings() 83 static void rts5227_force_power_down(struct rtsx_pcr *pcr, u8 pm_state) in rts5227_force_power_down() 96 static int rts5227_extra_init_hw(struct rtsx_pcr *pcr) in rts5227_extra_init_hw() 129 static int rts5227_optimize_phy(struct rtsx_pcr *pcr) in rts5227_optimize_phy() 141 static int rts5227_turn_on_led(struct rtsx_pcr *pcr) in rts5227_turn_on_led() 146 static int rts5227_turn_off_led(struct rtsx_pcr *pcr) in rts5227_turn_off_led() 151 static int rts5227_enable_auto_blink(struct rtsx_pcr *pcr) in rts5227_enable_auto_blink() 156 static int rts5227_disable_auto_blink(struct rtsx_pcr *pcr) in rts5227_disable_auto_blink() 161 static int rts5227_card_power_on(struct rtsx_pcr *pcr, int card) in rts5227_card_power_on() [all …]
|
D | rtsx_pcr.c | 68 static inline void rtsx_pci_enable_aspm(struct rtsx_pcr *pcr) in rtsx_pci_enable_aspm() 74 static inline void rtsx_pci_disable_aspm(struct rtsx_pcr *pcr) in rtsx_pci_disable_aspm() 80 void rtsx_pci_start_run(struct rtsx_pcr *pcr) in rtsx_pci_start_run() 99 int rtsx_pci_write_register(struct rtsx_pcr *pcr, u16 addr, u8 mask, u8 data) in rtsx_pci_write_register() 123 int rtsx_pci_read_register(struct rtsx_pcr *pcr, u16 addr, u8 *data) in rtsx_pci_read_register() 147 int __rtsx_pci_write_phy_register(struct rtsx_pcr *pcr, u8 addr, u16 val) in __rtsx_pci_write_phy_register() 180 int rtsx_pci_write_phy_register(struct rtsx_pcr *pcr, u8 addr, u16 val) in rtsx_pci_write_phy_register() 189 int __rtsx_pci_read_phy_register(struct rtsx_pcr *pcr, u8 addr, u16 *val) in __rtsx_pci_read_phy_register() 236 int rtsx_pci_read_phy_register(struct rtsx_pcr *pcr, u8 addr, u16 *val) in rtsx_pci_read_phy_register() 245 void rtsx_pci_stop_cmd(struct rtsx_pcr *pcr) in rtsx_pci_stop_cmd() [all …]
|
D | Makefile | 16 rtsx_pci-objs := rtsx_pcr.o rts5209.o rts5229.o rtl8411.o rts5227.o rts5249.o
|
/linux-4.1.27/include/linux/mfd/ |
D | rtsx_pci.h | 847 struct rtsx_pcr; 850 struct rtsx_pcr *pcr; 854 int (*write_phy)(struct rtsx_pcr *pcr, u8 addr, u16 val); 855 int (*read_phy)(struct rtsx_pcr *pcr, u8 addr, u16 *val); 856 int (*extra_init_hw)(struct rtsx_pcr *pcr); 857 int (*optimize_phy)(struct rtsx_pcr *pcr); 858 int (*turn_on_led)(struct rtsx_pcr *pcr); 859 int (*turn_off_led)(struct rtsx_pcr *pcr); 860 int (*enable_auto_blink)(struct rtsx_pcr *pcr); 861 int (*disable_auto_blink)(struct rtsx_pcr *pcr); [all …]
|
/linux-4.1.27/drivers/mmc/host/ |
D | rtsx_pci_sdmmc.c | 38 struct rtsx_pcr *pcr; 108 static void sd_cmd_set_sd_cmd(struct rtsx_pcr *pcr, struct mmc_command *cmd) in sd_cmd_set_sd_cmd() 115 static void sd_cmd_set_data_len(struct rtsx_pcr *pcr, u16 blocks, u16 blksz) in sd_cmd_set_data_len() 163 struct rtsx_pcr *pcr = host->pcr; in sd_pre_dma_transfer() 215 struct rtsx_pcr *pcr = host->pcr; in sdmmc_post_req() 226 struct rtsx_pcr *pcr = host->pcr; in sd_send_cmd_get_rsp() 344 struct rtsx_pcr *pcr = host->pcr; in sd_read_data() 398 struct rtsx_pcr *pcr = host->pcr; in sd_write_data() 444 struct rtsx_pcr *pcr = host->pcr; in sd_read_long_data() 502 struct rtsx_pcr *pcr = host->pcr; in sd_write_long_data() [all …]
|
/linux-4.1.27/drivers/memstick/host/ |
D | rtsx_pci_ms.c | 32 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 …]
|