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

/linux-master/drivers/media/usb/dvb-usb-v2/
H A Ddvb_usb_core.c254 wait_on_bit(&adap->state_bits, ADAP_INIT, TASK_UNINTERRUPTIBLE);
264 set_bit(ADAP_STREAMING, &adap->state_bits);
378 clear_bit(ADAP_STREAMING, &adap->state_bits);
380 wake_up_bit(&adap->state_bits, ADAP_STREAMING);
563 set_bit(ADAP_INIT, &adap->state_bits);
583 clear_bit(ADAP_INIT, &adap->state_bits);
585 wake_up_bit(&adap->state_bits, ADAP_INIT);
601 set_bit(ADAP_SLEEP, &adap->state_bits);
602 wait_on_bit(&adap->state_bits, ADAP_STREAMING,
623 clear_bit(ADAP_SLEEP, &adap->state_bits);
[all...]
H A Ddvb_usb.h320 * @state_bits: status bits
342 unsigned long state_bits; member in struct:dvb_usb_adapter
/linux-master/drivers/md/
H A Ddm-snap.c115 /* Wait for events based on state_bits */
116 unsigned long state_bits; member in struct:dm_snapshot
148 * state_bits:
923 clear_bit_unlock(RUNNING_MERGE, &s->state_bits);
925 wake_up_bit(&s->state_bits, RUNNING_MERGE);
1050 BUG_ON(!test_bit(RUNNING_MERGE, &s->state_bits));
1051 if (unlikely(test_bit(SHUTDOWN_MERGE, &s->state_bits)))
1171 if (!test_and_set_bit(RUNNING_MERGE, &s->state_bits))
1180 set_bit(SHUTDOWN_MERGE, &s->state_bits);
1181 wait_on_bit(&s->state_bits, RUNNING_MERG
[all...]

Completed in 137 milliseconds