/drivers/media/pci/cx18/ |
D | cx18-fileops.c | 42 if (test_and_set_bit(CX18_F_S_CLAIMED, &s->s_flags)) { in cx18_claim_stream() 79 set_bit(CX18_F_S_CLAIMED, &s_assoc->s_flags); in cx18_claim_stream() 82 set_bit(CX18_F_S_INTERNAL_USE, &s_assoc->s_flags); in cx18_claim_stream() 104 test_bit(CX18_F_S_INTERNAL_USE, &s->s_flags)) { in cx18_release_stream() 108 if (!test_and_clear_bit(CX18_F_S_CLAIMED, &s->s_flags)) { in cx18_release_stream() 126 if (test_and_clear_bit(CX18_F_S_INTERNAL_USE, &s_assoc->s_flags)) { in cx18_release_stream() 127 clear_bit(CX18_F_S_CLAIMED, &s_assoc->s_flags); in cx18_release_stream() 133 if (test_and_clear_bit(CX18_F_S_INTERNAL_USE, &s_assoc->s_flags)) { in cx18_release_stream() 139 clear_bit(CX18_F_S_CLAIMED, &s_assoc->s_flags); in cx18_release_stream() 185 if (test_bit(CX18_F_S_INTERNAL_USE, &s_vbi->s_flags) && in cx18_get_mdl() [all …]
|
D | cx18-alsa-pcm.c | 159 if (test_bit(CX18_F_S_STREAMOFF, &s->s_flags) || in snd_cx18_pcm_capture_open() 160 test_and_set_bit(CX18_F_S_STREAMING, &s->s_flags)) { in snd_cx18_pcm_capture_open() 175 set_bit(CX18_F_S_STREAMING, &s->s_flags); in snd_cx18_pcm_capture_open() 193 clear_bit(CX18_F_S_STREAMING, &s->s_flags); in snd_cx18_pcm_capture_close()
|
D | cx18-streams.c | 682 test_bit(CX18_F_S_STOPPING, &s->s_flags) || in _cx18_stream_put_mdl_fw() 683 !test_bit(CX18_F_S_STREAMING, &s->s_flags)) in _cx18_stream_put_mdl_fw() 823 clear_bit(CX18_F_S_STREAMOFF, &s->s_flags); in cx18_start_v4l2_encode_stream() 920 set_bit(CX18_F_S_STOPPING, &s->s_flags); in cx18_start_v4l2_encode_stream() 925 clear_bit(CX18_F_S_STREAMING, &s->s_flags); in cx18_start_v4l2_encode_stream() 930 clear_bit(CX18_F_S_STOPPING, &s->s_flags); in cx18_start_v4l2_encode_stream() 955 if (test_bit(CX18_F_S_STREAMING, &s->s_flags)) in cx18_stop_all_captures() 975 set_bit(CX18_F_S_STOPPING, &s->s_flags); in cx18_stop_v4l2_encode_stream() 990 clear_bit(CX18_F_S_STREAMING, &s->s_flags); in cx18_stop_v4l2_encode_stream() 997 clear_bit(CX18_F_S_STOPPING, &s->s_flags); in cx18_stop_v4l2_encode_stream()
|
/drivers/media/pci/ivtv/ |
D | ivtv-fileops.c | 39 if (test_and_set_bit(IVTV_F_S_CLAIMED, &s->s_flags)) { in ivtv_claim_stream() 78 if (!test_and_set_bit(IVTV_F_S_CLAIMED, &s_vbi->s_flags)) { in ivtv_claim_stream() 84 set_bit(IVTV_F_S_INTERNAL_USE, &s_vbi->s_flags); in ivtv_claim_stream() 98 test_bit(IVTV_F_S_INTERNAL_USE, &s->s_flags)) { in ivtv_release_stream() 102 if (!test_and_clear_bit(IVTV_F_S_CLAIMED, &s->s_flags)) { in ivtv_release_stream() 124 if (!test_and_clear_bit(IVTV_F_S_INTERNAL_USE, &s_vbi->s_flags)) { in ivtv_release_stream() 135 clear_bit(IVTV_F_S_CLAIMED, &s_vbi->s_flags); in ivtv_release_stream() 213 if (test_bit(IVTV_F_S_INTERNAL_USE, &s_vbi->s_flags) && in ivtv_get_buffer() 214 !test_bit(IVTV_F_S_APPL_IO, &s_vbi->s_flags)) { in ivtv_get_buffer() 249 if (s->type != IVTV_DEC_STREAM_TYPE_VBI && !test_bit(IVTV_F_S_STREAMING, &s->s_flags)) { in ivtv_get_buffer() [all …]
|
D | ivtv-streams.c | 544 clear_bit(IVTV_F_S_STREAMOFF, &s->s_flags); in ivtv_start_v4l2_encode_stream() 728 if (test_and_set_bit(IVTV_F_S_STREAMING, &s->s_flags)) in ivtv_start_v4l2_decode_stream() 735 clear_bit(IVTV_F_S_STREAMING, &s->s_flags); in ivtv_start_v4l2_decode_stream() 743 clear_bit(IVTV_F_S_STREAMOFF, &s->s_flags); in ivtv_start_v4l2_decode_stream() 782 if (test_bit(IVTV_F_S_STREAMING, &s->s_flags)) { in ivtv_stop_all_captures() 835 if (!test_bit(IVTV_F_S_PASSTHROUGH, &s->s_flags)) { in ivtv_stop_v4l2_encode_stream() 869 set_bit(IVTV_F_S_STREAMOFF, &s->s_flags); in ivtv_stop_v4l2_encode_stream() 879 clear_bit(IVTV_F_S_STREAMING, &s->s_flags); in ivtv_stop_v4l2_encode_stream() 925 if (!test_bit(IVTV_F_S_STREAMING, &s->s_flags)) in ivtv_stop_v4l2_decode_stream() 959 clear_bit(IVTV_F_S_NEEDS_DATA, &s->s_flags); in ivtv_stop_v4l2_decode_stream() [all …]
|
D | ivtv-irq.c | 127 if (!test_bit(IVTV_F_S_CLAIMED, &s->s_flags)) { in stream_enc_dma_append() 210 if (rc && !s->buffers_stolen && test_bit(IVTV_F_S_APPL_IO, &s->s_flags)) { in stream_enc_dma_append() 404 set_bit(IVTV_F_S_DMA_PENDING, &s->s_flags); in ivtv_dma_stream_dec_prepare() 410 set_bit(IVTV_F_S_DMA_PENDING, &s->s_flags); in ivtv_dma_stream_dec_prepare() 469 clear_bit(IVTV_F_S_DMA_HAS_VBI, &s->s_flags); in ivtv_dma_enc_start() 481 set_bit(IVTV_F_S_DMA_HAS_VBI, &s->s_flags); in ivtv_dma_enc_start() 632 if (test_and_clear_bit(IVTV_F_S_DMA_HAS_VBI, &s->s_flags)) { in ivtv_irq_enc_dma_complete() 661 if (test_and_clear_bit(IVTV_F_S_DMA_HAS_VBI, &s->s_flags)) { in ivtv_irq_enc_pio_complete() 758 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() 771 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() [all …]
|
D | ivtv-alsa-pcm.c | 163 if (test_bit(IVTV_F_S_STREAMOFF, &s->s_flags) || in snd_ivtv_pcm_capture_open() 164 test_and_set_bit(IVTV_F_S_STREAMING, &s->s_flags)) { in snd_ivtv_pcm_capture_open() 179 set_bit(IVTV_F_S_STREAMING, &s->s_flags); in snd_ivtv_pcm_capture_open() 197 clear_bit(IVTV_F_S_STREAMING, &s->s_flags); in snd_ivtv_pcm_capture_close()
|
/drivers/infiniband/sw/rdmavt/ |
D | rc.c | 175 if (!(qp->s_flags & RVT_S_UNLIMITED_CREDIT)) { in rvt_get_credit() 176 qp->s_flags |= RVT_S_UNLIMITED_CREDIT; in rvt_get_credit() 177 if (qp->s_flags & RVT_S_WAIT_SSN_CREDIT) { in rvt_get_credit() 178 qp->s_flags &= ~RVT_S_WAIT_SSN_CREDIT; in rvt_get_credit() 182 } else if (!(qp->s_flags & RVT_S_UNLIMITED_CREDIT)) { in rvt_get_credit() 187 if (qp->s_flags & RVT_S_WAIT_SSN_CREDIT) { in rvt_get_credit() 188 qp->s_flags &= ~RVT_S_WAIT_SSN_CREDIT; in rvt_get_credit()
|
D | trace_rc.h | 65 __field(u32, s_flags) 76 __entry->s_flags = qp->s_flags; 88 __entry->s_flags,
|
D | trace_qp.h | 96 __field(u32, s_flags) 103 __entry->s_flags = qp->s_flags; 111 __entry->s_flags,
|
D | qp.c | 868 qp->s_flags &= RVT_S_SIGNAL_REQ_WR; in rvt_init_qp() 928 qp->s_flags &= ~(RVT_S_TIMER | RVT_S_ANY_WAIT); in _rvt_reset_qp() 1199 qp->s_flags = RVT_S_SIGNAL_REQ_WR; in rvt_create_qp() 1355 if (qp->s_flags & (RVT_S_TIMER | RVT_S_WAIT_RNR)) { in rvt_error_qp() 1356 qp->s_flags &= ~(RVT_S_TIMER | RVT_S_WAIT_RNR); in rvt_error_qp() 1360 if (qp->s_flags & RVT_S_ANY_WAIT_SEND) in rvt_error_qp() 1361 qp->s_flags &= ~RVT_S_ANY_WAIT_SEND; in rvt_error_qp() 1814 if (qp->s_flags & RVT_S_SIGNAL_REQ_WR) in rvt_query_qp() 2564 qp->s_flags |= RVT_S_TIMER; in rvt_add_retry_timer_ext() 2582 qp->s_flags |= RVT_S_WAIT_RNR; in rvt_add_rnr_timer() [all …]
|
/drivers/infiniband/hw/hfi1/ |
D | ruc.c | 209 if (unlikely(qp->s_flags & HFI1_S_AHG_CLEAR)) in build_ahg() 211 if (!(qp->s_flags & HFI1_S_AHG_VALID)) { in build_ahg() 220 qp->s_flags |= HFI1_S_AHG_VALID; in build_ahg() 316 if (qp->s_flags & RVT_S_ECN) { in hfi1_make_ruc_header_16B() 317 qp->s_flags &= ~RVT_S_ECN; in hfi1_make_ruc_header_16B() 325 qp->s_flags &= ~HFI1_S_AHG_VALID; in hfi1_make_ruc_header_16B() 393 if (qp->s_flags & RVT_S_ECN) { in hfi1_make_ruc_header_9B() 394 qp->s_flags &= ~RVT_S_ECN; in hfi1_make_ruc_header_9B() 402 qp->s_flags &= ~HFI1_S_AHG_VALID; in hfi1_make_ruc_header_9B() 480 qp->s_flags &= ~RVT_S_BUSY; in hfi1_schedule_send_yield() [all …]
|
D | qp.c | 280 qp->s_flags |= HFI1_S_AHG_CLEAR; in hfi1_modify_qp() 414 if (qp->s_flags & HFI1_S_ANY_WAIT_IO) in hfi1_schedule_send() 442 if (qp->s_flags & flag) { in hfi1_qp_wakeup() 443 qp->s_flags &= ~flag; in hfi1_qp_wakeup() 457 qp->s_flags &= ~RVT_S_BUSY; in hfi1_qp_unbusy() 467 if (priv->s_flags & HFI1_S_TID_BUSY_SET) { in hfi1_qp_unbusy() 468 priv->s_flags &= ~(HFI1_S_TID_BUSY_SET | in hfi1_qp_unbusy() 473 priv->s_flags &= ~RVT_S_BUSY; in hfi1_qp_unbusy() 510 qp->s_flags |= RVT_S_WAIT_DMA_DESC; in iowait_sleep() 554 if (qp->s_flags & RVT_S_WAIT_DMA) { in iowait_sdma_drained() [all …]
|
D | tid_rdma.c | 147 priv->s_flags |= RVT_S_ACK_PENDING; in tid_rdma_schedule_ack() 512 if (!fqp || (fqp == qp && (qp->s_flags & HFI1_S_WAIT_TID_SPACE))) in kernel_tid_waiters() 544 qp->s_flags &= ~HFI1_S_WAIT_TID_SPACE; in dequeue_tid_waiter() 568 qp->s_flags |= HFI1_S_WAIT_TID_SPACE; in queue_qp_for_tid_wait() 588 if (!(qp->s_flags & HFI1_S_WAIT_TID_SPACE)) in __trigger_tid_waiter() 648 if (qp->s_flags & HFI1_S_WAIT_TID_SPACE) { in tid_rdma_trigger_resume() 673 qp->s_flags &= ~HFI1_S_WAIT_TID_SPACE; in _tid_rdma_flush_wait() 677 qp->s_flags &= ~HFI1_S_WAIT_TID_SPACE; in _tid_rdma_flush_wait() 1805 qpriv->s_flags &= ~HFI1_R_TID_SW_PSN; in hfi1_build_tid_rdma_read_req() 2173 qpriv->s_flags &= ~HFI1_R_TID_WAIT_INTERLCK; in tid_rdma_rcv_error() [all …]
|
D | rc.c | 168 if (qp->s_flags & RVT_S_ACK_PENDING) in make_rc_ack() 175 if ((qpriv->s_flags & HFI1_R_TID_WAIT_INTERLCK) || in make_rc_ack() 390 qp->s_flags &= ~RVT_S_ACK_PENDING; in make_rc_ack() 415 qp->s_flags &= ~(RVT_S_RESP_PENDING in make_rc_ack() 474 if ((qp->s_flags & RVT_S_RESP_PENDING) && in hfi1_make_rc_req() 486 qp->s_flags |= RVT_S_WAIT_DMA; in hfi1_make_rc_req() 497 if (qp->s_flags & (RVT_S_WAIT_RNR | RVT_S_WAIT_ACK | HFI1_S_WAIT_HALT)) in hfi1_make_rc_req() 502 qp->s_flags |= RVT_S_WAIT_PSN; in hfi1_make_rc_req() 540 qp->s_flags |= RVT_S_WAIT_FENCE; in hfi1_make_rc_req() 589 if ((priv->s_flags & HFI1_S_TID_WAIT_INTERLCK) || in hfi1_make_rc_req() [all …]
|
D | qp.h | 95 return !(qp->s_flags & (RVT_S_BUSY | HFI1_S_ANY_WAIT_IO)) && in hfi1_send_ok() 97 (qp->s_flags & RVT_S_RESP_PENDING) || in hfi1_send_ok() 98 !(qp->s_flags & RVT_S_ANY_WAIT_SEND)); in hfi1_send_ok() 109 qp->s_flags &= ~(HFI1_S_AHG_VALID | HFI1_S_AHG_CLEAR); in clear_ahg()
|
D | trace_rc.h | 64 __field(u32, s_flags) 75 __entry->s_flags = qp->s_flags; 87 __entry->s_flags,
|
D | trace_tid.h | 761 __field(u32, s_flags) 781 __entry->s_flags = qp->s_flags; 782 __entry->ps_flags = priv->s_flags; 800 __entry->s_flags, 881 __field(u32, s_flags) 899 __entry->s_flags = qp->s_flags; 900 __entry->ps_flags = ((struct hfi1_qp_priv *)qp->priv)->s_flags; 919 __entry->s_flags, 987 __field(u32, s_flags) 1004 __entry->s_flags = qp->s_flags; [all …]
|
D | verbs_txreq.c | 109 qp->s_flags |= RVT_S_WAIT_TX; in __get_txreq() 115 qp->s_flags &= ~RVT_S_BUSY; in __get_txreq()
|
D | trace_tx.h | 118 __field(u32, s_flags) 126 __entry->s_flags = qp->s_flags; 128 ((struct hfi1_qp_priv *)qp->priv)->s_flags; 137 __entry->s_flags,
|
/drivers/infiniband/hw/qib/ |
D | qib_rc.c | 100 if (qp->s_flags & RVT_S_ACK_PENDING) in qib_make_rc_ack() 181 qp->s_flags &= ~RVT_S_ACK_PENDING; in qib_make_rc_ack() 203 qp->s_flags &= ~(RVT_S_RESP_PENDING | RVT_S_ACK_PENDING); in qib_make_rc_ack() 236 if ((qp->s_flags & RVT_S_RESP_PENDING) && in qib_make_rc_req() 248 qp->s_flags |= RVT_S_WAIT_DMA; in qib_make_rc_req() 258 if (qp->s_flags & (RVT_S_WAIT_RNR | RVT_S_WAIT_ACK)) in qib_make_rc_req() 263 qp->s_flags |= RVT_S_WAIT_PSN; in qib_make_rc_req() 298 qp->s_flags |= RVT_S_WAIT_FENCE; in qib_make_rc_req() 339 if (newreq && !(qp->s_flags & RVT_S_UNLIMITED_CREDIT)) in qib_make_rc_req() 382 qp->s_flags |= RVT_S_WAIT_RDMAR; in qib_make_rc_req() [all …]
|
D | qib_verbs.c | 383 if (qp->s_flags & RVT_S_WAIT_KMEM) { in mem_timer() 384 qp->s_flags &= ~RVT_S_WAIT_KMEM; in mem_timer() 580 qp->s_flags |= RVT_S_WAIT_TX; in __get_txreq() 583 qp->s_flags &= ~RVT_S_BUSY; in __get_txreq() 650 if (qp->s_flags & RVT_S_WAIT_TX) { in qib_put_txreq() 651 qp->s_flags &= ~RVT_S_WAIT_TX; in qib_put_txreq() 699 if (qp->s_flags & RVT_S_WAIT_DMA_DESC) { in qib_verbs_sdma_desc_avail() 700 qp->s_flags &= ~RVT_S_WAIT_DMA_DESC; in qib_verbs_sdma_desc_avail() 736 else if (qp->s_flags & RVT_S_WAIT_DMA) { in sdma_complete() 737 qp->s_flags &= ~RVT_S_WAIT_DMA; in sdma_complete() [all …]
|
D | qib_qp.c | 246 if (!list_empty(&priv->iowait) && !(qp->s_flags & RVT_S_BUSY)) { in qib_notify_error_qp() 247 qp->s_flags &= ~RVT_S_ANY_WAIT_IO; in qib_notify_error_qp() 252 if (!(qp->s_flags & RVT_S_BUSY)) { in qib_notify_error_qp() 439 qp->s_flags, in qib_qp_iter_print()
|
D | qib_verbs.h | 220 return !(qp->s_flags & (RVT_S_BUSY | RVT_S_ANY_WAIT_IO)) && in qib_send_ok() 221 (qp->s_hdrwords || (qp->s_flags & RVT_S_RESP_PENDING) || in qib_send_ok() 222 !(qp->s_flags & RVT_S_ANY_WAIT_SEND)); in qib_send_ok()
|
D | qib_ud.c | 254 qp->s_flags |= RVT_S_WAIT_DMA; in qib_make_ud_req() 294 qp->s_flags |= RVT_S_WAIT_DMA; in qib_make_ud_req() 389 qp->s_flags &= ~RVT_S_BUSY; in qib_make_ud_req()
|