Searched refs:cs_setup (Results 1 – 6 of 6) sorted by relevance
| /linux/drivers/spi/ |
| H A D | spi-virtio.c | 68 * A => struct spi_device -> cs_setup 88 int cs_setup; in virtio_spi_set_delays() 96 cs_setup = spi_delay_to_ns(&spi->cs_setup, xfer); in virtio_spi_set_delays() 97 if (cs_setup < 0) { in virtio_spi_set_delays() 98 dev_warn(&spi->dev, "Cannot convert cs_setup\n"); in virtio_spi_set_delays() 99 return cs_setup; in virtio_spi_set_delays() 101 th->cs_setup_ns = cpu_to_le32(cs_setup); in virtio_spi_set_delays() 92 int cs_setup; virtio_spi_set_delays() local
|
| H A D | spi-amlogic-spisg.c | 553 val = spi_delay_to_sclk(xfer->effective_speed_hz, &msg->spi->cs_setup); in aml_spisg_transfer_one_message()
|
| H A D | spi.c | 1266 spi_delay_exec(&spi->cs_setup, NULL); in spi_set_cs() 1323 spi_delay_exec(&spi->cs_setup, NULL); in spi_map_buf_attrs() 2826 of_spi_parse_dt_cs_delay(nc, &spi->cs_setup, "spi-cs-setup-delay-ns"); in of_register_spi_device()
|
| H A D | spi-tegra114.c | 722 struct spi_delay *setup = &spi->cs_setup; in tegra_spi_set_hw_cs_timing()
|
| /linux/drivers/mtd/nand/raw/ |
| H A D | denali.c | 773 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 D | spi.h | 167 * @cs_setup: delay to be introduced by the controller after CS is asserted 240 struct spi_delay cs_setup; 234 struct spi_delay cs_setup; global() member
|