Home
last modified time | relevance | path

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

/linux/drivers/spi/
H A Dspi-virtio.c92 int cs_setup; in virtio_spi_set_delays() local
100 cs_setup = spi_delay_to_ns(&spi->cs_setup, xfer); in virtio_spi_set_delays()
101 if (cs_setup < 0) { in virtio_spi_set_delays()
103 return cs_setup; in virtio_spi_set_delays()
105 th->cs_setup_ns = cpu_to_le32(cs_setup); in virtio_spi_set_delays()
H A Dspi-mt65xx.c301 struct spi_delay *cs_setup = &spi->cs_setup; in mtk_spi_set_hw_cs_timing() local
308 delay = spi_delay_to_ns(cs_setup, NULL); in mtk_spi_set_hw_cs_timing()
H A Dspi.c1057 spi_delay_exec(&spi->cs_setup, NULL); in spi_toggle_csgpiod()
1114 spi_delay_exec(&spi->cs_setup, NULL); in spi_set_cs()
2595 of_spi_parse_dt_cs_delay(nc, &spi->cs_setup, "spi-cs-setup-delay-ns"); in of_spi_parse_dt()
H A Dspi-fsl-dspi.c1301 val = spi_delay_to_ns(&spi->cs_setup, NULL); in dspi_setup()
H A Dspi-tegra114.c722 struct spi_delay *setup = &spi->cs_setup; in tegra_spi_set_hw_cs_timing()
/linux/drivers/mtd/nand/raw/
H A Ddenali.c773 int rdwr_en_lo, rdwr_en_hi, rdwr_en_lo_hi, cs_setup; in denali_setup_interface() local
902 cs_setup = max3((int)DIV_ROUND_UP(timings->tCS_min, t_x) - rdwr_en_lo, in denali_setup_interface()
905 cs_setup = min_t(int, cs_setup, CS_SETUP_CNT__VALUE); in denali_setup_interface()
909 tmp |= FIELD_PREP(CS_SETUP_CNT__VALUE, cs_setup); in denali_setup_interface()
/linux/include/linux/spi/
H A Dspi.h235 struct spi_delay cs_setup; member