Home
last modified time | relevance | path

Searched refs:s_flags (Results 1 – 25 of 27) sorted by relevance

12

/drivers/media/video/cx18/
Dcx18-fileops.c56 if (test_and_set_bit(CX18_F_S_CLAIMED, &s->s_flags)) { in cx18_claim_stream()
93 set_bit(CX18_F_S_CLAIMED, &s_assoc->s_flags); in cx18_claim_stream()
96 set_bit(CX18_F_S_INTERNAL_USE, &s_assoc->s_flags); in cx18_claim_stream()
118 test_bit(CX18_F_S_INTERNAL_USE, &s->s_flags)) { in cx18_release_stream()
122 if (!test_and_clear_bit(CX18_F_S_CLAIMED, &s->s_flags)) { in cx18_release_stream()
140 if (test_and_clear_bit(CX18_F_S_INTERNAL_USE, &s_assoc->s_flags)) { in cx18_release_stream()
141 clear_bit(CX18_F_S_CLAIMED, &s_assoc->s_flags); in cx18_release_stream()
147 if (test_and_clear_bit(CX18_F_S_INTERNAL_USE, &s_assoc->s_flags)) { in cx18_release_stream()
153 clear_bit(CX18_F_S_CLAIMED, &s_assoc->s_flags); in cx18_release_stream()
199 if (test_bit(CX18_F_S_INTERNAL_USE, &s_vbi->s_flags) && in cx18_get_mdl()
[all …]
Dcx18-streams.c702 test_bit(CX18_F_S_STOPPING, &s->s_flags) || in _cx18_stream_put_mdl_fw()
703 !test_bit(CX18_F_S_STREAMING, &s->s_flags)) in _cx18_stream_put_mdl_fw()
843 clear_bit(CX18_F_S_STREAMOFF, &s->s_flags); in cx18_start_v4l2_encode_stream()
940 set_bit(CX18_F_S_STOPPING, &s->s_flags); in cx18_start_v4l2_encode_stream()
945 clear_bit(CX18_F_S_STREAMING, &s->s_flags); in cx18_start_v4l2_encode_stream()
950 clear_bit(CX18_F_S_STOPPING, &s->s_flags); in cx18_start_v4l2_encode_stream()
975 if (test_bit(CX18_F_S_STREAMING, &s->s_flags)) in cx18_stop_all_captures()
996 set_bit(CX18_F_S_STOPPING, &s->s_flags); in cx18_stop_v4l2_encode_stream()
1013 clear_bit(CX18_F_S_STREAMING, &s->s_flags); in cx18_stop_v4l2_encode_stream()
1020 clear_bit(CX18_F_S_STOPPING, &s->s_flags); in cx18_stop_v4l2_encode_stream()
Dcx18-alsa-pcm.c173 if (test_bit(CX18_F_S_STREAMOFF, &s->s_flags) || in snd_cx18_pcm_capture_open()
174 test_and_set_bit(CX18_F_S_STREAMING, &s->s_flags)) { in snd_cx18_pcm_capture_open()
189 set_bit(CX18_F_S_STREAMING, &s->s_flags); in snd_cx18_pcm_capture_open()
208 clear_bit(CX18_F_S_STREAMING, &s->s_flags); in snd_cx18_pcm_capture_close()
Dcx18-dvb.c302 set_bit(CX18_F_S_STREAMING, &stream->s_flags); in cx18_dvb_start_feed()
308 clear_bit(CX18_F_S_STREAMING, &stream->s_flags); in cx18_dvb_start_feed()
Dcx18-driver.h385 unsigned long s_flags; /* status flags, see above */ member
/drivers/media/video/ivtv/
Divtv-fileops.c51 if (test_and_set_bit(IVTV_F_S_CLAIMED, &s->s_flags)) { in ivtv_claim_stream()
90 if (!test_and_set_bit(IVTV_F_S_CLAIMED, &s_vbi->s_flags)) { in ivtv_claim_stream()
96 set_bit(IVTV_F_S_INTERNAL_USE, &s_vbi->s_flags); in ivtv_claim_stream()
109 test_bit(IVTV_F_S_INTERNAL_USE, &s->s_flags)) { in ivtv_release_stream()
113 if (!test_and_clear_bit(IVTV_F_S_CLAIMED, &s->s_flags)) { in ivtv_release_stream()
135 if (!test_and_clear_bit(IVTV_F_S_INTERNAL_USE, &s_vbi->s_flags)) { in ivtv_release_stream()
146 clear_bit(IVTV_F_S_CLAIMED, &s_vbi->s_flags); in ivtv_release_stream()
223 if (test_bit(IVTV_F_S_INTERNAL_USE, &s_vbi->s_flags) && in ivtv_get_buffer()
224 !test_bit(IVTV_F_S_APPL_IO, &s_vbi->s_flags)) { in ivtv_get_buffer()
259 if (s->type != IVTV_DEC_STREAM_TYPE_VBI && !test_bit(IVTV_F_S_STREAMING, &s->s_flags)) { in ivtv_get_buffer()
[all …]
Divtv-streams.c523 clear_bit(IVTV_F_S_STREAMOFF, &s->s_flags); in ivtv_start_v4l2_encode_stream()
706 if (test_and_set_bit(IVTV_F_S_STREAMING, &s->s_flags)) in ivtv_start_v4l2_decode_stream()
713 clear_bit(IVTV_F_S_STREAMING, &s->s_flags); in ivtv_start_v4l2_decode_stream()
721 clear_bit(IVTV_F_S_STREAMOFF, &s->s_flags); in ivtv_start_v4l2_decode_stream()
760 if (test_bit(IVTV_F_S_STREAMING, &s->s_flags)) { in ivtv_stop_all_captures()
813 if (!test_bit(IVTV_F_S_PASSTHROUGH, &s->s_flags)) { in ivtv_stop_v4l2_encode_stream()
847 set_bit(IVTV_F_S_STREAMOFF, &s->s_flags); in ivtv_stop_v4l2_encode_stream()
857 clear_bit(IVTV_F_S_STREAMING, &s->s_flags); in ivtv_stop_v4l2_encode_stream()
902 if (!test_bit(IVTV_F_S_STREAMING, &s->s_flags)) in ivtv_stop_v4l2_decode_stream()
936 clear_bit(IVTV_F_S_NEEDS_DATA, &s->s_flags); in ivtv_stop_v4l2_decode_stream()
[all …]
Divtv-irq.c108 if (!test_bit(IVTV_F_S_CLAIMED, &s->s_flags)) { in stream_enc_dma_append()
191 if (rc && !s->buffers_stolen && test_bit(IVTV_F_S_APPL_IO, &s->s_flags)) { in stream_enc_dma_append()
368 set_bit(IVTV_F_S_DMA_PENDING, &s->s_flags); in ivtv_dma_stream_dec_prepare()
429 clear_bit(IVTV_F_S_DMA_HAS_VBI, &s->s_flags); in ivtv_dma_enc_start()
441 set_bit(IVTV_F_S_DMA_HAS_VBI, &s->s_flags); in ivtv_dma_enc_start()
592 if (test_and_clear_bit(IVTV_F_S_DMA_HAS_VBI, &s->s_flags)) { in ivtv_irq_enc_dma_complete()
621 if (test_and_clear_bit(IVTV_F_S_DMA_HAS_VBI, &s->s_flags)) { in ivtv_irq_enc_pio_complete()
718 set_bit(ivtv_use_pio(s) ? IVTV_F_S_PIO_PENDING : IVTV_F_S_DMA_PENDING, &s->s_flags); in ivtv_irq_enc_start_cap()
731 set_bit(ivtv_use_pio(s) ? IVTV_F_S_PIO_PENDING : IVTV_F_S_DMA_PENDING, &s->s_flags); in ivtv_irq_enc_vbi_cap()
740 if (test_bit(IVTV_F_S_CLAIMED, &s->s_flags) && in ivtv_irq_dec_vbi_reinsert()
[all …]
Divtv-driver.h337 unsigned long s_flags; /* status flags, see above */ member
/drivers/infiniband/hw/qib/
Dqib_rc.c59 qp->s_flags |= QIB_S_TIMER; in start_timer()
115 if (qp->s_flags & QIB_S_ACK_PENDING) in qib_make_rc_ack()
199 qp->s_flags &= ~QIB_S_ACK_PENDING; in qib_make_rc_ack()
221 qp->s_flags &= ~(QIB_S_RESP_PENDING | QIB_S_ACK_PENDING); in qib_make_rc_ack()
258 if ((qp->s_flags & QIB_S_RESP_PENDING) && in qib_make_rc_req()
270 qp->s_flags |= QIB_S_WAIT_DMA; in qib_make_rc_req()
280 if (qp->s_flags & (QIB_S_WAIT_RNR | QIB_S_WAIT_ACK)) in qib_make_rc_req()
285 qp->s_flags |= QIB_S_WAIT_PSN; in qib_make_rc_req()
320 qp->s_flags |= QIB_S_WAIT_FENCE; in qib_make_rc_req()
338 if (!(qp->s_flags & QIB_S_UNLIMITED_CREDIT) && in qib_make_rc_req()
[all …]
Dqib_qp.c363 qp->s_flags &= QIB_S_SIGNAL_REQ_WR; in qib_reset_qp()
480 if (qp->s_flags & (QIB_S_TIMER | QIB_S_WAIT_RNR)) { in qib_error_qp()
481 qp->s_flags &= ~(QIB_S_TIMER | QIB_S_WAIT_RNR); in qib_error_qp()
485 if (qp->s_flags & QIB_S_ANY_WAIT_SEND) in qib_error_qp()
486 qp->s_flags &= ~QIB_S_ANY_WAIT_SEND; in qib_error_qp()
489 if (!list_empty(&qp->iowait) && !(qp->s_flags & QIB_S_BUSY)) { in qib_error_qp()
490 qp->s_flags &= ~QIB_S_ANY_WAIT_IO; in qib_error_qp()
495 if (!(qp->s_flags & QIB_S_BUSY)) { in qib_error_qp()
698 qp->s_flags &= ~(QIB_S_TIMER | QIB_S_ANY_WAIT); in qib_modify_qp()
891 if (qp->s_flags & QIB_S_SIGNAL_REQ_WR) in qib_query_qp()
[all …]
Dqib_ruc.c378 if ((sqp->s_flags & (QIB_S_BUSY | QIB_S_ANY_WAIT)) || in qib_ruc_loopback()
382 sqp->s_flags |= QIB_S_BUSY; in qib_ruc_loopback()
596 sqp->s_flags |= QIB_S_WAIT_RNR; in qib_ruc_loopback()
626 sqp->s_flags &= ~QIB_S_BUSY; in qib_ruc_loopback()
639 sqp->s_flags &= ~QIB_S_BUSY; in qib_ruc_loopback()
750 qp->s_flags |= QIB_S_BUSY; in qib_do_send()
793 if (!(qp->s_flags & QIB_S_SIGNAL_REQ_WR) || in qib_send_complete()
Dqib_verbs.c713 if (qp->s_flags & QIB_S_WAIT_KMEM) { in mem_timer()
714 qp->s_flags &= ~QIB_S_WAIT_KMEM; in mem_timer()
936 qp->s_flags |= QIB_S_WAIT_TX; in __get_txreq()
939 qp->s_flags &= ~QIB_S_BUSY; in __get_txreq()
1005 if (qp->s_flags & QIB_S_WAIT_TX) { in qib_put_txreq()
1006 qp->s_flags &= ~QIB_S_WAIT_TX; in qib_put_txreq()
1053 if (qp->s_flags & QIB_S_WAIT_DMA_DESC) { in qib_verbs_sdma_desc_avail()
1054 qp->s_flags &= ~QIB_S_WAIT_DMA_DESC; in qib_verbs_sdma_desc_avail()
1090 else if (qp->s_flags & QIB_S_WAIT_DMA) { in sdma_complete()
1091 qp->s_flags &= ~QIB_S_WAIT_DMA; in sdma_complete()
[all …]
Dqib_verbs.h439 u32 s_flags; member
806 return !(qp->s_flags & (QIB_S_BUSY | QIB_S_ANY_WAIT_IO)) && in qib_send_ok()
807 (qp->s_hdrwords || (qp->s_flags & QIB_S_RESP_PENDING) || in qib_send_ok()
808 !(qp->s_flags & QIB_S_ANY_WAIT_SEND)); in qib_send_ok()
Dqib_ud.c258 qp->s_flags |= QIB_S_WAIT_DMA; in qib_make_ud_req()
295 qp->s_flags |= QIB_S_WAIT_DMA; in qib_make_ud_req()
386 qp->s_flags &= ~QIB_S_BUSY; in qib_make_ud_req()
Dqib_uc.c67 qp->s_flags |= QIB_S_WAIT_DMA; in qib_make_uc_req()
223 qp->s_flags &= ~QIB_S_BUSY; in qib_make_uc_req()
Dqib_sdma.c694 qp->s_flags |= QIB_S_WAIT_DMA_DESC; in qib_sdma_verbs_send()
698 qp->s_flags &= ~QIB_S_BUSY; in qib_sdma_verbs_send()
/drivers/infiniband/hw/ipath/
Dipath_ruc.c281 if ((sqp->s_flags & (IPATH_S_BUSY | IPATH_S_ANY_WAIT)) || in ipath_ruc_loopback()
285 sqp->s_flags |= IPATH_S_BUSY; in ipath_ruc_loopback()
472 sqp->s_flags |= IPATH_S_WAITING; in ipath_ruc_loopback()
496 sqp->s_flags &= ~IPATH_S_BUSY; in ipath_ruc_loopback()
509 sqp->s_flags &= ~IPATH_S_BUSY; in ipath_ruc_loopback()
556 qp->s_flags |= IPATH_S_WAITING; in ipath_no_bufs_available()
557 qp->s_flags &= ~IPATH_S_BUSY; in ipath_no_bufs_available()
663 if ((qp->s_flags & (IPATH_S_BUSY | IPATH_S_ANY_WAIT)) || in ipath_do_send()
669 qp->s_flags |= IPATH_S_BUSY; in ipath_do_send()
708 if (!(qp->s_flags & IPATH_S_SIGNAL_REQ_WR) || in ipath_send_complete()
Dipath_rc.c118 if (qp->s_flags & IPATH_S_ACK_PENDING) in ipath_make_rc_ack()
184 qp->s_flags &= ~IPATH_S_ACK_PENDING; in ipath_make_rc_ack()
240 (qp->s_flags & IPATH_S_ACK_PENDING) || in ipath_make_rc_req()
253 qp->s_flags |= IPATH_S_WAIT_DMA; in ipath_make_rc_req()
263 qp->s_flags |= IPATH_S_WAITING; in ipath_make_rc_req()
296 qp->s_flags |= IPATH_S_FENCE_PENDING; in ipath_make_rc_req()
316 qp->s_flags |= IPATH_S_WAIT_SSN_CREDIT; in ipath_make_rc_req()
349 qp->s_flags |= IPATH_S_WAIT_SSN_CREDIT; in ipath_make_rc_req()
389 qp->s_flags |= IPATH_S_RDMAR_PENDING; in ipath_make_rc_req()
425 qp->s_flags |= IPATH_S_RDMAR_PENDING; in ipath_make_rc_req()
[all …]
Dipath_qp.c330 qp->s_flags &= IPATH_S_SIGNAL_REQ_WR; in ipath_reset_qp()
520 qp->s_flags &= ~IPATH_S_ANY_WAIT; in ipath_modify_qp()
662 if (qp->s_flags & IPATH_S_SIGNAL_REQ_WR) in ipath_query_qp()
857 qp->s_flags = IPATH_S_SIGNAL_REQ_WR; in ipath_create_qp()
859 qp->s_flags = 0; in ipath_create_qp()
977 qp->s_flags &= ~IPATH_S_ANY_WAIT; in ipath_destroy_qp()
1074 if ((qp->s_flags & IPATH_S_WAIT_SSN_CREDIT) && in ipath_get_credit()
Dipath_verbs.h418 u8 s_flags; member
695 if (qp->s_flags & IPATH_S_ANY_WAIT) in ipath_schedule_send()
696 qp->s_flags &= ~IPATH_S_ANY_WAIT; in ipath_schedule_send()
697 if (!(qp->s_flags & IPATH_S_BUSY)) in ipath_schedule_send()
Dipath_ud.c266 qp->s_flags |= IPATH_S_WAIT_DMA; in ipath_make_ud_req()
301 qp->s_flags |= IPATH_S_WAIT_DMA; in ipath_make_ud_req()
390 qp->s_flags &= ~IPATH_S_BUSY; in ipath_make_ud_req()
Dipath_uc.c67 qp->s_flags |= IPATH_S_WAIT_DMA; in ipath_make_uc_req()
221 qp->s_flags &= ~IPATH_S_BUSY; in ipath_make_uc_req()
Dipath_verbs.c1043 (qp->s_flags & IPATH_S_WAIT_DMA)) in sdma_complete()
1069 (qp->s_flags & IPATH_S_WAIT_DMA)) in decrement_dma_busy()
/drivers/mtd/
Dmtdsuper.c77 sb->s_flags = flags; in mount_mtd_aux()
86 sb->s_flags |= MS_ACTIVE; in mount_mtd_aux()

12