Lines Matching defs:rtsx_softc
74 struct rtsx_softc { struct
88 void (*rtsx_intr_trans_ok)(struct rtsx_softc *sc); argument
90 void (*rtsx_intr_trans_ko)(struct rtsx_softc *sc); argument
94 rtsx_card_insert_task; /* card insert delayed task */
95 struct task rtsx_card_remove_task; /* card remove task */
97 int rtsx_mem_res_id; /* bus memory resource id */
98 struct resource *rtsx_mem_res; /* bus memory resource */
99 bus_space_tag_t rtsx_mem_btag; /* host register set tag */
100 bus_space_handle_t rtsx_mem_bhandle; /* host register set handle */
102 bus_dma_tag_t rtsx_cmd_dma_tag; /* DMA tag for command transfer */
103 bus_dmamap_t rtsx_cmd_dmamap; /* DMA map for command transfer */
104 void *rtsx_cmd_dmamem; /* DMA mem for command transfer */
105 bus_addr_t rtsx_cmd_buffer; /* device visible address of the DMA segment */
106 int rtsx_cmd_index; /* index in rtsx_cmd_buffer */
108 bus_dma_tag_t rtsx_data_dma_tag; /* DMA tag for data transfer */
109 bus_dmamap_t rtsx_data_dmamap; /* DMA map for data transfer */
110 void *rtsx_data_dmamem; /* DMA mem for data transfer */
111 bus_addr_t rtsx_data_buffer; /* device visible address of the DMA segment */
114 union ccb *rtsx_ccb; /* CAM control block */
115 struct mmc_sim rtsx_mmc_sim; /* CAM generic sim */
116 struct mmc_request rtsx_cam_req; /* CAM MMC request */
119 struct mmc_request *rtsx_req; /* MMC request */
120 struct mmc_host rtsx_host; /* host parameters */
121 int rtsx_pcie_cap; /* PCIe capability offset */
122 int8_t rtsx_bus_busy; /* bus busy status */
123 int8_t rtsx_ios_bus_width; /* current host.ios.bus_width */
124 int32_t rtsx_ios_clock; /* current host.ios.clock */
125 int8_t rtsx_ios_power_mode; /* current host.ios.power mode */
126 int8_t rtsx_ios_timing; /* current host.ios.timing */
127 int8_t rtsx_ios_vccq; /* current host.ios.vccq */
128 uint8_t rtsx_read_only; /* card read only status */
129 uint8_t rtsx_inversion; /* inversion of card detection and read only status */
130 uint8_t rtsx_force_timing; /* force bus_timing_uhs_sdr50 */
131 uint8_t rtsx_debug_mask; /* debugging mask */
136 uint8_t rtsx_cam_status; /* CAM status - 1 if card in use */
138 uint64_t rtsx_read_count; /* count of read operations */
139 uint64_t rtsx_write_count; /* count of write operations */
140 bool rtsx_discovery_mode; /* are we in discovery mode? */
141 bool rtsx_tuning_mode; /* are we tuning */
142 bool rtsx_double_clk; /* double clock freqency */
143 bool rtsx_vpclk; /* voltage at Pulse-width Modulation(PWM) clock? */
144 uint8_t rtsx_ssc_depth; /* Spread spectrum clocking depth */
145 uint8_t rtsx_card_drive_sel; /* value for RTSX_CARD_DRIVE_SEL */
146 uint8_t rtsx_sd30_drive_sel_3v3;/* value for RTSX_SD30_DRIVE_SEL */