Lines Matching refs:data1_reg_val
155 unsigned int data1_reg_val; in davinci_spi_read() local
158 data1_reg_val = ((1 << SPIDAT1_CSHOLD_SHIFT) | in davinci_spi_read()
166 writel(data1_reg_val, &ds->regs->dat1); in davinci_spi_read()
170 *rxp++ = davinci_spi_xfer_data(ds, data1_reg_val); in davinci_spi_read()
174 data1_reg_val &= ~(1 << SPIDAT1_CSHOLD_SHIFT); in davinci_spi_read()
177 *rxp = davinci_spi_xfer_data(ds, data1_reg_val); in davinci_spi_read()
185 unsigned int data1_reg_val; in davinci_spi_write() local
188 data1_reg_val = ((1 << SPIDAT1_CSHOLD_SHIFT) | in davinci_spi_write()
197 writel(data1_reg_val | *txp++, &ds->regs->dat1); in davinci_spi_write()
203 davinci_spi_xfer_data(ds, data1_reg_val | *txp++); in davinci_spi_write()
207 data1_reg_val &= ~(1 << SPIDAT1_CSHOLD_SHIFT); in davinci_spi_write()
210 davinci_spi_xfer_data(ds, data1_reg_val | *txp); in davinci_spi_write()
219 unsigned int data1_reg_val; in davinci_spi_read_write() local
222 data1_reg_val = ((1 << SPIDAT1_CSHOLD_SHIFT) | in davinci_spi_read_write()
231 *rxp++ = davinci_spi_xfer_data(ds, data1_reg_val | *txp++); in davinci_spi_read_write()
235 data1_reg_val &= ~(1 << SPIDAT1_CSHOLD_SHIFT); in davinci_spi_read_write()
238 *rxp = davinci_spi_xfer_data(ds, data1_reg_val | *txp); in davinci_spi_read_write()