#include <linux/module.h>
#include <linux/delay.h>
#include <linux/rtsx_pci.h>
#include "rtsx_pcr.h"
static u8 rts5229_get_ic_version(struct rtsx_pcr *pcr)
{ … }
static void rts5229_fetch_vendor_settings(struct rtsx_pcr *pcr)
{ … }
static void rts5229_force_power_down(struct rtsx_pcr *pcr, u8 pm_state, bool runtime)
{ … }
static int rts5229_extra_init_hw(struct rtsx_pcr *pcr)
{ … }
static int rts5229_optimize_phy(struct rtsx_pcr *pcr)
{ … }
static int rts5229_turn_on_led(struct rtsx_pcr *pcr)
{ … }
static int rts5229_turn_off_led(struct rtsx_pcr *pcr)
{ … }
static int rts5229_enable_auto_blink(struct rtsx_pcr *pcr)
{ … }
static int rts5229_disable_auto_blink(struct rtsx_pcr *pcr)
{ … }
static int rts5229_card_power_on(struct rtsx_pcr *pcr, int card)
{ … }
static int rts5229_card_power_off(struct rtsx_pcr *pcr, int card)
{ … }
static int rts5229_switch_output_voltage(struct rtsx_pcr *pcr, u8 voltage)
{ … }
static const struct pcr_ops rts5229_pcr_ops = …;
static const u32 rts5229_sd_pull_ctl_enable_tbl1[] = …;
static const u32 rts5229_sd_pull_ctl_enable_tbl2[] = …;
static const u32 rts5229_sd_pull_ctl_disable_tbl1[] = …;
static const u32 rts5229_sd_pull_ctl_disable_tbl2[] = …;
static const u32 rts5229_ms_pull_ctl_enable_tbl[] = …;
static const u32 rts5229_ms_pull_ctl_disable_tbl[] = …;
void rts5229_init_params(struct rtsx_pcr *pcr)
{ … }