Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
rtsx_chip Struct Reference

#include <rtsx_chip.h>

Data Fields

rtsx_dev_trtsx
 
u32 int_reg
 
char max_lun
 
voidcontext
 
voidhost_cmds_ptr
 
dma_addr_t host_cmds_addr
 
int ci
 
voidhost_sg_tbl_ptr
 
dma_addr_t host_sg_tbl_addr
 
int sgi
 
struct scsi_cmndsrb
 
struct sense_data_t sense_buffer [MAX_ALLOWED_LUN_CNT]
 
int cur_clk
 
int cur_card
 
unsigned long need_release
 
unsigned long need_reset
 
unsigned long need_reinit
 
int rw_need_retry
 
u32 ocp_int
 
u8 ocp_stat
 
u8 card_exist
 
u8 card_ready
 
u8 card_fail
 
u8 card_ejected
 
u8 card_wp
 
u8 lun_mc
 
int led_toggle_counter
 
int sd_reset_counter
 
int xd_reset_counter
 
int ms_reset_counter
 
u8 card_bus_width [MAX_ALLOWED_LUN_CNT]
 
u32 capacity [MAX_ALLOWED_LUN_CNT]
 
card_rw_func rw_card [MAX_ALLOWED_LUN_CNT]
 
u32 rw_cap [MAX_ALLOWED_LUN_CNT]
 
u8 card2lun [32]
 
u8 lun2card [MAX_ALLOWED_LUN_CNT]
 
int rw_fail_cnt [MAX_ALLOWED_LUN_CNT]
 
int sd_show_cnt
 
int xd_show_cnt
 
int ms_show_cnt
 
struct sd_info sd_card
 
struct xd_info xd_card
 
struct ms_info ms_card
 
struct spi_info spi
 
struct trace_msg_t trace_msg [TRACE_ITEM_CNT]
 
int msg_idx
 
int auto_delink_cnt
 
int auto_delink_allowed
 
int aspm_enabled
 
int sdio_aspm
 
int sdio_idle
 
int sdio_counter
 
u8 sdio_raw_data [12]
 
u8 sd_io
 
u8 sd_int
 
u8 rtsx_flag
 
int ss_counter
 
int idle_counter
 
enum RTSX_STAT rtsx_stat
 
u16 vendor_id
 
u16 product_id
 
u8 ic_version
 
int driver_first_load
 
int sdio_in_charge
 
u8 aspm_level [2]
 
int chip_insert_with_sdio
 
int adma_mode
 
int auto_delink_en
 
int ss_en
 
u8 lun_mode
 
u8 aspm_l0s_l1_en
 
int power_down_in_ss
 
int sdr104_en
 
int ddr50_en
 
int sdr50_en
 
int baro_pkg
 
int asic_code
 
int phy_debug_mode
 
int hw_bypass_sd
 
int sdio_func_exist
 
int aux_pwr_exist
 
u8 ms_power_class_en
 
int mspro_formatter_enable
 
int remote_wakeup_en
 
int ignore_sd
 
int use_hw_setting
 
int ss_idle_period
 
int dynamic_aspm
 
int fpga_sd_sdr104_clk
 
int fpga_sd_ddr50_clk
 
int fpga_sd_sdr50_clk
 
int fpga_sd_hs_clk
 
int fpga_mmc_52m_clk
 
int fpga_ms_hg_clk
 
int fpga_ms_4bit_clk
 
int fpga_ms_1bit_clk
 
int asic_sd_sdr104_clk
 
int asic_sd_ddr50_clk
 
int asic_sd_sdr50_clk
 
int asic_sd_hs_clk
 
int asic_mmc_52m_clk
 
int asic_ms_hg_clk
 
int asic_ms_4bit_clk
 
int asic_ms_1bit_clk
 
u8 ssc_depth_sd_sdr104
 
u8 ssc_depth_sd_ddr50
 
u8 ssc_depth_sd_sdr50
 
u8 ssc_depth_sd_hs
 
u8 ssc_depth_mmc_52m
 
u8 ssc_depth_ms_hg
 
u8 ssc_depth_ms_4bit
 
u8 ssc_depth_low_speed
 
u8 card_drive_sel
 
u8 sd30_drive_sel_1v8
 
u8 sd30_drive_sel_3v3
 
u8 sd_400mA_ocp_thd
 
u8 sd_800mA_ocp_thd
 
