Lines Matching refs:state

34 	if (!test_bit(ICNSS_FW_READY, &priv->state) ||  in icnss_regwrite_write()
35 !test_bit(ICNSS_POWER_ON, &priv->state)) in icnss_regwrite_write()
87 if (!test_bit(ICNSS_FW_READY, &priv->state)) in icnss_regwrite_show()
114 if (!test_bit(ICNSS_FW_READY, &priv->state)) in icnss_regread_show()
202 if (!test_bit(ICNSS_FW_READY, &priv->state) || in icnss_regread_write()
203 !test_bit(ICNSS_POWER_ON, &priv->state)) in icnss_regread_write()
305 if (test_bit(ICNSS_FW_READY, &priv->state)) { in icnss_stats_show_capability()
357 unsigned long state; in icnss_stats_show_state() local
360 seq_printf(s, "\nState: 0x%lx(", priv->state); in icnss_stats_show_state()
361 for (i = 0, state = priv->state; state != 0; state >>= 1, i++) { in icnss_stats_show_state()
363 if (!(state & 0x1)) in icnss_stats_show_state()
562 if (!test_bit(ICNSS_FW_READY, &priv->state)) { in icnss_fw_debug_show()
567 if (test_bit(ICNSS_DRIVER_PROBED, &priv->state)) { in icnss_fw_debug_show()
572 if (test_bit(ICNSS_FW_TEST_MODE, &priv->state)) { in icnss_fw_debug_show()
586 if (!test_bit(ICNSS_FW_READY, &priv->state)) { in icnss_test_mode_fw_test_off()
588 priv->state); in icnss_test_mode_fw_test_off()
593 if (test_bit(ICNSS_DRIVER_PROBED, &priv->state)) { in icnss_test_mode_fw_test_off()
595 priv->state); in icnss_test_mode_fw_test_off()
600 if (!test_bit(ICNSS_FW_TEST_MODE, &priv->state)) { in icnss_test_mode_fw_test_off()
602 priv->state); in icnss_test_mode_fw_test_off()
611 clear_bit(ICNSS_FW_TEST_MODE, &priv->state); in icnss_test_mode_fw_test_off()
622 if (!test_bit(ICNSS_FW_READY, &priv->state)) { in icnss_test_mode_fw_test()
624 priv->state); in icnss_test_mode_fw_test()
629 if (test_bit(ICNSS_DRIVER_PROBED, &priv->state)) { in icnss_test_mode_fw_test()
631 priv->state); in icnss_test_mode_fw_test()
636 if (test_bit(ICNSS_FW_TEST_MODE, &priv->state)) { in icnss_test_mode_fw_test()
638 priv->state); in icnss_test_mode_fw_test()
647 set_bit(ICNSS_FW_TEST_MODE, &priv->state); in icnss_test_mode_fw_test()
657 clear_bit(ICNSS_FW_TEST_MODE, &priv->state); in icnss_test_mode_fw_test()