Searched refs:state_bits (Results 1 - 4 of 4) sorted by relevance
/linux-4.4.14/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.4.14/drivers/staging/comedi/drivers/ |
H A D | comedi_test.c | 71 unsigned long state_bits; member in struct:waveform_private 195 if (!test_bit(WAVEFORM_AI_RUNNING, &devpriv->state_bits)) waveform_ai_timer() 392 set_bit(WAVEFORM_AI_RUNNING, &devpriv->state_bits); waveform_ai_cmd() 404 clear_bit(WAVEFORM_AI_RUNNING, &devpriv->state_bits); waveform_ai_cancel() 440 if (!test_bit(WAVEFORM_AO_RUNNING, &devpriv->state_bits)) waveform_ao_timer() 524 set_bit(WAVEFORM_AO_RUNNING, &devpriv->state_bits); waveform_ao_inttrig_start() 612 clear_bit(WAVEFORM_AO_RUNNING, &devpriv->state_bits); waveform_ao_cancel()
|
/linux-4.4.14/drivers/md/ |
H A D | dm-snap.c | 110 /* Wait for events based on state_bits */ 111 unsigned long state_bits; member in struct:dm_snapshot 140 * state_bits: 840 clear_bit_unlock(RUNNING_MERGE, &s->state_bits); merge_shutdown() 842 wake_up_bit(&s->state_bits, RUNNING_MERGE); merge_shutdown() 969 BUG_ON(!test_bit(RUNNING_MERGE, &s->state_bits)); snapshot_merge_next_chunks() 970 if (unlikely(test_bit(SHUTDOWN_MERGE, &s->state_bits))) snapshot_merge_next_chunks() 1086 if (!test_and_set_bit(RUNNING_MERGE, &s->state_bits)) start_merge() 1095 set_bit(SHUTDOWN_MERGE, &s->state_bits); stop_merge() 1096 wait_on_bit(&s->state_bits, RUNNING_MERGE, TASK_UNINTERRUPTIBLE); stop_merge() 1097 clear_bit(SHUTDOWN_MERGE, &s->state_bits); stop_merge() 1180 s->state_bits = 0; snapshot_ctr() 1929 if (snap_merging && test_bit(RUNNING_MERGE, &snap_merging->state_bits)) { snapshot_resume()
|
Completed in 131 milliseconds