/linux-4.1.27/drivers/spi/ |
H A D | spi-xcomm.c | 142 unsigned cs_change = 0; spi_xcomm_transfer_one() local 162 cs_change = t->cs_change; spi_xcomm_transfer_one() 164 if (cs_change ^ is_last) spi_xcomm_transfer_one() 198 if (status != 0 || !cs_change) spi_xcomm_transfer_one()
|
H A D | spi-sh-hspi.c | 159 unsigned int cs_change; hspi_transfer_one_message() local 164 cs_change = 1; hspi_transfer_one_message() 168 if (cs_change) { hspi_transfer_one_message() 173 cs_change = t->cs_change; hspi_transfer_one_message() 204 if (cs_change) { hspi_transfer_one_message() 212 if (!cs_change) { hspi_transfer_one_message()
|
H A D | spi-txx9.c | 102 /* deselect the chip with cs_change hint in last transfer */ txx9spi_cs_func() 153 unsigned int cs_change = 1; txx9spi_work_one() local 205 if (cs_change) txx9spi_work_one() 207 cs_change = t->cs_change; txx9spi_work_one() 255 if (!cs_change) txx9spi_work_one() 271 * cs_change has hinted that the next message will probably txx9spi_work_one() 274 if (!(status == 0 && cs_change)) txx9spi_work_one()
|
H A D | spi-bitbang.c | 275 unsigned cs_change; spi_bitbang_transfer_one() local 288 cs_change = 1; spi_bitbang_transfer_one() 314 if (cs_change) { spi_bitbang_transfer_one() 318 cs_change = t->cs_change; spi_bitbang_transfer_one() 350 if (cs_change && spi_bitbang_transfer_one() 364 * cs_change has hinted that the next message will probably spi_bitbang_transfer_one() 367 if (!(status == 0 && cs_change)) { spi_bitbang_transfer_one()
|
H A D | spi-mpc512x-psc.c | 162 if (tx_len == EOFBYTE && t->cs_change) mpc512x_psc_spi_transfer_rxtx() 272 unsigned cs_change; mpc512x_psc_spi_msg_xfer() local 277 cs_change = 1; mpc512x_psc_spi_msg_xfer() 286 if (cs_change) mpc512x_psc_spi_msg_xfer() 288 cs_change = t->cs_change; mpc512x_psc_spi_msg_xfer() 298 if (cs_change) mpc512x_psc_spi_msg_xfer() 306 if (status || !cs_change) mpc512x_psc_spi_msg_xfer()
|
H A D | spi-mpc52xx-psc.c | 216 unsigned cs_change; mpc52xx_psc_spi_work() local 224 cs_change = 1; mpc52xx_psc_spi_work() 233 if (cs_change) mpc52xx_psc_spi_work() 235 cs_change = t->cs_change; mpc52xx_psc_spi_work() 245 if (cs_change) mpc52xx_psc_spi_work() 253 if (status || !cs_change) mpc52xx_psc_spi_work()
|
H A D | spi-mpc52xx.c | 88 int cs_change; member in struct:mpc52xx_spi 119 if (ms->cs_change) mpc52xx_spi_start_transfer() 121 ms->cs_change = ms->transfer->cs_change; mpc52xx_spi_start_transfer() 192 ms->cs_change = 1; mpc52xx_spi_fsmstate_idle() 300 if (ms->cs_change) mpc52xx_spi_fsmstate_wait()
|
H A D | spi-fsl-spi.c | 361 unsigned int cs_change; fsl_spi_do_one_msg() local 377 cs_change = 1; fsl_spi_do_one_msg() 381 if (cs_change) fsl_spi_do_one_msg() 387 if (cs_change) { fsl_spi_do_one_msg() 391 cs_change = t->cs_change; fsl_spi_do_one_msg() 403 if (cs_change) { fsl_spi_do_one_msg() 413 if (status || !cs_change) { fsl_spi_do_one_msg()
|
H A D | spi-octeon.c | 130 mpi_tx.s.leavecs = xfer->cs_change; octeon_spi_do_transfer() 132 mpi_tx.s.leavecs = !xfer->cs_change; octeon_spi_do_transfer()
|
H A D | spi-fsl-dspi.c | 130 u32 cs_change; member in struct:fsl_dspi 276 if ((dspi->cs_change) && (!dspi->len)) dspi_transfer_write() 346 transfer->cs_change = 1; dspi_transfer_one_message() 347 dspi->cs_change = transfer->cs_change; dspi_transfer_one_message()
|
H A D | spi-bfin-sport.c | 96 int cs_change; member in struct:bfin_sport_spi_master_data 143 /* Chip select operation functions for cs_change flag */ 306 if (!drv_data->cs_change) bfin_sport_spi_giveback() 415 drv_data->cs_change = transfer->cs_change; bfin_sport_spi_pump_transfers() 429 if (drv_data->cs_change) bfin_sport_spi_pump_transfers() 472 if (drv_data->cs_change) bfin_sport_spi_pump_transfers()
|
H A D | spi-bfin5xx.c | 108 int cs_change; member in struct:bfin_spi_master_data 164 /* Chip select operation functions for cs_change flag */ bfin_spi_cs_active() 367 if (!drv_data->cs_change) bfin_spi_giveback() 409 if (drv_data->cs_change) bfin_spi_pio_irq_handler() 535 if (drv_data->cs_change) bfin_spi_dma_irq_handler() 639 drv_data->cs_change = transfer->cs_change; bfin_spi_pump_transfers() 864 if (drv_data->cs_change && message->state != DONE_STATE) { bfin_spi_pump_transfers()
|
H A D | spi-meson-spifc.c | 223 keep_cs = xfer->cs_change; meson_spifc_txrx() 225 keep_cs = !xfer->cs_change; meson_spifc_txrx()
|
H A D | spidev.c | 289 k_tmp->cs_change = !!u_tmp->cs_change; spidev_message() 303 u_tmp->cs_change ? "cs " : "", spidev_message()
|
H A D | spi-mxs.c | 390 /* De-assert on last transfer, inverted by cs_change flag */ mxs_spi_transfer_one() 391 flag = (&t->transfer_list == m->transfers.prev) ^ t->cs_change ? mxs_spi_transfer_one()
|
H A D | spi-falcon.c | 382 WARN_ON(t->delay_usecs || t->cs_change); falcon_sflash_xfer_one()
|
H A D | spi-sc18is602.c | 208 do_transfer = t->cs_change || list_is_last(&t->transfer_list, sc18is602_transfer_one()
|
H A D | spi-adi-v3.c | 152 /* Chip select operation functions for cs_change flag */ adi_spi_cs_active() 581 if (t->cs_change) adi_spi_pump_transfers()
|
H A D | spi-pl022.c | 510 if (!last_transfer->cs_change) { giveback() 514 * cs_change was not set. We can keep the chip select giveback() 871 if (pl022->cur_transfer->cs_change) dma_callback() 1331 if (pl022->cur_transfer->cs_change) pl022_interrupt_handler() 1415 /* Reselect chip select only if cs_change was requested */ pump_transfers() 1416 if (previous->cs_change) pump_transfers() 1507 if (previous->cs_change) do_polling_transfer() 1544 if (pl022->cur_transfer->cs_change) do_polling_transfer()
|
H A D | spi-bcm63xx-hsspi.c | 290 if (t->cs_change) bcm63xx_hsspi_transfer_one()
|
H A D | spi-bcm63xx.c | 271 if (t->cs_change || bcm63xx_spi_transfer_one()
|
H A D | spi-omap-100k.c | 344 if (t->cs_change) { omap1_spi100k_transfer_one_message()
|
H A D | spi-pxa2xx.c | 440 /* Drop chip select UNLESS cs_change is true or we are returning giveback() 443 if (!last_transfer->cs_change) giveback() 849 /* Drop chip select only if cs_change is requested */ pump_transfers() 850 if (previous->cs_change) pump_transfers()
|
H A D | spi-tegra20-sflash.c | 355 if (xfer->cs_change && xfer->delay_usecs) { tegra_sflash_transfer_one_message()
|
H A D | spi-ep93xx.c | 649 if (t->cs_change) { ep93xx_spi_process_transfer() 670 * asserted during the whole message (unless per transfer cs_change is set).
|
H A D | spi-tegra114.c | 860 if (xfer->cs_change) tegra_spi_transfer_one_message() 867 } else if (xfer->cs_change) { tegra_spi_transfer_one_message()
|
H A D | spi-dln2.c | 670 if (!xfer->cs_change && !spi_transfer_is_last(master, xfer)) dln2_spi_transfer_one()
|
H A D | spi-omap2-mcspi.c | 1171 if (t->cs_change) { omap2_mcspi_work()
|
H A D | spi-s3c64xx.c | 167 * @tgl_spi: Pointer to the last CS left untoggled by the cs_change hint.
|
H A D | spi-atmel.c | 1173 if (xfer->cs_change) { atmel_spi_one_transfer()
|
H A D | spi.c | 727 if (xfer->cs_change) { spi_transfer_one_message()
|
/linux-4.1.27/drivers/iio/adc/ |
H A D | ad7298.c | 127 st->ring_xfer[0].cs_change = 1; ad7298_update_scan_mode() 130 st->ring_xfer[1].cs_change = 1; ad7298_update_scan_mode() 139 st->ring_xfer[i + 2].cs_change = 1; ad7298_update_scan_mode() 142 /* make sure last transfer cs_change is not set */ ad7298_update_scan_mode() 143 st->ring_xfer[i + 1].cs_change = 0; ad7298_update_scan_mode() 327 st->scan_single_xfer[0].cs_change = 1; ad7298_probe() 330 st->scan_single_xfer[1].cs_change = 1; ad7298_probe()
|
H A D | ad7923.c | 149 st->ring_xfer[0].cs_change = 1; 157 st->ring_xfer[i + 1].cs_change = 1; 160 /* make sure last transfer cs_change is not set */ 161 st->ring_xfer[i + 1].cs_change = 0; 301 st->scan_single_xfer[0].cs_change = 1; ad7923_probe()
|
H A D | ad7266.c | 450 st->single_xfer[0].cs_change = 1; ad7266_probe() 454 st->single_xfer[1].cs_change = 1; ad7266_probe()
|
H A D | ad_sigma_delta.c | 65 .cs_change = sigma_delta->bus_locked, ad_sd_write_reg() 114 .cs_change = sigma_delta->bus_locked, ad_sd_read_reg_raw()
|
/linux-4.1.27/net/nfc/nci/ |
H A D | spi.c | 42 int cs_change) __nci_spi_send() 57 t.cs_change = cs_change; __nci_spi_send() 197 tx.cs_change = 0; __nci_spi_read() 203 rx.cs_change = 1; __nci_spi_read() 225 rx.cs_change = 0; __nci_spi_read() 41 __nci_spi_send(struct nci_spi *nspi, struct sk_buff *skb, int cs_change) __nci_spi_send() argument
|
/linux-4.1.27/drivers/iio/imu/ |
H A D | adis.c | 41 .cs_change = 1, adis_write_reg() 47 .cs_change = 1, adis_write_reg() 53 .cs_change = 1, adis_write_reg() 96 xfers[size].cs_change = 0; adis_write_reg() 133 .cs_change = 1, adis_read_reg() 139 .cs_change = 1, adis_read_reg() 146 .cs_change = 1, adis_read_reg()
|
H A D | adis_buffer.c | 53 adis->xfer[j].cs_change = 1; adis_update_scan_mode()
|
/linux-4.1.27/drivers/staging/iio/frequency/ |
H A D | ad9832.c | 248 st->freq_xfer[0].cs_change = 1; ad9832_probe() 251 st->freq_xfer[1].cs_change = 1; ad9832_probe() 254 st->freq_xfer[2].cs_change = 1; ad9832_probe() 266 st->phase_xfer[0].cs_change = 1; ad9832_probe()
|
H A D | ad9834.c | 373 st->freq_xfer[0].cs_change = 1; ad9834_probe()
|
/linux-4.1.27/drivers/net/wireless/ti/wlcore/ |
H A D | spi.c | 190 t[0].cs_change = true; wl12xx_spi_read_busy() 234 t[0].cs_change = true; wl12xx_spi_raw_read() 240 t[1].cs_change = true; wl12xx_spi_raw_read() 256 t[0].cs_change = true; wl12xx_spi_raw_read()
|
/linux-4.1.27/drivers/input/touchscreen/ |
H A D | ad7877.c | 228 req->xfer[0].cs_change = 1; ad7877_read() 294 req->xfer[0].cs_change = 1; ad7877_read_adc() 299 req->xfer[1].cs_change = 1; ad7877_read_adc() 304 req->xfer[2].cs_change = 1; ad7877_read_adc() 308 req->xfer[3].cs_change = 1; ad7877_read_adc() 312 req->xfer[4].cs_change = 1; ad7877_read_adc() 660 ts->xfer[0].cs_change = 1; ad7877_setup_ts_def_msg() 666 ts->xfer[1].cs_change = 1; ad7877_setup_ts_def_msg() 674 ts->xfer[i + 2].cs_change = 1; ad7877_setup_ts_def_msg()
|
H A D | ads7846.c | 151 #define CS_CHANGE(xfer) ((xfer).cs_change = 1) 153 #define CS_CHANGE(xfer) ((xfer).cs_change = 0)
|
H A D | tsc2005.c | 219 rd->spi_xfer.cs_change = !last; tsc2005_setup_read()
|
/linux-4.1.27/drivers/video/backlight/ |
H A D | ili922x.c | 163 xfer.cs_change = 1; ili922x_read_status() 207 xfer_regindex.cs_change = 1; ili922x_read() 225 xfer_regvalue.cs_change = 1; ili922x_read() 262 xfer_regindex.cs_change = 1; ili922x_write() 282 xfer_regvalue.cs_change = 1; ili922x_write() 333 xfer.cs_change = 1; set_write_to_gram_reg()
|
H A D | tosa_lcd.c | 52 .cs_change = 1, tosa_tg_send()
|
H A D | ili9320.c | 191 spi->xfer[0].cs_change = 1; ili9320_setup_spi()
|
H A D | ltv350qv.c | 45 .cs_change = 1, ltv350qv_write_reg()
|
H A D | tdo24m.c | 372 x->cs_change = 1; tdo24m_probe()
|
H A D | corgi_lcd.c | 180 .cs_change = 1, corgi_ssp_lcdtg_send()
|
/linux-4.1.27/include/uapi/linux/spi/ |
H A D | spidev.h | 66 * @cs_change: True to deselect device before starting the next transfer. 98 __u8 cs_change; member in struct:spi_ioc_transfer
|
/linux-4.1.27/drivers/staging/iio/meter/ |
H A D | ade7758_ring.c | 159 st->ring_xfer[1].cs_change = 1; ade7758_configure_ring()
|
/linux-4.1.27/drivers/staging/iio/accel/ |
H A D | lis3l02dq_ring.c | 82 xfers[j].cs_change = 1; lis3l02dq_read_all() 93 xfers[j].cs_change = 1; lis3l02dq_read_all()
|
H A D | lis3l02dq_core.c | 34 /* At the moment the spi framework doesn't allow global setting of cs_change. 114 .cs_change = 1, lis3l02dq_spi_write_reg_s16() 146 .cs_change = 1, lis3l02dq_read_reg_s16()
|
H A D | adis16220_core.c | 109 .cs_change = 1, adis16220_capture_buffer_read() 115 .cs_change = 1, adis16220_capture_buffer_read()
|
H A D | sca3000_core.c | 136 .cs_change = 1, __sca3000_unlock_reg_lock() 140 .cs_change = 1, __sca3000_unlock_reg_lock()
|
/linux-4.1.27/drivers/mfd/ |
H A D | cros_ec_spi.c | 132 trans.cs_change = 1; cros_ec_spi_receive_response() 191 trans.cs_change = 1; cros_ec_spi_receive_response() 250 trans.cs_change = 1; cros_ec_cmd_xfer_spi()
|
/linux-4.1.27/drivers/iio/gyro/ |
H A D | adis16080.c | 59 .cs_change = 1, adis16080_read_sample()
|
H A D | adxrs450.c | 101 .cs_change = 1, adxrs450_spi_read_reg_16() 175 .cs_change = 1, adxrs450_spi_sensor_data()
|
/linux-4.1.27/drivers/iio/dac/ |
H A D | ad5449.c | 108 .cs_change = 1, ad5449_read()
|
H A D | ad5686.c | 113 .cs_change = 1, ad5686_spi_read()
|
H A D | ad5764.c | 148 .cs_change = 1, ad5764_read()
|
H A D | ad5360.c | 226 .cs_change = 1, ad5360_read()
|
H A D | ad5421.c | 163 .cs_change = 1, ad5421_read()
|
H A D | ad5791.c | 128 .cs_change = 1, ad5791_spi_read()
|
H A D | ad5755.c | 161 .cs_change = 1, ad5755_read()
|
/linux-4.1.27/drivers/video/fbdev/omap2/displays-new/ |
H A D | panel-lgphilips-lb035q02.c | 66 .cs_change = 1, lb035q02_write_reg()
|
/linux-4.1.27/drivers/mmc/host/ |
H A D | mmc_spi.c | 68 * of SPI controller drivers that mis-handle the cs_change flag! 534 t->cs_change = 1; mmc_spi_command_send() 653 t->cs_change = 1; mmc_spi_setup_data_message() 1415 host->status.cs_change = 1; mmc_spi_probe()
|
/linux-4.1.27/include/linux/spi/ |
H A D | spi.h | 389 * (unless modified by spi_transfer.cs_change != 0). 541 * @cs_change: affects chipselect after this transfer completes 574 * can affect the chipselect signal using cs_change. 618 unsigned cs_change:1; member in struct:spi_transfer
|
/linux-4.1.27/drivers/net/can/spi/ |
H A D | mcp251x.c | 318 .cs_change = 0, mcp251x_spi_trans()
|
/linux-4.1.27/sound/spi/ |
H A D | at73c213.c | 92 .cs_change = 0, snd_at73c213_write_reg()
|
/linux-4.1.27/drivers/tty/serial/ |
H A D | ifx6x60.c | 760 ifx_dev->spi_xfer.cs_change = 0; ifx_spi_io()
|