u8 ms_ocp_thd
 
int ssc_en
 
int msi_en
 
int xd_timeout
 
int sd_timeout
 
int ms_timeout
 
int mspro_timeout
 
int auto_power_down
 
int sd_ddr_tx_phase
 
int mmc_ddr_tx_phase
 
int sd_default_tx_phase
 
int sd_default_rx_phase
 
int pmos_pwr_on_interval
 
int sd_voltage_switch_delay
 
int s3_pwr_off_delay
 
int force_clkreq_0
 
int ft2_fast_mode
 
int do_delink_before_power_down
 
int polling_config
 
int sdio_retry_cnt
 
int delink_stage1_step
 
int delink_stage2_step
 
int delink_stage3_step
 
int auto_delink_in_L1
 
int hp_watch_bios_hotplug
 
int support_ms_8bit
 
u8 blink_led
 
u8 phy_voltage
 
u8 max_payload
 
u32 sd_speed_prior
 
u32 sd_current_prior
 
u32 sd_ctl
 

Detailed Description

Definition at line 683 of file rtsx_chip.h.

Field Documentation

int adma_mode

Definition at line 802 of file rtsx_chip.h.

int asic_code

Definition at line 817 of file rtsx_chip.h.

int asic_mmc_52m_clk

Definition at line 848 of file rtsx_chip.h.

int asic_ms_1bit_clk

Definition at line 851 of file rtsx_chip.h.

int asic_ms_4bit_clk

Definition at line 850 of file rtsx_chip.h.

int asic_ms_hg_clk

Definition at line 849 of file rtsx_chip.h.

int asic_sd_ddr50_clk

Definition at line 845 of file rtsx_chip.h.

int asic_sd_hs_clk

Definition at line 847 of file rtsx_chip.h.

int asic_sd_sdr104_clk

Definition at line 844 of file rtsx_chip.h.

int asic_sd_sdr50_clk

Definition at line 846 of file rtsx_chip.h.

int aspm_enabled

Definition at line 770 of file rtsx_chip.h.

u8 aspm_l0s_l1_en

Definition at line 807 of file rtsx_chip.h.

u8 aspm_level[2]

Definition at line 796 of file rtsx_chip.h.

int auto_delink_allowed

Definition at line 768 of file rtsx_chip.h.

int auto_delink_cnt

Definition at line 767 of file rtsx_chip.h.

int auto_delink_en

Definition at line 804 of file rtsx_chip.h.

int auto_delink_in_L1

Definition at line 900 of file rtsx_chip.h.

int auto_power_down

Definition at line 878 of file rtsx_chip.h.

int aux_pwr_exist

Definition at line 821 of file rtsx_chip.h.

int baro_pkg

Definition at line 815 of file rtsx_chip.h.

u8 blink_led

Definition at line 904 of file rtsx_chip.h.

Definition at line 739 of file rtsx_chip.h.

u8 card2lun[32]

Definition at line 745 of file rtsx_chip.h.

u8 card_bus_width[MAX_ALLOWED_LUN_CNT]

Definition at line 737 of file rtsx_chip.h.

u8 card_drive_sel

Definition at line 862 of file rtsx_chip.h.

u8 card_ejected

Definition at line 723 of file rtsx_chip.h.

u8 card_exist

Definition at line 720 of file rtsx_chip.h.

u8 card_fail

Definition at line 722 of file rtsx_chip.h.

u8 card_ready

Definition at line 721 of file rtsx_chip.h.

u8 card_wp

Definition at line 724 of file rtsx_chip.h.

int chip_insert_with_sdio

Definition at line 798 of file rtsx_chip.h.

int ci

Definition at line 692 of file rtsx_chip.h.

Definition at line 688 of file rtsx_chip.h.

int cur_card

Definition at line 704 of file rtsx_chip.h.

int cur_clk

Definition at line 701 of file rtsx_chip.h.

int ddr50_en

Definition at line 812 of file rtsx_chip.h.

int delink_stage1_step

Definition at line 896 of file rtsx_chip.h.

int delink_stage2_step

Definition at line 897 of file rtsx_chip.h.

int delink_stage3_step

Definition at line 898 of file rtsx_chip.h.

int do_delink_before_power_down

Definition at line 892 of file rtsx_chip.h.

int driver_first_load

Definition at line 790 of file rtsx_chip.h.

