Home
last modified time | relevance | path

Searched refs:spi_controller_is_target (Results 1 – 7 of 7) sorted by relevance

/linux-6.6.21/drivers/spi/
Dspi-cadence.c409 if (!spi_controller_is_target(ctlr)) in cdns_prepare_message()
438 if (!spi_controller_is_target(ctlr)) { in cdns_transfer_one()
494 if (spi_controller_is_target(ctlr)) { in cdns_unprepare_transfer_hardware()
502 if (ctrl_reg == CDNS_SPI_NOSS || spi_controller_is_target(ctlr)) in cdns_unprepare_transfer_hardware()
597 if (!spi_controller_is_target(ctlr)) { in cdns_spi_probe()
632 cdns_spi_init_hw(xspi, spi_controller_is_target(ctlr)); in cdns_spi_probe()
656 if (!spi_controller_is_target(ctlr)) { in cdns_spi_probe()
679 if (!spi_controller_is_target(ctlr)) { in cdns_spi_probe()
743 cdns_spi_init_hw(xspi, spi_controller_is_target(ctlr)); in cdns_spi_resume()
Dspi-sh-msiof.c367 if (spi_controller_is_target(p->ctlr)) { in sh_msiof_spi_set_pin_regs()
559 if (spi_get_csgpiod(spi, 0) || spi_controller_is_target(p->ctlr)) in sh_msiof_spi_setup()
608 bool target = spi_controller_is_target(p->ctlr); in sh_msiof_spi_start()
628 bool target = spi_controller_is_target(p->ctlr); in sh_msiof_spi_stop()
657 if (spi_controller_is_target(p->ctlr)) { in sh_msiof_wait_for_completion()
931 if (!spi_controller_is_target(p->ctlr)) in sh_msiof_transfer_one()
Dspi-pxa2xx.c1105 if (spi_controller_is_target(controller)) { in pxa2xx_spi_transfer_one()
1202 if (spi_controller_is_target(drv_data->controller)) { in setup()
1251 if (spi_controller_is_target(drv_data->controller)) { in setup()
1582 if (spi_controller_is_target(controller)) { in pxa2xx_spi_probe()
1595 if (!spi_controller_is_target(controller)) in pxa2xx_spi_probe()
Dspi-omap2-mcspi.c282 if (spi_controller_is_target(ctlr)) { in omap2_mcspi_set_mode()
369 if (spi_controller_is_target(mcspi->ctlr)) { in mcspi_wait_for_completion()
628 if (spi_controller_is_target(spi->controller)) in omap2_mcspi_txrx_dma()
648 if (spi_controller_is_target(mcspi->ctlr)) { in omap2_mcspi_txrx_dma()
1300 if (spi_controller_is_target(ctlr)) in omap2_mcspi_can_dma()
Dspi-fsl-dspi.c343 if (spi_controller_is_target(dspi->ctlr)) in dspi_pop_tx_pushr()
433 if (spi_controller_is_target(dspi->ctlr)) { in dspi_next_xfer_dma_submit()
1064 if (!spi_controller_is_target(dspi->ctlr)) { in dspi_setup()
1219 if (!spi_controller_is_target(dspi->ctlr)) in dspi_init()
Dspi.c2789 if (spi_controller_is_target(ctlr) && ctlr->target_abort) in spi_target_abort()
/linux-6.6.21/include/linux/spi/
Dspi.h775 static inline bool spi_controller_is_target(struct spi_controller *ctlr) in spi_controller_is_target() function