Searched refs:cur_chip (Results 1 - 9 of 9) sorted by relevance

/linux-4.1.27/drivers/spi/
H A Dspi-bfin-sport.c82 struct bfin_sport_spi_slave_data *cur_chip; member in struct:bfin_sport_spi_master_data
184 u16 tx_val = drv_data->cur_chip->idle_tx_val; bfin_sport_spi_u8_reader()
224 u16 tx_val = drv_data->cur_chip->idle_tx_val; bfin_sport_spi_u16_reader()
253 struct bfin_sport_spi_slave_data *chip = drv_data->cur_chip; bfin_sport_spi_restore_state()
293 struct bfin_sport_spi_slave_data *chip = drv_data->cur_chip; bfin_sport_spi_giveback()
302 drv_data->cur_chip = NULL; bfin_sport_spi_giveback()
353 chip = drv_data->cur_chip; bfin_sport_spi_pump_transfers()
512 drv_data->cur_chip = spi_get_ctldata(drv_data->cur_msg->spi); bfin_sport_spi_pump_messages()
523 drv_data->cur_chip->baud, drv_data->cur_chip->cs_gpio, bfin_sport_spi_pump_messages()
524 drv_data->cur_chip->ctl_reg); bfin_sport_spi_pump_messages()
697 drv_data->cur_chip = NULL; bfin_sport_spi_start_queue()
H A Dspi-adi-v3.c68 struct adi_spi_device *cur_chip; member in struct:adi_spi_master
208 struct adi_spi_device *chip = drv_data->cur_chip; adi_spi_restore_state()
248 u32 tx_val = drv_data->cur_chip->tx_dummy_val; adi_spi_u8_read()
290 u32 tx_val = drv_data->cur_chip->tx_dummy_val; adi_spi_u16_read()
335 u32 tx_val = drv_data->cur_chip->tx_dummy_val; adi_spi_u32_read()
386 struct adi_spi_device *chip = drv_data->cur_chip; adi_spi_giveback()
443 struct adi_spi_device *chip = drv_data->cur_chip; adi_spi_dma_xfer()
569 chip = drv_data->cur_chip; adi_spi_pump_transfers()
625 drv_data->cur_chip = spi_get_ctldata(drv_data->cur_msg->spi); adi_spi_transfer_one_message()
H A Dspi-fsl-dspi.c121 struct chip_data *cur_chip; member in struct:fsl_dspi
342 dspi->cur_chip = spi_get_ctldata(spi); dspi_transfer_one_message()
348 dspi->void_write_data = dspi->cur_chip->void_write_data; dspi_transfer_one_message()
363 regmap_write(dspi->regmap, SPI_MCR, dspi->cur_chip->mcr_val); dspi_transfer_one_message()
368 dspi->cur_chip->ctar_val); dspi_transfer_one_message()
371 dspi->cur_chip->ctar_val); dspi_transfer_one_message()
H A Dspi-bfin5xx.c84 struct bfin_spi_slave_data *cur_chip; member in struct:bfin_spi_master_data
204 struct bfin_spi_slave_data *chip = drv_data->cur_chip; bfin_spi_restore_state()
245 u16 tx_val = drv_data->cur_chip->idle_tx_val; bfin_spi_u8_reader()
296 u16 tx_val = drv_data->cur_chip->idle_tx_val; bfin_spi_u16_reader()
353 struct bfin_spi_slave_data *chip = drv_data->cur_chip; bfin_spi_giveback()
361 drv_data->cur_chip = NULL; bfin_spi_giveback()
382 struct bfin_spi_slave_data *chip = drv_data->cur_chip; bfin_spi_pio_irq_handler()
484 struct bfin_spi_slave_data *chip = drv_data->cur_chip; bfin_spi_dma_irq_handler()
569 chip = drv_data->cur_chip; bfin_spi_pump_transfers()
683 if (!full_duplex && drv_data->cur_chip->enable_dma bfin_spi_pump_transfers()
902 drv_data->cur_chip = spi_get_ctldata(drv_data->cur_msg->spi); bfin_spi_pump_messages()
915 drv_data->cur_chip->baud, drv_data->cur_chip->flag, bfin_spi_pump_messages()
916 drv_data->cur_chip->ctl_reg); bfin_spi_pump_messages()
1208 drv_data->cur_chip = NULL; bfin_spi_start_queue()
H A Dspi-pxa2xx-dma.c163 struct chip_data *chip = drv_data->cur_chip; pxa2xx_spi_dma_prepare_one()
220 const struct chip_data *chip = drv_data->cur_chip; pxa2xx_spi_map_dma_buffers()
H A Dspi-pxa2xx.c256 struct chip_data *chip = drv_data->cur_chip; cs_assert()
259 pxa2xx_spi_write(drv_data, SSSR, drv_data->cur_chip->frm); cs_assert()
279 struct chip_data *chip = drv_data->cur_chip; cs_deassert()
470 drv_data->cur_chip = NULL; giveback()
476 struct chip_data *chip = drv_data->cur_chip; reset_sccr1()
818 u32 dma_thresh = drv_data->cur_chip->dma_threshold; pump_transfers()
819 u32 dma_burst = drv_data->cur_chip->dma_burst_size; pump_transfers()
825 chip = drv_data->cur_chip; pump_transfers()
1022 drv_data->cur_chip = spi_get_ctldata(drv_data->cur_msg->spi); pxa2xx_spi_transfer_one_message()
H A Dspi-pl022.c359 * @cur_chip: pointer to current clients chip(assigned from controller_state)
391 struct chip_data *cur_chip; member in struct:pl022
485 pl022->cur_chip->cs_control(command); pl022_cs_control()
541 pl022->cur_chip = NULL; giveback()
575 struct chip_data *chip = pl022->cur_chip; restore_state()
722 pl022->rx += (pl022->cur_chip->n_bytes); readwriter()
744 pl022->tx += (pl022->cur_chip->n_bytes); readwriter()
771 pl022->rx += (pl022->cur_chip->n_bytes); readwriter()
1352 residue = pl022->cur_transfer->len % pl022->cur_chip->n_bytes; set_up_next_transfer()
1358 pl022->cur_chip->n_bytes); set_up_next_transfer()
1367 pl022->tx ? pl022->cur_chip->write : WRITING_NULL; set_up_next_transfer()
1368 pl022->read = pl022->rx ? pl022->cur_chip->read : READING_NULL; set_up_next_transfer()
1432 if (pl022->cur_chip->enable_dma) { pump_transfers()
1466 if (pl022->cur_chip->enable_dma) { do_interrupt_dma_transfer()
1491 chip = pl022->cur_chip; do_polling_transfer()
1573 pl022->cur_chip = spi_get_ctldata(msg->spi); pl022_transfer_one_message()
1579 if (pl022->cur_chip->xfer_type == POLLING_TRANSFER) pl022_transfer_one_message()
H A Dspi-pxa2xx.h73 struct chip_data *cur_chip; member in struct:driver_data
H A Dspi-pxa2xx-pxadma.c53 if (!drv_data->cur_chip->enable_dma) pxa2xx_spi_map_dma_buffers()

Completed in 195 milliseconds