Searched refs:cs_high (Results 1 - 5 of 5) sorted by relevance

/linux-4.4.14/arch/m68k/coldfire/
H A Ddevice.c267 u8 chip_select, bool cs_high) mcf_cs_select()
271 gpio_set_value(MCFQSPI_CS0, cs_high); mcf_cs_select()
274 gpio_set_value(MCFQSPI_CS1, cs_high); mcf_cs_select()
277 gpio_set_value(MCFQSPI_CS2, cs_high); mcf_cs_select()
281 gpio_set_value(MCFQSPI_CS3, cs_high); mcf_cs_select()
288 u8 chip_select, bool cs_high) mcf_cs_deselect()
292 gpio_set_value(MCFQSPI_CS0, !cs_high); mcf_cs_deselect()
295 gpio_set_value(MCFQSPI_CS1, !cs_high); mcf_cs_deselect()
298 gpio_set_value(MCFQSPI_CS2, !cs_high); mcf_cs_deselect()
302 gpio_set_value(MCFQSPI_CS3, !cs_high); mcf_cs_deselect()
266 mcf_cs_select(struct mcfqspi_cs_control *cs_control, u8 chip_select, bool cs_high) mcf_cs_select() argument
287 mcf_cs_deselect(struct mcfqspi_cs_control *cs_control, u8 chip_select, bool cs_high) mcf_cs_deselect() argument
/linux-4.4.14/drivers/spi/
H A Dspi-coldfire-qspi.c118 bool cs_high) mcfqspi_cs_select()
120 mcfqspi->cs_control->select(mcfqspi->cs_control, chip_select, cs_high); mcfqspi_cs_select()
124 bool cs_high) mcfqspi_cs_deselect()
126 mcfqspi->cs_control->deselect(mcfqspi->cs_control, chip_select, cs_high); mcfqspi_cs_deselect()
299 bool cs_high = spi->mode & SPI_CS_HIGH; mcfqspi_set_cs() local
302 mcfqspi_cs_select(mcfqspi, spi->chip_select, cs_high); mcfqspi_set_cs()
304 mcfqspi_cs_deselect(mcfqspi, spi->chip_select, cs_high); mcfqspi_set_cs()
117 mcfqspi_cs_select(struct mcfqspi *mcfqspi, u8 chip_select, bool cs_high) mcfqspi_cs_select() argument
123 mcfqspi_cs_deselect(struct mcfqspi *mcfqspi, u8 chip_select, bool cs_high) mcfqspi_cs_deselect() argument
H A Dspi-ath79.c69 int cs_high = (spi->mode & SPI_CS_HIGH) ? is_active : !is_active; ath79_spi_chipselect() local
83 gpio_set_value(spi->cs_gpio, cs_high); ath79_spi_chipselect()
85 if (cs_high) ath79_spi_chipselect()
H A Dspi-sh-msiof.c322 u32 tx_hi_z, u32 lsb_first, u32 cs_high) sh_msiof_spi_set_pin_regs()
335 tmp |= !cs_high << MDR1_SYNCAC_SHIFT; sh_msiof_spi_set_pin_regs()
320 sh_msiof_spi_set_pin_regs(struct sh_msiof_spi_priv *p, u32 cpol, u32 cpha, u32 tx_hi_z, u32 lsb_first, u32 cs_high) sh_msiof_spi_set_pin_regs() argument
H A Dspi.c2089 (spi->mode & SPI_CS_HIGH) ? "cs_high, " : "", spi_setup()

Completed in 286 milliseconds