Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/spi/
Dspi-sifive.c95 u32 cs_inactive; /* level of the CS pins when inactive */ member
138 spi->cs_inactive &= ~BIT(device->chip_select); in sifive_spi_prepare_message()
140 spi->cs_inactive |= BIT(device->chip_select); 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()
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->chip_select); in xilinx_spi_setup_transfer()
233 xspi->cs_inactive |= BIT(spi->chip_select); in xilinx_spi_setup_transfer()
433 xspi->cs_inactive = 0xffffffff; in xilinx_spi_probe()
Dspi-rockchip.c198 bool cs_inactive; /* spi slave tansmition stop when cs inactive */ member
353 if (rs->cs_inactive && readl_relaxed(rs->regs + ROCKCHIP_SPI_IMR) & INT_CS_INACTIVE) { in rockchip_spi_isr()
391 if (rs->cs_inactive) in rockchip_spi_prepare_irq()
409 if (rs->cs_inactive) in rockchip_spi_dma_rxcb()
509 if (rs->cs_inactive) in rockchip_spi_prepare_dma()
915 rs->cs_inactive = true; in rockchip_spi_probe()
917 rs->cs_inactive = false; in rockchip_spi_probe()
920 rs->cs_inactive = false; in rockchip_spi_probe()
Dspi-mt65xx.c288 struct spi_delay *cs_inactive = &spi->cs_inactive; in mtk_spi_set_hw_cs_timing() local
303 delay = spi_delay_to_ns(cs_inactive, NULL); in mtk_spi_set_hw_cs_timing()
Dspi-tegra114.c725 struct spi_delay *inactive = &spi->cs_inactive; in tegra_spi_set_hw_cs_timing()
Dspi.c1008 spi_delay_exec(&spi->cs_inactive, NULL); in spi_set_cs()
/linux-6.1.9/include/linux/spi/
Dspi.h207 struct spi_delay cs_inactive; member