Lines Matching defs:tegra_spi_data
165 struct tegra_spi_data { struct
166 struct device *dev;
167 struct spi_controller *host;
168 spinlock_t lock;
170 struct clk *clk;
171 struct reset_control *rst;
172 void __iomem *base;
173 phys_addr_t phys;
174 unsigned irq;
175 u32 cur_speed;
177 struct spi_device *cur_spi;
178 struct spi_device *cs_control;
179 unsigned cur_pos;
180 unsigned words_per_32bit;
181 unsigned bytes_per_word;
182 unsigned curr_dma_words;
183 unsigned cur_direction;
185 unsigned cur_rx_pos;
186 unsigned cur_tx_pos;
188 unsigned dma_buf_size;
189 unsigned max_buf_size;
190 bool is_curr_dma_xfer;
191 bool use_hw_based_cs;
193 struct completion rx_dma_complete;
194 struct completion tx_dma_complete;
196 u32 tx_status;
197 u32 rx_status;
198 u32 status_reg;
199 bool is_packed;
201 u32 command1_reg;
202 u32 dma_control_reg;
226 static inline u32 tegra_spi_readl(struct tegra_spi_data *tspi, in tegra_spi_readl() argument