Home
last modified time | relevance | path

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

/linux/drivers/spi/
H A Dspi-cadence.c412 if (!spi_controller_is_target(ctlr)) in cdns_prepare_message()
441 if (!spi_controller_is_target(ctlr)) { in cdns_transfer_one()
497 if (spi_controller_is_target(ctlr)) { in cdns_unprepare_transfer_hardware()
505 if (ctrl_reg == CDNS_SPI_NOSS || spi_controller_is_target(ctlr)) in cdns_unprepare_transfer_hardware()
611 if (!spi_controller_is_target(ctlr)) { in cdns_spi_probe()
633 cdns_spi_init_hw(xspi, spi_controller_is_target(ctlr)); in cdns_spi_probe()
657 if (!spi_controller_is_target(ctlr)) { in cdns_spi_probe()
680 if (!spi_controller_is_target(ctlr)) { in cdns_spi_probe()
704 if (!spi_controller_is_target(ctlr)) { in cdns_spi_remove()
741 cdns_spi_init_hw(xspi, spi_controller_is_target(ctlr)); in cdns_spi_resume()
H A Dspi-rzv2m-csi.c300 if (spi_controller_is_target(csi->controller)) { in rzv2m_csi_wait_for_interrupt()
417 !!spi_controller_is_target(csi->controller)); in rzv2m_csi_setup()
502 if (!spi_controller_is_target(csi->controller)) in rzv2m_csi_pio_transfer()
545 if (!spi_controller_is_target(csi->controller)) in rzv2m_csi_transfer_one()
598 if (spi_controller_is_target(controller) && in rzv2m_csi_probe()
H A 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()
H A Dspi-pxa2xx.c1079 if (spi_controller_is_target(controller)) { in pxa2xx_spi_transfer_one()
1175 if (spi_controller_is_target(drv_data->controller)) { in setup()
1201 if (spi_controller_is_target(drv_data->controller)) { in setup()
1404 if (spi_controller_is_target(controller)) { in pxa2xx_spi_probe()
1417 if (!spi_controller_is_target(controller)) in pxa2xx_spi_probe()
H A Dspi-omap2-mcspi.c290 if (spi_controller_is_target(ctlr)) { in omap2_mcspi_set_mode()
382 if (spi_controller_is_target(mcspi->ctlr)) { in mcspi_wait_for_completion()
641 if (spi_controller_is_target(spi->controller)) in omap2_mcspi_txrx_dma()
661 if (spi_controller_is_target(mcspi->ctlr)) { in omap2_mcspi_txrx_dma()
1340 if (spi_controller_is_target(ctlr)) in omap2_mcspi_can_dma()
H A 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()
1069 if (!spi_controller_is_target(dspi->ctlr)) { in dspi_setup()
1227 if (!spi_controller_is_target(dspi->ctlr)) in dspi_init()
H A Dspi.c692 if (!spi_controller_is_target(ctlr)) { in __spi_add_device()
1443 if (spi_controller_is_target(ctlr)) { in spi_transfer_wait()
2428 if (spi_controller_is_target(ctlr)) { in of_spi_parse_dt()
2945 if (spi_controller_is_target(ctlr) && ctlr->target_abort) in spi_target_abort()
3313 if (!spi_controller_is_target(ctlr) && ctlr->use_gpio_descriptors) { in spi_register_controller()
3341 spi_controller_is_target(ctlr) ? "target" : "host", in spi_register_controller()
/linux/include/linux/spi/
H A Dspi.h801 static inline bool spi_controller_is_target(struct spi_controller *ctlr) in spi_controller_is_target() function