Lines Matching refs:data1_reg_val
156 unsigned int data1_reg_val; in davinci_spi_read() local
159 data1_reg_val = ((1 << SPIDAT1_CSHOLD_SHIFT) | in davinci_spi_read()
167 writel(data1_reg_val, &ds->regs->dat1); in davinci_spi_read()
171 *rxp++ = davinci_spi_xfer_data(ds, data1_reg_val); in davinci_spi_read()
175 data1_reg_val &= ~(1 << SPIDAT1_CSHOLD_SHIFT); in davinci_spi_read()
178 *rxp = davinci_spi_xfer_data(ds, data1_reg_val); in davinci_spi_read()
186 unsigned int data1_reg_val; in davinci_spi_write() local
189 data1_reg_val = ((1 << SPIDAT1_CSHOLD_SHIFT) | in davinci_spi_write()
198 writel(data1_reg_val | *txp++, &ds->regs->dat1); in davinci_spi_write()
204 davinci_spi_xfer_data(ds, data1_reg_val | *txp++); in davinci_spi_write()
208 data1_reg_val &= ~(1 << SPIDAT1_CSHOLD_SHIFT); in davinci_spi_write()
211 davinci_spi_xfer_data(ds, data1_reg_val | *txp); in davinci_spi_write()
220 unsigned int data1_reg_val; in davinci_spi_read_write() local
223 data1_reg_val = ((1 << SPIDAT1_CSHOLD_SHIFT) | in davinci_spi_read_write()
232 *rxp++ = davinci_spi_xfer_data(ds, data1_reg_val | *txp++); in davinci_spi_read_write()
236 data1_reg_val &= ~(1 << SPIDAT1_CSHOLD_SHIFT); in davinci_spi_read_write()
239 *rxp = davinci_spi_xfer_data(ds, data1_reg_val | *txp); in davinci_spi_read_write()