Home
last modified time | relevance | path

Searched refs:cs_change (Results 1 – 25 of 70) sorted by relevance

123

/drivers/spi/
Dspi-sh-hspi.c186 unsigned int cs_change; in hspi_transfer_one_message() local
191 cs_change = 1; in hspi_transfer_one_message()
195 if (cs_change) { in hspi_transfer_one_message()
200 cs_change = t->cs_change; in hspi_transfer_one_message()
231 if (cs_change) { in hspi_transfer_one_message()
239 if (!cs_change) { in hspi_transfer_one_message()
Dspi-bitbang.c272 unsigned cs_change; in bitbang_work() local
287 cs_change = 1; in bitbang_work()
311 if (cs_change) { in bitbang_work()
315 cs_change = t->cs_change; in bitbang_work()
347 if (cs_change && !list_is_last(&t->transfer_list, &m->transfers)) { in bitbang_work()
364 if (!(status == 0 && cs_change)) { in bitbang_work()
Dspi-xcomm.c145 unsigned cs_change = 0; in spi_xcomm_transfer_one() local
167 cs_change = t->cs_change; in spi_xcomm_transfer_one()
169 if (cs_change ^ is_last) in spi_xcomm_transfer_one()
203 if (status != 0 || !cs_change) in spi_xcomm_transfer_one()
Dspi-bcm2835.c238 struct spi_transfer *tfr, bool cs_change) in bcm2835_spi_finish_transfer() argument
252 if (cs_change) in bcm2835_spi_finish_transfer()
267 bool cs_change; in bcm2835_spi_transfer_one() local
281 cs_change = tfr->cs_change || in bcm2835_spi_transfer_one()
284 err = bcm2835_spi_finish_transfer(spi, tfr, cs_change); in bcm2835_spi_transfer_one()
Dspi-mpc512x-psc.c171 if (len == EOFBYTE && t->cs_change) in mpc512x_psc_spi_transfer_rxtx()
226 unsigned cs_change; in mpc512x_psc_spi_work() local
234 cs_change = 1; in mpc512x_psc_spi_work()
243 if (cs_change) in mpc512x_psc_spi_work()
245 cs_change = t->cs_change; in mpc512x_psc_spi_work()
255 if (cs_change) in mpc512x_psc_spi_work()
262 if (status || !cs_change) in mpc512x_psc_spi_work()
Dspi-mpc52xx-psc.c217 unsigned cs_change; in mpc52xx_psc_spi_work() local
225 cs_change = 1; in mpc52xx_psc_spi_work()
234 if (cs_change) in mpc52xx_psc_spi_work()
236 cs_change = t->cs_change; in mpc52xx_psc_spi_work()
246 if (cs_change) in mpc52xx_psc_spi_work()
253 if (status || !cs_change) in mpc52xx_psc_spi_work()
Dspi-txx9.c160 unsigned int cs_change = 1; in txx9spi_work_one() local
211 if (cs_change) in txx9spi_work_one()
213 cs_change = t->cs_change; in txx9spi_work_one()
261 if (!cs_change) in txx9spi_work_one()
279 if (!(status == 0 && cs_change)) in txx9spi_work_one()
Dspi-mpc52xx.c89 int cs_change; member
120 if (ms->cs_change) in mpc52xx_spi_start_transfer()
122 ms->cs_change = ms->transfer->cs_change; in mpc52xx_spi_start_transfer()
193 ms->cs_change = 1; in mpc52xx_spi_fsmstate_idle()
299 if (ms->cs_change) in mpc52xx_spi_fsmstate_wait()
Dspi-fsl-spi.c366 unsigned int cs_change; in fsl_spi_do_one_msg() local
370 cs_change = 1; in fsl_spi_do_one_msg()
377 if (cs_change) in fsl_spi_do_one_msg()
383 if (cs_change) { in fsl_spi_do_one_msg()
387 cs_change = t->cs_change; in fsl_spi_do_one_msg()
399 if (cs_change) { in fsl_spi_do_one_msg()
409 if (status || !cs_change) { in fsl_spi_do_one_msg()
Dspi-dw.c283 if (!last_transfer->cs_change && dws->cs_control) in giveback()
385 u8 cs_change = 0; in pump_transfers() local
430 dws->cs_change = transfer->cs_change; in pump_transfers()
433 cs_change = 1; in pump_transfers()
518 if (dw_readw(dws, DW_SPI_CTRL0) != cr0 || cs_change || clk_div || imask) { in pump_transfers()
535 if (cs_change) in pump_transfers()
540 dws->dma_ops->dma_transfer(dws, cs_change); in pump_transfers()
Dspi-bfin-sport.c97 int cs_change; member
307 if (!drv_data->cs_change) in bfin_sport_spi_giveback()
416 drv_data->cs_change = transfer->cs_change; in bfin_sport_spi_pump_transfers()
430 if (drv_data->cs_change) in bfin_sport_spi_pump_transfers()
473 if (drv_data->cs_change) in bfin_sport_spi_pump_transfers()
Dspi-dw.h89 int (*dma_transfer)(struct dw_spi *dws, int cs_change);
138 int cs_change; member
Dspi-dw-mid.c110 static int mid_spi_dma_transfer(struct dw_spi *dws, int cs_change) in mid_spi_dma_transfer() argument
118 if (cs_change) { in mid_spi_dma_transfer()
Dspi-bfin5xx.c107 int cs_change; member
370 if (!drv_data->cs_change) in bfin_spi_giveback()
412 if (drv_data->cs_change) in bfin_spi_pio_irq_handler()
538 if (drv_data->cs_change) in bfin_spi_dma_irq_handler()
642 drv_data->cs_change = transfer->cs_change; in bfin_spi_pump_transfers()
873 if (drv_data->cs_change && message->state != DONE_STATE) { in bfin_spi_pump_transfers()
Dspidev.c267 k_tmp->cs_change = !!u_tmp->cs_change; in spidev_message()
277 u_tmp->cs_change ? "cs " : "", in spidev_message()
/drivers/iio/imu/
Dadis.c41 .cs_change = 1, in adis_write_reg()
47 .cs_change = 1, in adis_write_reg()
53 .cs_change = 1, in adis_write_reg()
96 xfers[size].cs_change = 0; in adis_write_reg()
133 .cs_change = 1, in adis_read_reg()
139 .cs_change = 1, in adis_read_reg()
146 .cs_change = 1, in adis_read_reg()
/drivers/iio/adc/
Dad7298.c130 st->ring_xfer[0].cs_change = 1; in ad7298_update_scan_mode()
133 st->ring_xfer[1].cs_change = 1; in ad7298_update_scan_mode()
142 st->ring_xfer[i + 2].cs_change = 1; in ad7298_update_scan_mode()
146 st->ring_xfer[i + 1].cs_change = 0; in ad7298_update_scan_mode()
336 st->scan_single_xfer[0].cs_change = 1; in ad7298_probe()
339 st->scan_single_xfer[1].cs_change = 1; in ad7298_probe()
Dad7923.c149 st->ring_xfer[0].cs_change = 1; in ad7923_update_scan_mode()
157 st->ring_xfer[i + 1].cs_change = 1; in ad7923_update_scan_mode()
161 st->ring_xfer[i + 1].cs_change = 0; in ad7923_update_scan_mode()
306 st->scan_single_xfer[0].cs_change = 1; in ad7923_probe()
/drivers/video/backlight/
Dili922x.c163 xfer.cs_change = 1; in ili922x_read_status()
207 xfer_regindex.cs_change = 1; in ili922x_read()
225 xfer_regvalue.cs_change = 1; in ili922x_read()
262 xfer_regindex.cs_change = 1; in ili922x_write()
282 xfer_regvalue.cs_change = 1; in ili922x_write()
333 xfer.cs_change = 1; in set_write_to_gram_reg()
/drivers/input/touchscreen/
Dad7877.c234 req->xfer[0].cs_change = 1; in ad7877_read()
300 req->xfer[0].cs_change = 1; in ad7877_read_adc()
305 req->xfer[1].cs_change = 1; in ad7877_read_adc()
310 req->xfer[2].cs_change = 1; in ad7877_read_adc()
314 req->xfer[3].cs_change = 1; in ad7877_read_adc()
318 req->xfer[4].cs_change = 1; in ad7877_read_adc()
666 ts->xfer[0].cs_change = 1; in ad7877_setup_ts_def_msg()
672 ts->xfer[1].cs_change = 1; in ad7877_setup_ts_def_msg()
680 ts->xfer[i + 2].cs_change = 1; in ad7877_setup_ts_def_msg()
/drivers/net/wireless/ti/wlcore/
Dspi.c189 t[0].cs_change = true; in wl12xx_spi_read_busy()
233 t[0].cs_change = true; in wl12xx_spi_raw_read()
239 t[1].cs_change = true; in wl12xx_spi_raw_read()
255 t[0].cs_change = true; in wl12xx_spi_raw_read()
/drivers/staging/iio/frequency/
Dad9832.c250 st->freq_xfer[0].cs_change = 1; in ad9832_probe()
253 st->freq_xfer[1].cs_change = 1; in ad9832_probe()
256 st->freq_xfer[2].cs_change = 1; in ad9832_probe()
268 st->phase_xfer[0].cs_change = 1; in ad9832_probe()
/drivers/mfd/
Dcros_ec_spi.c109 trans.cs_change = 1; in cros_ec_spi_receive_response()
161 trans.cs_change = 1; in cros_ec_spi_receive_response()
223 trans.cs_change = 1; in cros_ec_command_spi_xfer()
/drivers/staging/iio/accel/
Dlis3l02dq_ring.c80 xfers[j].cs_change = 1; in lis3l02dq_read_all()
91 xfers[j].cs_change = 1; in lis3l02dq_read_all()
/drivers/iio/gyro/
Dadxrs450.c102 .cs_change = 1, in adxrs450_spi_read_reg_16()
180 .cs_change = 1, in adxrs450_spi_sensor_data()

123