Home
last modified time | relevance | path

Searched refs:mode_bits (Results 1 – 25 of 94) sorted by relevance

1234

/Linux-v5.4/drivers/staging/comedi/drivers/
Dni_tio.c844 unsigned int mode_bits = 0; in ni_tio_set_gate_mode() local
851 mode_bits = GI_GATING_DISABLED; in ni_tio_set_gate_mode()
854 mode_bits |= GI_GATE_POL_INVERT; in ni_tio_set_gate_mode()
856 mode_bits |= GI_RISING_EDGE_GATING; in ni_tio_set_gate_mode()
858 mode_bits |= GI_LEVEL_GATING; in ni_tio_set_gate_mode()
862 mode_bits); in ni_tio_set_gate_mode()
881 unsigned int mode_bits = GI_GATE2_MODE; in ni_tio_set_gate2_mode() local
888 mode_bits = GI_GATING_DISABLED; in ni_tio_set_gate2_mode()
890 mode_bits |= GI_GATE2_POL_INVERT; in ni_tio_set_gate2_mode()
893 GI_GATE2_POL_INVERT | GI_GATE2_MODE, mode_bits); in ni_tio_set_gate2_mode()
/Linux-v5.4/drivers/spi/
Dspi-armada-3700.c199 unsigned int mode_bits) in a3700_spi_mode_set() argument
205 if (mode_bits & SPI_CPOL) in a3700_spi_mode_set()
210 if (mode_bits & SPI_CPHA) in a3700_spi_mode_set()
305 a3700_spi_mode_set(a3700_spi, master->mode_bits); in a3700_spi_init()
840 master->mode_bits = SPI_MODE_3; in a3700_spi_probe()
847 master->mode_bits |= (SPI_RX_DUAL | SPI_TX_DUAL | in a3700_spi_probe()
Dspi-cavium-octeon.c47 master->mode_bits = SPI_CPHA | in octeon_spi_probe()
Dspi-bitbang.c338 if (!master->mode_bits) in spi_bitbang_init()
339 master->mode_bits = SPI_CPOL | SPI_CPHA | bitbang->flags; in spi_bitbang_init()
Dspi-rspi.c242 u16 mode_bits; member
1123 .mode_bits = SPI_CPHA | SPI_CPOL | SPI_LOOP,
1131 .mode_bits = SPI_CPHA | SPI_CPOL | SPI_LOOP,
1139 .mode_bits = SPI_CPHA | SPI_CPOL | SPI_LOOP |
1256 ctlr->mode_bits = ops->mode_bits; in rspi_probe()
Dspi-cavium-thunderx.c68 master->mode_bits = SPI_CPHA | SPI_CPOL | SPI_CS_HIGH | in thunderx_spi_probe()
Dspi-fsl-lib.c90 master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_CS_HIGH in mpc8xxx_spi_probe()
Dspi-clps711x.c106 master->mode_bits = SPI_CPHA | SPI_CS_HIGH; in spi_clps711x_probe()
Dspi-rb4xx.c155 master->mode_bits = SPI_TX_DUAL; in rb4xx_spi_probe()
Dspi-lp8841-rtc.c195 master->mode_bits = SPI_CS_HIGH | SPI_3WIRE | SPI_LSB_FIRST; in spi_lp8841_rtc_probe()
Dspi-jcore.c156 master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_CS_HIGH; in jcore_spi_probe()
Dspi-slave-mt27xx.c382 ctlr->mode_bits = SPI_CPOL | SPI_CPHA; in mtk_spi_slave_probe()
383 ctlr->mode_bits |= SPI_LSB_FIRST; in mtk_spi_slave_probe()
Dspi-altera.c182 master->mode_bits = SPI_CS_HIGH; in altera_spi_probe()
Dspi-xcomm.c221 master->mode_bits = SPI_CPHA | SPI_CPOL | SPI_3WIRE; in spi_xcomm_probe()
Dspi-sh-hspi.c256 ctlr->mode_bits = SPI_CPOL | SPI_CPHA; in hspi_probe()
Dspi-falcon.c403 master->mode_bits = SPI_MODE_3; in falcon_sflash_probe()
Dspi-mt7621.c359 master->mode_bits = SPI_LSB_FIRST; in mt7621_spi_probe()
Dspi-sc18is602.c294 master->mode_bits = SPI_CPHA | SPI_CPOL | SPI_LSB_FIRST; in sc18is602_probe()
Dspi-img-spfi.c641 master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_TX_DUAL | SPI_RX_DUAL; in img_spfi_probe()
643 master->mode_bits |= SPI_TX_QUAD | SPI_RX_QUAD; in img_spfi_probe()
Dspi-sifive.c374 master->mode_bits = SPI_CPHA | SPI_CPOL in sifive_spi_probe()
Dspi-gpio.c392 master->mode_bits = SPI_3WIRE | SPI_3WIRE_HIZ | SPI_CPHA | SPI_CPOL | in spi_gpio_probe()
Dspi-oc-tiny.c253 master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_CS_HIGH; in tiny_spi_probe()
Dspi-omap-uwire.c488 master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_CS_HIGH; in uwire_probe()
/Linux-v5.4/drivers/media/pci/netup_unidvb/
Dnetup_unidvb_spi.c186 master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_LSB_FIRST; in netup_spi_init()
/Linux-v5.4/drivers/staging/kpc2000/
Dkpc2000_spi.c445 master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_CS_HIGH; in kp_spi_probe()

1234