int dynamic_aspm

Definition at line 833 of file rtsx_chip.h.

int force_clkreq_0

Definition at line 889 of file rtsx_chip.h.

int fpga_mmc_52m_clk

Definition at line 839 of file rtsx_chip.h.

int fpga_ms_1bit_clk

Definition at line 842 of file rtsx_chip.h.

int fpga_ms_4bit_clk

Definition at line 841 of file rtsx_chip.h.

int fpga_ms_hg_clk

Definition at line 840 of file rtsx_chip.h.

int fpga_sd_ddr50_clk

Definition at line 836 of file rtsx_chip.h.

int fpga_sd_hs_clk

Definition at line 838 of file rtsx_chip.h.

int fpga_sd_sdr104_clk

Definition at line 835 of file rtsx_chip.h.

int fpga_sd_sdr50_clk

Definition at line 837 of file rtsx_chip.h.

int ft2_fast_mode

Definition at line 890 of file rtsx_chip.h.

dma_addr_t host_cmds_addr

Definition at line 691 of file rtsx_chip.h.

void* host_cmds_ptr

Definition at line 690 of file rtsx_chip.h.

dma_addr_t host_sg_tbl_addr

Definition at line 695 of file rtsx_chip.h.

void* host_sg_tbl_ptr

Definition at line 694 of file rtsx_chip.h.

int hp_watch_bios_hotplug

Definition at line 901 of file rtsx_chip.h.

int hw_bypass_sd

Definition at line 819 of file rtsx_chip.h.

u8 ic_version

Definition at line 788 of file rtsx_chip.h.

int idle_counter

Definition at line 783 of file rtsx_chip.h.

int ignore_sd

Definition at line 828 of file rtsx_chip.h.

u32 int_reg

Definition at line 686 of file rtsx_chip.h.

int led_toggle_counter

Definition at line 729 of file rtsx_chip.h.

Definition at line 747 of file rtsx_chip.h.

u8 lun_mc

Definition at line 726 of file rtsx_chip.h.

u8 lun_mode

Definition at line 806 of file rtsx_chip.h.

char max_lun

Definition at line 687 of file rtsx_chip.h.

u8 max_payload

Definition at line 906 of file rtsx_chip.h.

int mmc_ddr_tx_phase

Definition at line 881 of file rtsx_chip.h.

struct ms_info ms_card

Definition at line 758 of file rtsx_chip.h.

u8 ms_ocp_thd

Definition at line 868 of file rtsx_chip.h.

u8 ms_power_class_en

Definition at line 822 of file rtsx_chip.h.

int ms_reset_counter

Definition at line 734 of file rtsx_chip.h.

int ms_show_cnt

Definition at line 753 of file rtsx_chip.h.

int ms_timeout

Definition at line 875 of file rtsx_chip.h.

int msg_idx

Definition at line 764 of file rtsx_chip.h.

int msi_en

Definition at line 871 of file rtsx_chip.h.

int mspro_formatter_enable

Definition at line 824 of file rtsx_chip.h.

int mspro_timeout

Definition at line 876 of file rtsx_chip.h.

unsigned long need_reinit

Definition at line 711 of file rtsx_chip.h.

unsigned long need_release

Definition at line 706 of file rtsx_chip.h.

unsigned long need_reset

Definition at line 707 of file rtsx_chip.h.

u32 ocp_int

Definition at line 716 of file rtsx_chip.h.

u8 ocp_stat

Definition at line 717 of file rtsx_chip.h.

int phy_debug_mode

Definition at line 818 of file rtsx_chip.h.

u8 phy_voltage

Definition at line 905 of file rtsx_chip.h.

int pmos_pwr_on_interval

Definition at line 885 of file rtsx_chip.h.

int polling_config

Definition at line 893 of file rtsx_chip.h.

int power_down_in_ss

Definition at line 809 of file rtsx_chip.h.

u16 product_id

Definition at line 787 of file rtsx_chip.h.

int remote_wakeup_en

Definition at line 826 of file rtsx_chip.h.

rtsx_dev_t* rtsx

Definition at line 684 of file rtsx_chip.h.

u8 rtsx_flag

Definition at line 780 of file rtsx_chip.h.

enum RTSX_STAT rtsx_stat

Definition at line 784 of file rtsx_chip.h.

Definition at line 743 of file rtsx_chip.h.

