Searched refs:powered_on (Results 1 – 3 of 3) sorted by relevance
70 u32 powered_on:1; member293 if (ddata->powered_on) in tpo_td043_power_on()315 ddata->powered_on = 1; in tpo_td043_power_on()321 if (!ddata->powered_on) in tpo_td043_power_off()337 ddata->powered_on = 0; in tpo_td043_power_off()603 ddata->power_on_resume = ddata->powered_on; in tpo_td043_spi_suspend()
68 u32 powered_on:1; member293 if (ddata->powered_on) in tpo_td043_power_on()315 ddata->powered_on = 1; in tpo_td043_power_on()321 if (!ddata->powered_on) in tpo_td043_power_off()337 ddata->powered_on = 0; in tpo_td043_power_off()594 ddata->power_on_resume = ddata->powered_on; in tpo_td043_spi_suspend()
447 bool powered_on; in mma9553_read_status_word() local456 powered_on = mma9553_is_any_event_enabled(data, false, 0) || in mma9553_read_status_word()458 if (!powered_on) { in mma9553_read_status_word()