Lines Matching defs:tegra_spi_data
164 struct tegra_spi_data { struct
165 struct device *dev;
166 struct spi_master *master;
167 spinlock_t lock;
169 struct clk *clk;
170 struct reset_control *rst;
171 void __iomem *base;
172 phys_addr_t phys;
173 unsigned irq;
174 u32 cur_speed;
176 struct spi_device *cur_spi;
177 struct spi_device *cs_control;
178 unsigned cur_pos;
179 unsigned words_per_32bit;
180 unsigned bytes_per_word;
181 unsigned curr_dma_words;
182 unsigned cur_direction;
184 unsigned cur_rx_pos;
185 unsigned cur_tx_pos;
187 unsigned dma_buf_size;
188 unsigned max_buf_size;
189 bool is_curr_dma_xfer;
191 struct completion rx_dma_complete;
192 struct completion tx_dma_complete;
194 u32 tx_status;
195 u32 rx_status;
219 static inline u32 tegra_spi_readl(struct tegra_spi_data *tspi, in tegra_spi_readl() argument