Lines Matching refs:hw_state
80 unsigned long hw_state; /* Status of the hardware and LED control */ member
164 if (test_bit(CARD_ACTIVITY, &(info->hw_state))) { in bluecard_activity_led_timeout()
166 clear_bit(CARD_ACTIVITY, &(info->hw_state)); in bluecard_activity_led_timeout()
183 set_bit(CARD_ACTIVITY, &(info->hw_state)); in bluecard_enable_activity_led()
185 if (test_bit(CARD_HAS_ACTIVITY_LED, &(info->hw_state))) { in bluecard_enable_activity_led()
505 if (!test_bit(CARD_READY, &(info->hw_state))) in bluecard_interrupt()
625 if (test_bit(CARD_HAS_PCCARD_ID, &(info->hw_state))) in bluecard_hci_open()
719 set_bit(CARD_HAS_PCCARD_ID, &(info->hw_state)); in bluecard_open()
722 set_bit(CARD_HAS_POWER_LED, &(info->hw_state)); in bluecard_open()
725 set_bit(CARD_HAS_ACTIVITY_LED, &(info->hw_state)); in bluecard_open()
772 set_bit(CARD_READY, &(info->hw_state)); in bluecard_open()
805 clear_bit(CARD_READY, &(info->hw_state)); in bluecard_close()