/linux-6.12.1/drivers/spi/ |
D | spi-altera-dfl.c | 113 host->mode_bits = SPI_CS_HIGH; in config_spi_host() 115 host->mode_bits |= SPI_CPOL; in config_spi_host() 117 host->mode_bits |= SPI_CPHA; in config_spi_host() 151 host->mode_bits); in dfl_spi_altera_probe()
|
D | spi-altera-platform.c | 63 host->mode_bits = pdata->mode_bits; in altera_spi_probe() 67 host->mode_bits = SPI_CS_HIGH; in altera_spi_probe()
|
D | spi-gxp.c | 38 u32 mode_bits; member 282 ctlr->mode_bits = data->mode_bits; in gxp_spifi_probe() 300 .mode_bits = 0,
|
D | spi-armada-3700.c | 198 unsigned int mode_bits) in a3700_spi_mode_set() argument 204 if (mode_bits & SPI_CPOL) in a3700_spi_mode_set() 209 if (mode_bits & SPI_CPHA) in a3700_spi_mode_set() 304 a3700_spi_mode_set(a3700_spi, host->mode_bits); in a3700_spi_init() 837 host->mode_bits = SPI_MODE_3; in a3700_spi_probe() 844 host->mode_bits |= (SPI_RX_DUAL | SPI_TX_DUAL | in a3700_spi_probe()
|
D | spi-mux.c | 159 ctlr->mode_bits = spi->controller->mode_bits; in spi_mux_probe()
|
D | spi-sun6i.c | 96 u32 mode_bits; member 673 host->mode_bits = SPI_CPOL | SPI_CPHA | SPI_CS_HIGH | SPI_LSB_FIRST | in sun6i_spi_probe() 674 sspi->cfg->mode_bits; in sun6i_spi_probe() 792 .mode_bits = SPI_RX_DUAL | SPI_TX_DUAL | SPI_RX_QUAD | SPI_TX_QUAD,
|
D | spi-cavium-octeon.c | 47 host->mode_bits = SPI_CPHA | in octeon_spi_probe()
|
D | spi-cadence.c | 654 ctlr->mode_bits = SPI_CPOL | SPI_CPHA; in cdns_spi_probe() 658 ctlr->mode_bits |= SPI_CS_HIGH; in cdns_spi_probe() 668 ctlr->mode_bits |= SPI_NO_CS; in cdns_spi_probe()
|
D | spi-bitbang.c | 369 if (!ctlr->mode_bits) in spi_bitbang_init() 370 ctlr->mode_bits = SPI_CPOL | SPI_CPHA | bitbang->flags; in spi_bitbang_init()
|
D | spi-cavium-thunderx.c | 65 host->mode_bits = SPI_CPHA | SPI_CPOL | SPI_CS_HIGH | in thunderx_spi_probe()
|
D | spi-aspeed-smc.c | 76 u32 mode_bits; member 765 ctlr->mode_bits = SPI_RX_DUAL | SPI_TX_DUAL | data->mode_bits; in aspeed_spi_probe() 1152 .mode_bits = SPI_RX_QUAD | SPI_TX_QUAD, 1167 .mode_bits = SPI_RX_QUAD | SPI_TX_QUAD,
|
D | spi-fsl-lib.c | 91 ctlr->mode_bits = SPI_CPOL | SPI_CPHA | SPI_CS_HIGH in mpc8xxx_spi_probe()
|
D | spi-axi-spi-engine.c | 691 host->mode_bits = SPI_CPOL | SPI_CPHA | SPI_3WIRE; in spi_engine_probe() 702 host->mode_bits |= SPI_CS_HIGH; in spi_engine_probe() 706 host->mode_bits |= SPI_MOSI_IDLE_LOW | SPI_MOSI_IDLE_HIGH; in spi_engine_probe()
|
D | spi-clps711x.c | 108 host->mode_bits = SPI_CPHA | SPI_CS_HIGH; in spi_clps711x_probe()
|
D | spi-rb4xx.c | 157 host->mode_bits = SPI_TX_DUAL; in rb4xx_spi_probe()
|
D | spi-lp8841-rtc.c | 194 host->mode_bits = SPI_CS_HIGH | SPI_3WIRE | SPI_LSB_FIRST; in spi_lp8841_rtc_probe()
|
D | spi-jcore.c | 157 host->mode_bits = SPI_CPOL | SPI_CPHA | SPI_CS_HIGH; in jcore_spi_probe()
|
D | spi-slave-mt27xx.c | 399 ctlr->mode_bits = SPI_CPOL | SPI_CPHA; in mtk_spi_slave_probe() 400 ctlr->mode_bits |= SPI_LSB_FIRST; in mtk_spi_slave_probe()
|
D | spi-rockchip.c | 835 ctlr->mode_bits = SPI_CPOL | SPI_CPHA | SPI_LOOP | SPI_LSB_FIRST; in rockchip_spi_probe() 837 ctlr->mode_bits |= SPI_NO_CS; in rockchip_spi_probe() 892 ctlr->mode_bits |= SPI_CS_HIGH; in rockchip_spi_probe()
|
D | spi-rpc-if.c | 156 ctlr->mode_bits = SPI_CPOL | SPI_CPHA | SPI_TX_QUAD | SPI_RX_QUAD; in rpcif_spi_probe()
|
D | spi-ar934x.c | 193 ctlr->mode_bits = SPI_LSB_FIRST; in ar934x_spi_probe()
|
D | spi-ch341.c | 189 ctrl->mode_bits = SPI_CPHA; in ch341_probe()
|
/linux-6.12.1/drivers/comedi/drivers/ |
D | ni_tio.c | 844 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-6.12.1/drivers/fpga/ |
D | dfl-n3000-nios.c | 424 pdata.mode_bits = SPI_CS_HIGH; in create_altera_spi_controller() 426 pdata.mode_bits |= SPI_CPOL; in create_altera_spi_controller() 428 pdata.mode_bits |= SPI_CPHA; in create_altera_spi_controller() 439 pdata.mode_bits); in create_altera_spi_controller()
|
/linux-6.12.1/include/linux/spi/ |
D | altera.h | 25 u16 mode_bits; member
|