/openbmc/linux/drivers/misc/cardreader/ |
H A D | rtsx_pcr.h | 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); 72 void rts525a_init_params(struct rtsx_pcr *pcr); 119 int rtsx_gops_pm_reset(struct rtsx_pcr *pcr); [all …]
|
H A 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() 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() 477 void rtl8411_init_params(struct rtsx_pcr *pcr) in rtl8411_init_params() 484 void rtl8411b_init_params(struct rtsx_pcr *pcr) in rtl8411b_init_params() [all …]
|
H A 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() 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() 124 static int rts5229_card_power_off(struct rtsx_pcr *pcr, int card) in rts5229_card_power_off() [all …]
|
H A 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() 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() 133 static int rts5209_card_power_off(struct rtsx_pcr *pcr, int card) in rts5209_card_power_off() [all …]
|
H A D | rts5260.c | 19 static u8 rts5260_get_ic_version(struct rtsx_pcr *pcr) in rts5260_get_ic_version() 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() 248 static void rts5260_stop_cmd(struct rtsx_pcr *pcr) in rts5260_stop_cmd() 280 static void rts5260_init_ocp(struct rtsx_pcr *pcr) in rts5260_init_ocp() 313 static void rts5260_enable_ocp(struct rtsx_pcr *pcr) in rts5260_enable_ocp() 322 static void rts5260_disable_ocp(struct rtsx_pcr *pcr) in rts5260_disable_ocp() 360 static void rts5260_process_ocp(struct rtsx_pcr *pcr) in rts5260_process_ocp() 379 static int rts5260_init_hw(struct rtsx_pcr *pcr) in rts5260_init_hw() 493 static int rts5260_extra_init_hw(struct rtsx_pcr *pcr) in rts5260_extra_init_hw() [all …]
|
H A D | rts5228.c | 19 static u8 rts5228_get_ic_version(struct rtsx_pcr *pcr) in rts5228_get_ic_version() 89 static int rts5228_optimize_phy(struct rtsx_pcr *pcr) in rts5228_optimize_phy() 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() 272 static void rts5228_stop_cmd(struct rtsx_pcr *pcr) in rts5228_stop_cmd() 288 static void rts5228_enable_ocp(struct rtsx_pcr *pcr) in rts5228_enable_ocp() 299 static void rts5228_disable_ocp(struct rtsx_pcr *pcr) in rts5228_disable_ocp() 324 static void rts5228_init_ocp(struct rtsx_pcr *pcr) in rts5228_init_ocp() 371 static void rts5228_process_ocp(struct rtsx_pcr *pcr) in rts5228_process_ocp() 405 static int rts5228_extra_init_hw(struct rtsx_pcr *pcr) in rts5228_extra_init_hw() [all …]
|
H A D | rts5227.c | 17 static u8 rts5227_get_ic_version(struct rtsx_pcr *pcr) in rts5227_get_ic_version() 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() 331 void rts5227_init_params(struct rtsx_pcr *pcr) in rts5227_init_params() 355 static int rts522a_optimize_phy(struct rtsx_pcr *pcr) in rts522a_optimize_phy() 379 static int rts522a_extra_init_hw(struct rtsx_pcr *pcr) in rts522a_extra_init_hw() [all …]
|
H A D | rtsx_pcr.c | 303 void rtsx_pci_add_cmd(struct rtsx_pcr *pcr, in rtsx_pci_add_cmd() 894 struct rtsx_pcr *pcr; in rtsx_pci_card_detect() 968 struct rtsx_pcr *pcr = dev_id; in rtsx_pci_isr() 1499 struct rtsx_pcr *pcr; in rtsx_pci_probe() 1636 struct rtsx_pcr *pcr = handle->pcr; in rtsx_pci_remove() 1680 struct rtsx_pcr *pcr = handle->pcr; in rtsx_pci_suspend() 1698 struct rtsx_pcr *pcr = handle->pcr; in rtsx_pci_resume() 1755 struct rtsx_pcr *pcr = handle->pcr; in rtsx_pci_shutdown() 1771 struct rtsx_pcr *pcr = handle->pcr; in rtsx_pci_runtime_idle() 1798 struct rtsx_pcr *pcr = handle->pcr; in rtsx_pci_runtime_suspend() [all …]
|
H A D | rts5261.c | 18 static u8 rts5261_get_ic_version(struct rtsx_pcr *pcr) in rts5261_get_ic_version() 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() 244 static void rts5261_stop_cmd(struct rtsx_pcr *pcr) in rts5261_stop_cmd() 261 static void rts5261_enable_ocp(struct rtsx_pcr *pcr) in rts5261_enable_ocp() 273 static void rts5261_disable_ocp(struct rtsx_pcr *pcr) in rts5261_disable_ocp() 300 static void rts5261_init_ocp(struct rtsx_pcr *pcr) in rts5261_init_ocp() 344 static void rts5261_process_ocp(struct rtsx_pcr *pcr) in rts5261_process_ocp() 360 static void rts5261_init_from_hw(struct rtsx_pcr *pcr) in rts5261_init_from_hw() 465 static int rts5261_extra_init_hw(struct rtsx_pcr *pcr) in rts5261_extra_init_hw() [all …]
|
H A D | rts5249.c | 16 static u8 rts5249_get_ic_version(struct rtsx_pcr *pcr) in rts5249_get_ic_version() 87 static void rts5249_init_from_cfg(struct rtsx_pcr *pcr) in rts5249_init_from_cfg() 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() 538 void rts5249_init_params(struct rtsx_pcr *pcr) in rts5249_init_params() 591 static int rts524a_optimize_phy(struct rtsx_pcr *pcr) in rts524a_optimize_phy() 634 static int rts524a_extra_init_hw(struct rtsx_pcr *pcr) in rts524a_extra_init_hw() 713 void rts524a_init_params(struct rtsx_pcr *pcr) in rts524a_init_params() 763 static int rts525a_optimize_phy(struct rtsx_pcr *pcr) in rts525a_optimize_phy() [all …]
|
H A D | Makefile | 4 rtsx_pci-objs := rtsx_pcr.o rts5209.o rts5229.o rtl8411.o rts5227.o rts5249.o rts5260.o rts5261.o r…
|
H A D | rts5228.h | 165 int rts5228_pci_switch_clock(struct rtsx_pcr *pcr, unsigned int card_clock,
|
H A D | rts5261.h | 203 int rts5261_pci_switch_clock(struct rtsx_pcr *pcr, unsigned int card_clock,
|
/openbmc/linux/include/linux/ |
H A D | rtsx_pci.h | 1079 struct rtsx_pcr; 1082 struct rtsx_pcr *pcr; 1089 int (*optimize_phy)(struct rtsx_pcr *pcr); 1090 int (*turn_on_led)(struct rtsx_pcr *pcr); 1102 void (*stop_cmd)(struct rtsx_pcr *pcr); 1106 void (*enable_ocp)(struct rtsx_pcr *pcr); 1107 void (*disable_ocp)(struct rtsx_pcr *pcr); 1108 void (*init_ocp)(struct rtsx_pcr *pcr); 1109 void (*process_ocp)(struct rtsx_pcr *pcr); 1176 struct rtsx_pcr { struct [all …]
|
/openbmc/linux/drivers/mmc/host/ |
H A D | rtsx_pci_sdmmc.c | 27 struct rtsx_pcr *pcr; 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() 618 struct rtsx_pcr *pcr = host->pcr; in sd_change_phase() 1475 struct rtsx_pcr *pcr; in rtsx_pci_sdmmc_drv_probe() [all …]
|
/openbmc/linux/drivers/memstick/host/ |
H A D | rtsx_pci_ms.c | 20 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 …]
|