Searched refs:cs_high (Results 1 – 6 of 6) sorted by relevance
/openbmc/linux/arch/m68k/coldfire/ |
H A D | device.c | 279 u8 chip_select, bool cs_high) in mcf_cs_select() argument 283 gpio_set_value(MCFQSPI_CS0, cs_high); in mcf_cs_select() 286 gpio_set_value(MCFQSPI_CS1, cs_high); in mcf_cs_select() 289 gpio_set_value(MCFQSPI_CS2, cs_high); in mcf_cs_select() 293 gpio_set_value(MCFQSPI_CS3, cs_high); in mcf_cs_select() 300 u8 chip_select, bool cs_high) in mcf_cs_deselect() argument 304 gpio_set_value(MCFQSPI_CS0, !cs_high); in mcf_cs_deselect() 307 gpio_set_value(MCFQSPI_CS1, !cs_high); in mcf_cs_deselect() 310 gpio_set_value(MCFQSPI_CS2, !cs_high); in mcf_cs_deselect() 314 gpio_set_value(MCFQSPI_CS3, !cs_high); in mcf_cs_deselect()
|
/openbmc/linux/drivers/spi/ |
H A D | spi-coldfire-qspi.c | 109 bool cs_high) in mcfqspi_cs_select() argument 111 mcfqspi->cs_control->select(mcfqspi->cs_control, chip_select, cs_high); in mcfqspi_cs_select() 115 bool cs_high) in mcfqspi_cs_deselect() argument 117 mcfqspi->cs_control->deselect(mcfqspi->cs_control, chip_select, cs_high); in mcfqspi_cs_deselect() 290 bool cs_high = spi->mode & SPI_CS_HIGH; in mcfqspi_set_cs() local 293 mcfqspi_cs_select(mcfqspi, spi_get_chipselect(spi, 0), cs_high); in mcfqspi_set_cs() 295 mcfqspi_cs_deselect(mcfqspi, spi_get_chipselect(spi, 0), cs_high); in mcfqspi_set_cs()
|
H A D | spi-ath79.c | 73 int cs_high = (spi->mode & SPI_CS_HIGH) ? is_active : !is_active; in ath79_spi_chipselect() local 76 if (cs_high) in ath79_spi_chipselect()
|
H A D | spi-sh-msiof.c | 351 u32 tx_hi_z, u32 lsb_first, u32 cs_high) in sh_msiof_spi_set_pin_regs() argument 364 tmp |= !cs_high << SIMDR1_SYNCAC_SHIFT; in sh_msiof_spi_set_pin_regs() 589 u32 ss, cs_high; in sh_msiof_prepare_message() local 594 cs_high = p->native_cs_high; in sh_msiof_prepare_message() 597 cs_high = !!(spi->mode & SPI_CS_HIGH); in sh_msiof_prepare_message() 602 !!(spi->mode & SPI_LSB_FIRST), cs_high); in sh_msiof_prepare_message()
|
H A D | spi-stm32.c | 210 const struct stm32_spi_reg cs_high; member 335 .cs_high = {}, 354 .cs_high = { STM32H7_SPI_CFG2, STM32H7_SPI_CFG2_SSIOP }, 997 setb |= spi->cfg->regs->cs_high.mask; in stm32_spi_prepare_msg() 999 clrb |= spi->cfg->regs->cs_high.mask; in stm32_spi_prepare_msg()
|
H A D | spi-dw-core.c | 91 bool cs_high = !!(spi->mode & SPI_CS_HIGH); in dw_spi_set_cs() local 100 if (cs_high == enable) in dw_spi_set_cs()
|