Home
last modified time | relevance | path

Searched refs:cs_active (Results 1 – 4 of 4) sorted by relevance

/drivers/spi/
Dspi-ti-ssp.c42 int cs_active; member
106 static void ti_ssp_spi_chip_select(struct ti_ssp_spi *hw, int cs_active) in ti_ssp_spi_chip_select() argument
108 cs_active = !!cs_active; in ti_ssp_spi_chip_select()
109 if (cs_active == hw->cs_active) in ti_ssp_spi_chip_select()
111 ti_ssp_run(hw->dev, cs_active ? hw->pc_en : hw->pc_dis, 0, NULL); in ti_ssp_spi_chip_select()
112 hw->cs_active = cs_active; in ti_ssp_spi_chip_select()
Dspi-orion.c291 int cs_active = 0; in orion_spi_work() local
317 if (!cs_active) { in orion_spi_work()
319 cs_active = 1; in orion_spi_work()
331 cs_active = 0; in orion_spi_work()
336 if (cs_active) in orion_spi_work()
Dspi-omap-100k.c353 int cs_active = 0; in omap1_spi100k_work() local
380 if (!cs_active) { in omap1_spi100k_work()
382 cs_active = 1; in omap1_spi100k_work()
404 cs_active = 0; in omap1_spi100k_work()
414 if (cs_active) in omap1_spi100k_work()
Dspi-omap2-mcspi.c228 static void omap2_mcspi_force_cs(struct spi_device *spi, int cs_active) in omap2_mcspi_force_cs() argument
233 MOD_REG_BIT(l, OMAP2_MCSPI_CHCONF_FORCE, cs_active); in omap2_mcspi_force_cs()
874 int cs_active = 0; in omap2_mcspi_work() local
906 if (!cs_active) { in omap2_mcspi_work()
908 cs_active = 1; in omap2_mcspi_work()
954 cs_active = 0; in omap2_mcspi_work()
964 if (cs_active) in omap2_mcspi_work()