Home
last modified time | relevance | path

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

/drivers/spi/
Dspi-bfin-sport.c83 struct bfin_sport_spi_slave_data *cur_chip; member
185 u16 tx_val = drv_data->cur_chip->idle_tx_val; in bfin_sport_spi_u8_reader()
225 u16 tx_val = drv_data->cur_chip->idle_tx_val; in bfin_sport_spi_u16_reader()
254 struct bfin_sport_spi_slave_data *chip = drv_data->cur_chip; in bfin_sport_spi_restore_state()
294 struct bfin_sport_spi_slave_data *chip = drv_data->cur_chip; in bfin_sport_spi_giveback()
303 drv_data->cur_chip = NULL; in bfin_sport_spi_giveback()
354 chip = drv_data->cur_chip; in bfin_sport_spi_pump_transfers()
514 drv_data->cur_chip = spi_get_ctldata(drv_data->cur_msg->spi); in bfin_sport_spi_pump_messages()
525 drv_data->cur_chip->baud, drv_data->cur_chip->cs_gpio, in bfin_sport_spi_pump_messages()
526 drv_data->cur_chip->ctl_reg); in bfin_sport_spi_pump_messages()
[all …]
Dspi-pl022.c372 struct chip_data *cur_chip; member
482 pl022->cur_chip->cs_control(SSP_CHIP_DESELECT); in giveback()
490 pl022->cur_chip = NULL; in giveback()
524 struct chip_data *chip = pl022->cur_chip; in restore_state()
671 pl022->rx += (pl022->cur_chip->n_bytes); in readwriter()
693 pl022->tx += (pl022->cur_chip->n_bytes); in readwriter()
720 pl022->rx += (pl022->cur_chip->n_bytes); in readwriter()
821 pl022->cur_chip-> in dma_callback()
1255 pl022->cur_chip-> in pl022_interrupt_handler()
1276 residue = pl022->cur_transfer->len % pl022->cur_chip->n_bytes; in set_up_next_transfer()
[all …]
Dspi-bfin5xx.c83 struct bfin_spi_slave_data *cur_chip; member
203 struct bfin_spi_slave_data *chip = drv_data->cur_chip; in bfin_spi_restore_state()
244 u16 tx_val = drv_data->cur_chip->idle_tx_val; in bfin_spi_u8_reader()
295 u16 tx_val = drv_data->cur_chip->idle_tx_val; in bfin_spi_u16_reader()
352 struct bfin_spi_slave_data *chip = drv_data->cur_chip; in bfin_spi_giveback()
361 drv_data->cur_chip = NULL; in bfin_spi_giveback()
385 struct bfin_spi_slave_data *chip = drv_data->cur_chip; in bfin_spi_pio_irq_handler()
487 struct bfin_spi_slave_data *chip = drv_data->cur_chip; in bfin_spi_dma_irq_handler()
572 chip = drv_data->cur_chip; in bfin_spi_pump_transfers()
693 if (!full_duplex && drv_data->cur_chip->enable_dma in bfin_spi_pump_transfers()
[all …]
Dspi-pxa2xx.c134 struct chip_data *cur_chip; member
180 struct chip_data *chip = drv_data->cur_chip; in cs_assert()
183 write_SSSR(drv_data->cur_chip->frm, drv_data->ioaddr); in cs_assert()
198 struct chip_data *chip = drv_data->cur_chip; in cs_deassert()
378 if (!drv_data->cur_chip->enable_dma) in map_dma_buffers()
505 drv_data->cur_chip = NULL; in giveback()
666 struct chip_data *chip = drv_data->cur_chip; in reset_sccr1()
944 u32 dma_thresh = drv_data->cur_chip->dma_threshold; in pump_transfers()
945 u32 dma_burst = drv_data->cur_chip->dma_burst_size; in pump_transfers()
950 chip = drv_data->cur_chip; in pump_transfers()
[all …]
Dspi-dw.c249 || !dws->cur_chip->enable_dma in map_dma_buffers()
273 dws->prev_chip = dws->cur_chip; in giveback()
274 dws->cur_chip = NULL; in giveback()
394 chip = dws->cur_chip; in pump_transfers()
581 dws->cur_chip = spi_get_ctldata(dws->cur_msg->spi); in pump_messages()
733 dws->cur_chip = NULL; in start_queue()
Dspi-dw.h123 struct chip_data *cur_chip; member