Searched refs:SPI_CS_HIGH (Results 1 – 25 of 77) sorted by relevance
1234
/Linux-v6.1/drivers/spi/ |
D | spi-lp8841-rtc.c | 155 if ((spi->mode & SPI_CS_HIGH) == 0) { in spi_lp8841_rtc_setup() 195 master->mode_bits = SPI_CS_HIGH | SPI_3WIRE | SPI_LSB_FIRST; in spi_lp8841_rtc_probe()
|
D | spi-gpio.c | 236 gpiod_set_value_cansleep(cs, (spi->mode & SPI_CS_HIGH) ? is_active : !is_active); in spi_gpio_chipselect() 254 !(spi->mode & SPI_CS_HIGH)); in spi_gpio_setup() 405 SPI_CS_HIGH | SPI_LSB_FIRST; in spi_gpio_probe()
|
D | spi-sifive.c | 137 if (device->mode & SPI_CS_HIGH) in sifive_spi_prepare_message() 158 if (device->mode & SPI_CS_HIGH) in sifive_spi_set_cs() 375 | SPI_CS_HIGH | SPI_LSB_FIRST in sifive_spi_probe()
|
D | spi-ath79.c | 73 int cs_high = (spi->mode & SPI_CS_HIGH) ? is_active : !is_active; in ath79_spi_chipselect() 195 sp->bitbang.flags = SPI_CS_HIGH; in ath79_spi_probe()
|
D | spi-mpc52xx-psc.c | 106 mps->cs_control(spi, (spi->mode & SPI_CS_HIGH) ? 1 : 0); in mpc52xx_psc_spi_activate_cs() 114 mps->cs_control(spi, (spi->mode & SPI_CS_HIGH) ? 0 : 1); in mpc52xx_psc_spi_deactivate_cs() 333 master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_CS_HIGH | SPI_LSB_FIRST; in mpc52xx_psc_spi_do_probe()
|
D | spi-bcm63xx-hsspi.c | 245 if (spi->mode & SPI_CS_HIGH) in bcm63xx_hsspi_setup() 252 if (spi->mode & SPI_CS_HIGH) in bcm63xx_hsspi_setup() 418 master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_CS_HIGH | in bcm63xx_hsspi_probe()
|
D | spi-cavium-octeon.c | 49 SPI_CS_HIGH | in octeon_spi_probe()
|
D | spi-coldfire-qspi.c | 290 bool cs_high = spi->mode & SPI_CS_HIGH; in mcfqspi_set_cs() 327 spi->chip_select, spi->mode & SPI_CS_HIGH); in mcfqspi_setup() 404 master->mode_bits = SPI_CS_HIGH | SPI_CPOL | SPI_CPHA; in mcfqspi_probe()
|
D | spi-mpc512x-psc.c | 133 mps->cs_control(spi, (spi->mode & SPI_CS_HIGH) ? 1 : 0); in mpc512x_psc_spi_activate_cs() 147 mps->cs_control(spi, (spi->mode & SPI_CS_HIGH) ? 0 : 1); in mpc512x_psc_spi_deactivate_cs() 499 master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_CS_HIGH | SPI_LSB_FIRST; in mpc512x_psc_spi_do_probe()
|
D | spi-rockchip.c | 246 bool cs_asserted = spi->mode & SPI_CS_HIGH ? enable : !enable; in rockchip_spi_set_cs() 543 if (spi->mode & SPI_CS_HIGH) in rockchip_spi_config() 727 if (!spi->cs_gpiod && (spi->mode & SPI_CS_HIGH) && !rs->cs_high_supported) { in rockchip_spi_setup() 738 if (spi->mode & SPI_CS_HIGH && spi->chip_select <= 1) in rockchip_spi_setup() 913 ctlr->mode_bits |= SPI_CS_HIGH; in rockchip_spi_probe()
|
D | spi-cavium-thunderx.c | 69 master->mode_bits = SPI_CPHA | SPI_CPOL | SPI_CS_HIGH | in thunderx_spi_probe()
|
D | spi-omap-uwire.c | 324 if (spi->mode & SPI_CS_HIGH) in uwire_setup_transfer() 492 master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_CS_HIGH; in uwire_probe()
|
D | spi-xlp.c | 163 if (!(spi->mode & SPI_CS_HIGH)) in xlp_spi_setup() 409 master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_CS_HIGH; in xlp_spi_probe()
|
D | spi-altera-platform.c | 67 master->mode_bits = SPI_CS_HIGH; in altera_spi_probe()
|
D | spi-fsl-lib.c | 90 master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_CS_HIGH in mpc8xxx_spi_probe()
|
D | spi-sun4i.c | 191 if (spi->mode & SPI_CS_HIGH) in sun4i_spi_set_cs() 467 master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_CS_HIGH | SPI_LSB_FIRST; in sun4i_spi_probe()
|
D | spi-xilinx.c | 230 if (spi->mode & SPI_CS_HIGH) in xilinx_spi_setup_transfer() 430 SPI_CS_HIGH; in xilinx_spi_probe()
|
D | spi-clps711x.c | 108 master->mode_bits = SPI_CPHA | SPI_CS_HIGH; in spi_clps711x_probe()
|
D | spi-altera-dfl.c | 113 master->mode_bits = SPI_CS_HIGH; in config_spi_master()
|
D | spi-cavium.c | 53 mpi_cfg.s.cshi = (mode & SPI_CS_HIGH) ? 1 : 0; in octeon_spi_do_transfer()
|
D | spi-omap2-mcspi.c | 245 if (spi->mode & SPI_CS_HIGH) in omap2_mcspi_set_cs() 947 if (!(spi->mode & SPI_CS_HIGH)) in omap2_mcspi_setup_transfer() 1162 omap2_mcspi_set_cs(spi, spi->mode & SPI_CS_HIGH); in omap2_mcspi_transfer_one() 1251 omap2_mcspi_set_cs(spi, !(spi->mode & SPI_CS_HIGH)); in omap2_mcspi_transfer_one() 1440 master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_CS_HIGH; in omap2_mcspi_probe()
|
/Linux-v6.1/include/uapi/linux/spi/ |
D | spi.h | 16 #define SPI_CS_HIGH _BITUL(2) /* chipselect active high? */ macro
|
/Linux-v6.1/include/trace/events/ |
D | spi.h | 70 (__entry->mode & SPI_CS_HIGH) ? "cs_high, " : "", 99 (__entry->mode & SPI_CS_HIGH) ? ", cs_high" : "")
|
/Linux-v6.1/drivers/mfd/ |
D | mc13xxx-spi.c | 137 spi->mode = SPI_MODE_0 | SPI_CS_HIGH; in mc13xxx_spi_probe()
|
/Linux-v6.1/drivers/net/wireless/ti/wlcore/ |
D | spi.c | 173 spi->mode ^= SPI_CS_HIGH; in wl12xx_spi_init() 190 spi->mode ^= SPI_CS_HIGH; in wl12xx_spi_init()
|
1234