Searched refs:cs_active (Results 1 – 4 of 4) sorted by relevance
42 int cs_active; member106 static void ti_ssp_spi_chip_select(struct ti_ssp_spi *hw, int cs_active) in ti_ssp_spi_chip_select() argument108 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()
291 int cs_active = 0; in orion_spi_work() local317 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()
353 int cs_active = 0; in omap1_spi100k_work() local380 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()
228 static void omap2_mcspi_force_cs(struct spi_device *spi, int cs_active) in omap2_mcspi_force_cs() argument233 MOD_REG_BIT(l, OMAP2_MCSPI_CHCONF_FORCE, cs_active); in omap2_mcspi_force_cs()874 int cs_active = 0; in omap2_mcspi_work() local906 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()