Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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.c857 spi_delay_exec(&spi->controller->cs_inactive, NULL); in spi_set_cs()
3488 memcpy(&spi->controller->cs_inactive, inactive, len); in spi_set_cs_timing()
3490 memset(&spi->controller->cs_inactive, 0, len); in spi_set_cs_timing()
/kernel/linux/linux-5.10/include/linux/spi/
Dspi.h643 struct spi_delay cs_inactive; member
/kernel/linux/patches/linux-5.10/yangfan_patch/
Ddrivers.patch59806 + bool cs_inactive; /* spi slave tansmition stop when cs inactive */
59868 + if (rs->cs_inactive && readl_relaxed(rs->regs + ROCKCHIP_SPI_IMR) & INT_CS_INACTIVE) {
59901 + if (rs->cs_inactive)
59912 + if (rs->cs_inactive)
59955 + if (rs->cs_inactive)
60119 + rs->cs_inactive = true;
60121 + rs->cs_inactive = false;
60124 + rs->cs_inactive = false;