Searched refs:mode_bits (Results 1 – 25 of 104) sorted by relevance
12345
22 u16 mode_bits; member
844 unsigned int mode_bits = 0; in ni_tio_set_gate_mode() local851 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() local888 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()
150 ctlr->mode_bits = spi->controller->mode_bits; in spi_mux_probe()
199 unsigned int mode_bits) in a3700_spi_mode_set() argument205 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()838 master->mode_bits = SPI_MODE_3; in a3700_spi_probe()845 master->mode_bits |= (SPI_RX_DUAL | SPI_TX_DUAL | in a3700_spi_probe()
262 master->mode_bits = pdata->mode_bits; in altera_spi_probe()266 master->mode_bits = SPI_CS_HIGH; in altera_spi_probe()
47 master->mode_bits = SPI_CPHA | in octeon_spi_probe()
360 if (!master->mode_bits) in spi_bitbang_init()361 master->mode_bits = SPI_CPOL | SPI_CPHA | bitbang->flags; in spi_bitbang_init()
69 master->mode_bits = SPI_CPHA | SPI_CPOL | SPI_CS_HIGH | in thunderx_spi_probe()
90 master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_CS_HIGH in mpc8xxx_spi_probe()
106 master->mode_bits = SPI_CPHA | SPI_CS_HIGH; in spi_clps711x_probe()
157 master->mode_bits = SPI_TX_DUAL; in rb4xx_spi_probe()
156 master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_CS_HIGH; in jcore_spi_probe()
195 master->mode_bits = SPI_CS_HIGH | SPI_3WIRE | SPI_LSB_FIRST; in spi_lp8841_rtc_probe()
381 ctlr->mode_bits = SPI_CPOL | SPI_CPHA; in mtk_spi_slave_probe()382 ctlr->mode_bits |= SPI_LSB_FIRST; in mtk_spi_slave_probe()
220 master->mode_bits = SPI_CPHA | SPI_CPOL | SPI_3WIRE; in spi_xcomm_probe()
156 ctlr->mode_bits = SPI_CPOL | SPI_CPHA | SPI_TX_QUAD | SPI_RX_QUAD; in rpcif_spi_probe()
191 ctlr->mode_bits = SPI_LSB_FIRST; in ar934x_spi_probe()
255 ctlr->mode_bits = SPI_CPOL | SPI_CPHA; in hspi_probe()
277 master->mode_bits = 0; in amd_spi_probe()
403 master->mode_bits = SPI_MODE_3; in falcon_sflash_probe()
588 master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_TX_DUAL | SPI_RX_DUAL; in img_spfi_probe()590 master->mode_bits |= SPI_TX_QUAD | SPI_RX_QUAD; in img_spfi_probe()
224 master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_CS_HIGH; in tiny_spi_probe()
292 master->mode_bits = SPI_CPHA | SPI_CPOL | SPI_LSB_FIRST; in sc18is602_probe()
380 master->mode_bits = SPI_3WIRE | SPI_3WIRE_HIZ | SPI_CPHA | SPI_CPOL | in spi_gpio_probe()
186 master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_LSB_FIRST; in netup_spi_init()