Home
last modified time | relevance | path

Searched refs:cur_chip (Results 1 – 5 of 5) sorted by relevance

/drivers/spi/
Dspi-bfin-sport.c80 struct bfin_sport_spi_slave_data *cur_chip; member
182 u16 tx_val = drv_data->cur_chip->idle_tx_val; in bfin_sport_spi_u8_reader()
222 u16 tx_val = drv_data->cur_chip->idle_tx_val; in bfin_sport_spi_u16_reader()
251 struct bfin_sport_spi_slave_data *chip = drv_data->cur_chip; in bfin_sport_spi_restore_state()
291 struct bfin_sport_spi_slave_data *chip = drv_data->cur_chip; in bfin_sport_spi_giveback()
300 drv_data->cur_chip = NULL; in bfin_sport_spi_giveback()
351 chip = drv_data->cur_chip; in bfin_sport_spi_pump_transfers()
507 drv_data->cur_chip = spi_get_ctldata(drv_data->cur_msg->spi); in bfin_sport_spi_pump_messages()
518 drv_data->cur_chip->baud, drv_data->cur_chip->cs_gpio, in bfin_sport_spi_pump_messages()
519 drv_data->cur_chip->ctl_reg); in bfin_sport_spi_pump_messages()
[all …]
Dspi-bfin5xx.c82 struct bfin_spi_slave_data *cur_chip; member
202 struct bfin_spi_slave_data *chip = drv_data->cur_chip; in bfin_spi_restore_state()
243 u16 tx_val = drv_data->cur_chip->idle_tx_val; in bfin_spi_u8_reader()
294 u16 tx_val = drv_data->cur_chip->idle_tx_val; in bfin_spi_u16_reader()
351 struct bfin_spi_slave_data *chip = drv_data->cur_chip; in bfin_spi_giveback()
359 drv_data->cur_chip = NULL; in bfin_spi_giveback()
380 struct bfin_spi_slave_data *chip = drv_data->cur_chip; in bfin_spi_pio_irq_handler()
482 struct bfin_spi_slave_data *chip = drv_data->cur_chip; in bfin_spi_dma_irq_handler()
567 chip = drv_data->cur_chip; in bfin_spi_pump_transfers()
677 if (!full_duplex && drv_data->cur_chip->enable_dma in bfin_spi_pump_transfers()
[all …]
Dspi-adi-v3.c68 struct adi_spi_device *cur_chip; member
208 struct adi_spi_device *chip = drv_data->cur_chip; in adi_spi_restore_state()
248 u32 tx_val = drv_data->cur_chip->tx_dummy_val; in adi_spi_u8_read()
290 u32 tx_val = drv_data->cur_chip->tx_dummy_val; in adi_spi_u16_read()
335 u32 tx_val = drv_data->cur_chip->tx_dummy_val; in adi_spi_u32_read()
386 struct adi_spi_device *chip = drv_data->cur_chip; in adi_spi_giveback()
443 struct adi_spi_device *chip = drv_data->cur_chip; in adi_spi_dma_xfer()
569 chip = drv_data->cur_chip; in adi_spi_pump_transfers()
625 drv_data->cur_chip = spi_get_ctldata(drv_data->cur_msg->spi); in adi_spi_transfer_one_message()
Dspi-pl022.c384 struct chip_data *cur_chip; member
478 pl022->cur_chip->cs_control(command); in pl022_cs_control()
534 pl022->cur_chip = NULL; in giveback()
568 struct chip_data *chip = pl022->cur_chip; in restore_state()
715 pl022->rx += (pl022->cur_chip->n_bytes); in readwriter()
737 pl022->tx += (pl022->cur_chip->n_bytes); in readwriter()
764 pl022->rx += (pl022->cur_chip->n_bytes); in readwriter()
1357 residue = pl022->cur_transfer->len % pl022->cur_chip->n_bytes; in set_up_next_transfer()
1363 pl022->cur_chip->n_bytes); in set_up_next_transfer()
1372 pl022->tx ? pl022->cur_chip->write : WRITING_NULL; in set_up_next_transfer()
[all …]
Dspi-fsl-dspi.c153 struct chip_data *cur_chip; member
390 dspi->cur_chip = spi_get_ctldata(spi); in dspi_transfer_one_message()
396 dspi->void_write_data = dspi->cur_chip->void_write_data; in dspi_transfer_one_message()
411 regmap_write(dspi->regmap, SPI_MCR, dspi->cur_chip->mcr_val); in dspi_transfer_one_message()
416 dspi->cur_chip->ctar_val); in dspi_transfer_one_message()