Definition at line 741 of file rtsx_chip.h.

int rw_fail_cnt[MAX_ALLOWED_LUN_CNT]

Definition at line 749 of file rtsx_chip.h.

int rw_need_retry

Definition at line 713 of file rtsx_chip.h.

int s3_pwr_off_delay

Definition at line 887 of file rtsx_chip.h.

u8 sd30_drive_sel_1v8

Definition at line 863 of file rtsx_chip.h.

u8 sd30_drive_sel_3v3

Definition at line 864 of file rtsx_chip.h.

u8 sd_400mA_ocp_thd

Definition at line 866 of file rtsx_chip.h.

u8 sd_800mA_ocp_thd

Definition at line 867 of file rtsx_chip.h.

struct sd_info sd_card

Definition at line 756 of file rtsx_chip.h.

Definition at line 910 of file rtsx_chip.h.

u32 sd_current_prior

Definition at line 909 of file rtsx_chip.h.

int sd_ddr_tx_phase

Definition at line 880 of file rtsx_chip.h.

int sd_default_rx_phase

Definition at line 883 of file rtsx_chip.h.

int sd_default_tx_phase

Definition at line 882 of file rtsx_chip.h.

u8 sd_int

Definition at line 778 of file rtsx_chip.h.

u8 sd_io

Definition at line 777 of file rtsx_chip.h.

int sd_reset_counter

Definition at line 732 of file rtsx_chip.h.

int sd_show_cnt

Definition at line 751 of file rtsx_chip.h.

u32 sd_speed_prior

Definition at line 908 of file rtsx_chip.h.

int sd_timeout

Definition at line 874 of file rtsx_chip.h.

int sd_voltage_switch_delay

Definition at line 886 of file rtsx_chip.h.

int sdio_aspm

Definition at line 772 of file rtsx_chip.h.

int sdio_counter

Definition at line 774 of file rtsx_chip.h.

int sdio_func_exist

Definition at line 820 of file rtsx_chip.h.

int sdio_idle

Definition at line 773 of file rtsx_chip.h.

int sdio_in_charge

Definition at line 793 of file rtsx_chip.h.

u8 sdio_raw_data[12]

Definition at line 775 of file rtsx_chip.h.

int sdio_retry_cnt

Definition at line 894 of file rtsx_chip.h.

int sdr104_en

Definition at line 811 of file rtsx_chip.h.

int sdr50_en

Definition at line 813 of file rtsx_chip.h.

Definition at line 699 of file rtsx_chip.h.

int sgi

Definition at line 696 of file rtsx_chip.h.

Definition at line 760 of file rtsx_chip.h.

Definition at line 698 of file rtsx_chip.h.

int ss_counter

Definition at line 782 of file rtsx_chip.h.

int ss_en

Definition at line 805 of file rtsx_chip.h.

int ss_idle_period

Definition at line 831 of file rtsx_chip.h.

u8 ssc_depth_low_speed

Definition at line 860 of file rtsx_chip.h.

u8 ssc_depth_mmc_52m

Definition at line 857 of file rtsx_chip.h.

u8 ssc_depth_ms_4bit

Definition at line 859 of file rtsx_chip.h.

u8 ssc_depth_ms_hg

Definition at line 858 of file rtsx_chip.h.

u8 ssc_depth_sd_ddr50

Definition at line 854 of file rtsx_chip.h.

u8 ssc_depth_sd_hs

Definition at line 856 of file rtsx_chip.h.

u8 ssc_depth_sd_sdr104

Definition at line 853 of file rtsx_chip.h.

u8 ssc_depth_sd_sdr50

Definition at line 855 of file rtsx_chip.h.

int ssc_en

Definition at line 870 of file rtsx_chip.h.

int support_ms_8bit

Definition at line 902 of file rtsx_chip.h.

Definition at line 763 of file rtsx_chip.h.

int use_hw_setting

Definition at line 829 of file rtsx_chip.h.

u16 vendor_id

Definition at line 786 of file rtsx_chip.h.

struct xd_info xd_card

Definition at line 757 of file rtsx_chip.h.

int xd_reset_counter

Definition at line 733 of file rtsx_chip.h.

int xd_show_cnt

Definition at line 752 of file rtsx_chip.h.

int xd_timeout

Definition at line 873 of file rtsx_chip.h.


The documentation for this struct was generated from the following file: