Home
last modified time | relevance | path

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

/openbmc/linux/drivers/media/usb/dvb-usb-v2/
H A 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 …]
H A Ddvb_usb.h342 unsigned long state_bits; member
/openbmc/linux/drivers/md/
H A Ddm-snap.c116 unsigned long state_bits; member
923 clear_bit_unlock(RUNNING_MERGE, &s->state_bits); in merge_shutdown()
925 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()
1171 if (!test_and_set_bit(RUNNING_MERGE, &s->state_bits)) in start_merge()
1180 set_bit(SHUTDOWN_MERGE, &s->state_bits); in stop_merge()
1181 wait_on_bit(&s->state_bits, RUNNING_MERGE, TASK_UNINTERRUPTIBLE); in stop_merge()
1182 clear_bit(SHUTDOWN_MERGE, &s->state_bits); in stop_merge()
1321 s->state_bits = 0; in snapshot_ctr()
[all …]