Home
last modified time | relevance | path

Searched refs:state_bits (Results 1 – 3 of 3) sorted by relevance

/drivers/media/usb/dvb-usb-v2/
Ddvb_usb_core.c254 wait_on_bit(&adap->state_bits, ADAP_INIT, TASK_UNINTERRUPTIBLE); in dvb_usb_start_feed()
264 set_bit(ADAP_STREAMING, &adap->state_bits); in dvb_usb_start_feed()
378 clear_bit(ADAP_STREAMING, &adap->state_bits); in dvb_usb_stop_feed()
380 wake_up_bit(&adap->state_bits, ADAP_STREAMING); in dvb_usb_stop_feed()
563 set_bit(ADAP_INIT, &adap->state_bits); in dvb_usb_fe_init()
583 clear_bit(ADAP_INIT, &adap->state_bits); in dvb_usb_fe_init()
585 wake_up_bit(&adap->state_bits, ADAP_INIT); in dvb_usb_fe_init()
601 set_bit(ADAP_SLEEP, &adap->state_bits); in dvb_usb_fe_sleep()
602 wait_on_bit(&adap->state_bits, ADAP_STREAMING, in dvb_usb_fe_sleep()
623 clear_bit(ADAP_SLEEP, &adap->state_bits); in dvb_usb_fe_sleep()
[all …]
Ddvb_usb.h332 unsigned long state_bits; member
/drivers/md/
Ddm-snap.c115 unsigned long state_bits; member
921 clear_bit_unlock(RUNNING_MERGE, &s->state_bits); in merge_shutdown()
923 wake_up_bit(&s->state_bits, RUNNING_MERGE); in merge_shutdown()
1050 BUG_ON(!test_bit(RUNNING_MERGE, &s->state_bits)); in snapshot_merge_next_chunks()
1051 if (unlikely(test_bit(SHUTDOWN_MERGE, &s->state_bits))) in snapshot_merge_next_chunks()
1183 if (!test_and_set_bit(RUNNING_MERGE, &s->state_bits)) in start_merge()
1192 set_bit(SHUTDOWN_MERGE, &s->state_bits); in stop_merge()
1193 wait_on_bit(&s->state_bits, RUNNING_MERGE, TASK_UNINTERRUPTIBLE); in stop_merge()
1194 clear_bit(SHUTDOWN_MERGE, &s->state_bits); in stop_merge()
1337 s->state_bits = 0; in snapshot_ctr()
[all …]