Home
last modified time | relevance | path

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

/drivers/spi/
A Dspi-sifive.c95 u32 cs_inactive; /* level of the CS pins when inactive */ member
138 spi->cs_inactive &= ~BIT(spi_get_chipselect(device, 0)); in sifive_spi_prepare_message()
140 spi->cs_inactive |= BIT(spi_get_chipselect(device, 0)); in sifive_spi_prepare_message()
141 sifive_spi_write(spi, SIFIVE_SPI_REG_CSDEF, spi->cs_inactive); in sifive_spi_prepare_message()
353 spi->cs_inactive = sifive_spi_read(spi, SIFIVE_SPI_REG_CSDEF); in sifive_spi_probe()
356 sifive_spi_write(spi, SIFIVE_SPI_REG_CSDEF, spi->cs_inactive); in sifive_spi_probe()
A Dspi-xilinx.c91 u32 cs_inactive; /* Level of the CS pins when inactive*/ member
194 xspi->write_fn(xspi->cs_inactive, xspi->regs + XSPI_SSR_OFFSET); in xilinx_spi_chipselect()
215 cs = xspi->cs_inactive; in xilinx_spi_chipselect()
231 xspi->cs_inactive &= ~BIT(spi_get_chipselect(spi, 0)); in xilinx_spi_setup_transfer()
233 xspi->cs_inactive |= BIT(spi_get_chipselect(spi, 0)); in xilinx_spi_setup_transfer()
437 xspi->cs_inactive = 0xffffffff; in xilinx_spi_probe()
A Dspi-rockchip.c195 bool cs_inactive; /* spi target transmission stop when cs inactive */ member
360 if (rs->cs_inactive && readl_relaxed(rs->regs + ROCKCHIP_SPI_IMR) & INT_CS_INACTIVE) { in rockchip_spi_isr()
398 if (rs->cs_inactive) in rockchip_spi_prepare_irq()
416 if (rs->cs_inactive) in rockchip_spi_dma_rxcb()
516 if (rs->cs_inactive) in rockchip_spi_prepare_dma()
903 rs->cs_inactive = true; in rockchip_spi_probe()
905 rs->cs_inactive = false; in rockchip_spi_probe()
908 rs->cs_inactive = false; in rockchip_spi_probe()
A Datmel-quadspi.c1180 u32 cs_inactive; in atmel_qspi_set_cs_timing() local
1214 delay = spi_delay_to_ns(&spi->cs_inactive, NULL); in atmel_qspi_set_cs_timing()
1217 cs_inactive = DIV_ROUND_UP((delay * DIV_ROUND_UP(clk_rate, 1000000)), 1000); in atmel_qspi_set_cs_timing()
1228 aq->mr |= QSPI_MR_DLYBCT(cs_hold) | QSPI_MR_DLYCS(cs_inactive); in atmel_qspi_set_cs_timing()
A Dspi-mt65xx.c303 struct spi_delay *cs_inactive = &spi->cs_inactive; in mtk_spi_set_hw_cs_timing() local
318 delay = spi_delay_to_ns(cs_inactive, NULL); in mtk_spi_set_hw_cs_timing()
A Dspi.c1067 spi_delay_exec(&spi->cs_inactive, NULL); in spi_toggle_csgpiod()
1120 spi_delay_exec(&spi->cs_inactive, NULL); in spi_set_cs()
2475 of_spi_parse_dt_cs_delay(nc, &spi->cs_inactive, "spi-cs-inactive-delay-ns"); in of_spi_parse_dt()
A Dspi-tegra114.c724 struct spi_delay *inactive = &spi->cs_inactive; in tegra_spi_set_hw_cs_timing()
/drivers/iio/imu/
A Dadis.c522 if (!spi->cs_inactive.value) { in adis_init()
523 spi->cs_inactive.value = data->cs_change_delay; in adis_init()
524 spi->cs_inactive.unit = SPI_DELAY_UNIT_USECS; in adis_init()

Completed in 34 milliseconds