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.c269 wait_on_bit(&adap->state_bits, ADAP_INIT, TASK_UNINTERRUPTIBLE); in dvb_usb_start_feed()
279 set_bit(ADAP_STREAMING, &adap->state_bits); in dvb_usb_start_feed()
393 clear_bit(ADAP_STREAMING, &adap->state_bits); in dvb_usb_stop_feed()
395 wake_up_bit(&adap->state_bits, ADAP_STREAMING); in dvb_usb_stop_feed()
579 set_bit(ADAP_INIT, &adap->state_bits); in dvb_usb_fe_init()
599 clear_bit(ADAP_INIT, &adap->state_bits); in dvb_usb_fe_init()
601 wake_up_bit(&adap->state_bits, ADAP_INIT); in dvb_usb_fe_init()
617 set_bit(ADAP_SLEEP, &adap->state_bits); in dvb_usb_fe_sleep()
618 wait_on_bit(&adap->state_bits, ADAP_STREAMING, in dvb_usb_fe_sleep()
640 clear_bit(ADAP_SLEEP, &adap->state_bits); in dvb_usb_fe_sleep()
[all …]
Ddvb_usb.h339 unsigned long state_bits; member
/drivers/md/
Ddm-snap.c114 unsigned long state_bits; member
855 clear_bit_unlock(RUNNING_MERGE, &s->state_bits); in merge_shutdown()
857 wake_up_bit(&s->state_bits, RUNNING_MERGE); in merge_shutdown()
984 BUG_ON(!test_bit(RUNNING_MERGE, &s->state_bits)); in snapshot_merge_next_chunks()
985 if (unlikely(test_bit(SHUTDOWN_MERGE, &s->state_bits))) in snapshot_merge_next_chunks()
1101 if (!test_and_set_bit(RUNNING_MERGE, &s->state_bits)) in start_merge()
1110 set_bit(SHUTDOWN_MERGE, &s->state_bits); in stop_merge()
1111 wait_on_bit(&s->state_bits, RUNNING_MERGE, TASK_UNINTERRUPTIBLE); in stop_merge()
1112 clear_bit(SHUTDOWN_MERGE, &s->state_bits); in stop_merge()
1195 s->state_bits = 0; in snapshot_ctr()
[all …]