Searched refs:cs_inactive (Results 1 – 5 of 5) sorted by relevance
| /OK3568_Linux_fs/kernel/drivers/spi/ |
| H A D | spi-sifive.c | 95 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()
|
| H A D | spi-xilinx.c | 91 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()
|
| H A D | spi-rockchip.c | 222 bool cs_inactive; /* spi slave tansmition stop when cs inactive */ member 396 if (rs->cs_inactive && readl_relaxed(rs->regs + ROCKCHIP_SPI_ISR) & INT_CS_INACTIVE) { in rockchip_spi_isr() 432 if (rs->cs_inactive) in rockchip_spi_prepare_irq() 450 if (rs->cs_inactive) in rockchip_spi_dma_rxcb() 551 if (rs->cs_inactive) in rockchip_spi_prepare_dma() 1180 rs->cs_inactive = true; in rockchip_spi_probe() 1182 rs->cs_inactive = false; in rockchip_spi_probe() 1185 rs->cs_inactive = false; in rockchip_spi_probe() 1189 rs->cs_inactive = false; in rockchip_spi_probe() 1230 rs->poll, rs->rsd, rs->cs_inactive, rs->ready ? 1 : 0); in rockchip_spi_probe()
|
| H A D | spi.c | 857 spi_delay_exec(&spi->controller->cs_inactive, NULL); in spi_set_cs() 3493 memcpy(&spi->controller->cs_inactive, inactive, len); in spi_set_cs_timing() 3495 memset(&spi->controller->cs_inactive, 0, len); in spi_set_cs_timing()
|
| /OK3568_Linux_fs/kernel/include/linux/spi/ |
| H A D | spi.h | 646 struct spi_delay cs_inactive; member
|