Lines Matching defs:tegra_spi_data
166 struct tegra_spi_data { struct
167 struct device *dev;
168 struct spi_master *master;
169 spinlock_t lock;
171 struct clk *clk;
172 struct reset_control *rst;
173 void __iomem *base;
174 phys_addr_t phys;
175 unsigned irq;
176 u32 cur_speed;
178 struct spi_device *cur_spi;
179 struct spi_device *cs_control;
180 unsigned cur_pos;
181 unsigned words_per_32bit;
182 unsigned bytes_per_word;
183 unsigned curr_dma_words;
184 unsigned cur_direction;
186 unsigned cur_rx_pos;
187 unsigned cur_tx_pos;
189 unsigned dma_buf_size;
190 unsigned max_buf_size;
191 bool is_curr_dma_xfer;
192 bool use_hw_based_cs;
194 struct completion rx_dma_complete;
195 struct completion tx_dma_complete;
197 u32 tx_status;
198 u32 rx_status;
199 u32 status_reg;
200 bool is_packed;
202 u32 command1_reg;
203 u32 dma_control_reg;
227 static inline u32 tegra_spi_readl(struct tegra_spi_data *tspi, in tegra_spi_readl() argument