Searched refs:state_bits (Results 1 - 4 of 4) sorted by relevance
/linux-4.1.27/drivers/staging/comedi/drivers/ |
H A D | comedi_test.c | 70 unsigned long state_bits; member in struct:waveform_private 181 if (!test_bit(WAVEFORM_AI_RUNNING, &devpriv->state_bits)) waveform_ai_interrupt() 327 set_bit(WAVEFORM_AI_RUNNING, &devpriv->state_bits); waveform_ai_cmd() 339 clear_bit(WAVEFORM_AI_RUNNING, &devpriv->state_bits); waveform_ai_cancel()
|
/linux-4.1.27/drivers/media/usb/dvb-usb-v2/ |
H A D | dvb_usb_core.c | 269 wait_on_bit(&adap->state_bits, ADAP_INIT, TASK_UNINTERRUPTIBLE); dvb_usb_start_feed() 279 set_bit(ADAP_STREAMING, &adap->state_bits); dvb_usb_start_feed() 393 clear_bit(ADAP_STREAMING, &adap->state_bits); dvb_usb_stop_feed() 395 wake_up_bit(&adap->state_bits, ADAP_STREAMING); dvb_usb_stop_feed() 579 set_bit(ADAP_INIT, &adap->state_bits); dvb_usb_fe_init() 599 clear_bit(ADAP_INIT, &adap->state_bits); dvb_usb_fe_init() 601 wake_up_bit(&adap->state_bits, ADAP_INIT); dvb_usb_fe_init() 617 set_bit(ADAP_SLEEP, &adap->state_bits); dvb_usb_fe_sleep() 618 wait_on_bit(&adap->state_bits, ADAP_STREAMING, dvb_usb_fe_sleep() 640 clear_bit(ADAP_SLEEP, &adap->state_bits); dvb_usb_fe_sleep() 642 wake_up_bit(&adap->state_bits, ADAP_SLEEP); dvb_usb_fe_sleep()
|
H A D | dvb_usb.h | 339 unsigned long state_bits; member in struct:dvb_usb_adapter
|
/linux-4.1.27/drivers/md/ |
H A D | dm-snap.c | 103 /* Wait for events based on state_bits */ 104 unsigned long state_bits; member in struct:dm_snapshot 133 * state_bits: 833 clear_bit_unlock(RUNNING_MERGE, &s->state_bits); merge_shutdown() 835 wake_up_bit(&s->state_bits, RUNNING_MERGE); merge_shutdown() 962 BUG_ON(!test_bit(RUNNING_MERGE, &s->state_bits)); snapshot_merge_next_chunks() 963 if (unlikely(test_bit(SHUTDOWN_MERGE, &s->state_bits))) snapshot_merge_next_chunks() 1079 if (!test_and_set_bit(RUNNING_MERGE, &s->state_bits)) start_merge() 1088 set_bit(SHUTDOWN_MERGE, &s->state_bits); stop_merge() 1089 wait_on_bit(&s->state_bits, RUNNING_MERGE, TASK_UNINTERRUPTIBLE); stop_merge() 1090 clear_bit(SHUTDOWN_MERGE, &s->state_bits); stop_merge() 1163 s->state_bits = 0; snapshot_ctr() 1907 if (snap_merging && test_bit(RUNNING_MERGE, &snap_merging->state_bits)) { snapshot_resume()
|
Completed in 198 milliseconds