#include <linux/module.h>
#include <linux/delay.h>
#include <linux/rtsx_pci.h>
#include "rts5260.h"
#include "rtsx_pcr.h"
static u8 rts5260_get_ic_version(struct rtsx_pcr *pcr)
{ … }
static void rts5260_fill_driving(struct rtsx_pcr *pcr, u8 voltage)
{ … }
static void rtsx_base_fetch_vendor_settings(struct rtsx_pcr *pcr)
{ … }
static int rtsx_base_enable_auto_blink(struct rtsx_pcr *pcr)
{ … }
static int rtsx_base_disable_auto_blink(struct rtsx_pcr *pcr)
{ … }
static int rts5260_turn_on_led(struct rtsx_pcr *pcr)
{ … }
static int rts5260_turn_off_led(struct rtsx_pcr *pcr)
{ … }
static const u32 rts5260_sd_pull_ctl_enable_tbl[] = …;
static const u32 rts5260_sd_pull_ctl_disable_tbl[] = …;
static const u32 rts5260_ms_pull_ctl_enable_tbl[] = …;
static const u32 rts5260_ms_pull_ctl_disable_tbl[] = …;
static int sd_set_sample_push_timing_sd30(struct rtsx_pcr *pcr)
{ … }
static int rts5260_card_power_on(struct rtsx_pcr *pcr, int card)
{ … }
static int rts5260_switch_output_voltage(struct rtsx_pcr *pcr, u8 voltage)
{ … }
static void rts5260_stop_cmd(struct rtsx_pcr *pcr)
{ … }
static void rts5260_card_before_power_off(struct rtsx_pcr *pcr)
{ … }
static int rts5260_card_power_off(struct rtsx_pcr *pcr, int card)
{ … }
static void rts5260_init_ocp(struct rtsx_pcr *pcr)
{ … }
static void rts5260_enable_ocp(struct rtsx_pcr *pcr)
{ … }
static void rts5260_disable_ocp(struct rtsx_pcr *pcr)
{ … }
static int rts5260_get_ocpstat(struct rtsx_pcr *pcr, u8 *val)
{ … }
static int rts5260_get_ocpstat2(struct rtsx_pcr *pcr, u8 *val)
{ … }
static void rts5260_clear_ocpstat(struct rtsx_pcr *pcr)
{ … }
static void rts5260_process_ocp(struct rtsx_pcr *pcr)
{ … }
static int rts5260_init_hw(struct rtsx_pcr *pcr)
{ … }
static void rts5260_pwr_saving_setting(struct rtsx_pcr *pcr)
{ … }
static void rts5260_init_from_cfg(struct rtsx_pcr *pcr)
{ … }
static int rts5260_extra_init_hw(struct rtsx_pcr *pcr)
{ … }
static void rts5260_set_l1off_cfg_sub_d0(struct rtsx_pcr *pcr, int active)
{ … }
static const struct pcr_ops rts5260_pcr_ops = …;
void rts5260_init_params(struct rtsx_pcr *pcr)
{ … }