/drivers/staging/vt6656/ |
D | usbpipe.c | 137 priv->int_buf.in_use = false; in vnt_start_interrupt_urb_complete() 144 priv->int_buf.in_use = false; in vnt_start_interrupt_urb_complete() 155 priv->int_buf.in_use = true; in vnt_start_interrupt_urb_complete() 162 if (priv->int_buf.in_use) in vnt_start_interrupt_urb() 165 priv->int_buf.in_use = true; in vnt_start_interrupt_urb() 179 priv->int_buf.in_use = false; in vnt_start_interrupt_urb() 210 rcb->in_use = false; in vnt_submit_rx_urb_complete() 225 rcb->in_use = false; in vnt_submit_rx_urb_complete() 253 rcb->in_use = true; in vnt_submit_rx_urb() 270 context->in_use = false; in vnt_tx_context_complete() [all …]
|
D | device.h | 222 int in_use; member 240 bool in_use; member 249 bool in_use; member
|
D | int.c | 117 context->in_use = false; in vnt_int_report_rate() 169 priv->int_buf.in_use = false; in vnt_int_process_data()
|
/drivers/infiniband/hw/cxgb4/ |
D | t4.h | 301 u16 in_use; member 330 u16 in_use; member 348 return wq->rq.in_use; in t4_rqes_posted() 353 return wq->rq.in_use == 0; in t4_rq_empty() 358 return wq->rq.in_use == (wq->rq.size - 1); in t4_rq_full() 363 return wq->rq.size - 1 - wq->rq.in_use; in t4_rq_avail() 368 wq->rq.in_use++; in t4_rq_produce() 378 wq->rq.in_use--; in t4_rq_consume() 401 return wq->sq.in_use == 0; in t4_sq_empty() 406 return wq->sq.in_use == (wq->sq.size - 1); in t4_sq_full() [all …]
|
D | cq.c | 199 int in_use = wq->rq.in_use - count; in c4iw_flush_rq() local 201 BUG_ON(in_use < 0); in c4iw_flush_rq() 203 wq, cq, wq->rq.in_use, count); in c4iw_flush_rq() 204 while (in_use--) { in c4iw_flush_rq() 629 wq->sq.in_use -= wq->sq.size + idx - wq->sq.cidx; in poll_cq() 631 wq->sq.in_use -= idx - wq->sq.cidx; in poll_cq() 632 BUG_ON(wq->sq.in_use <= 0 && wq->sq.in_use >= wq->sq.size); in poll_cq()
|
/drivers/md/bcache/ |
D | writeback.h | 64 unsigned in_use = dc->disk.c->gc_stats.in_use; in should_writeback() local 68 in_use > CUTOFF_WRITEBACK_SYNC) in should_writeback() 80 in_use <= CUTOFF_WRITEBACK; in should_writeback()
|
/drivers/gpu/drm/i915/ |
D | intel_atomic.c | 234 if (!scaler_state->scalers[j].in_use) { in intel_atomic_setup_scalers() 235 scaler_state->scalers[j].in_use = 1; in intel_atomic_setup_scalers() 257 scaler_state->scalers[0].in_use = 1; in intel_atomic_setup_scalers() 259 scaler_state->scalers[1].in_use = 0; in intel_atomic_setup_scalers()
|
/drivers/media/v4l2-core/ |
D | v4l2-event.c | 60 kev->sev->in_use--; in __v4l2_event_dequeue() 134 if (sev->in_use == sev->elems) { in __v4l2_event_queue_fh() 138 sev->in_use--; in __v4l2_event_queue_fh() 154 kev = sev->events + sev_pos(sev, sev->in_use); in __v4l2_event_queue_fh() 161 sev->in_use++; in __v4l2_event_queue_fh() 300 for (i = 0; i < sev->in_use; i++) { in v4l2_event_unsubscribe()
|
/drivers/gpu/ipu-v3/ |
D | ipu-dp.c | 55 bool in_use; member 318 if (dp->in_use) in ipu_dp_get() 321 dp->in_use = true; in ipu_dp_get() 329 dp->in_use = false; in ipu_dp_put()
|
D | ipu-dc.c | 104 bool in_use; member 363 if (dc->in_use) { in ipu_dc_get() 368 dc->in_use = true; in ipu_dc_get() 381 dc->in_use = false; in ipu_dc_put()
|
D | ipu-ic.c | 152 bool in_use; member 711 if (ic->in_use) { in ipu_ic_get() 716 ic->in_use = true; in ipu_ic_get() 731 ic->in_use = false; in ipu_ic_put()
|
/drivers/hid/ |
D | hid-prodikeys.c | 47 unsigned long in_use; member 247 pms->in_use = 0; in pcmidi_sustained_note_release() 257 pms->in_use = 0; in init_sustain_timers() 271 pms->in_use = 1; in stop_sustain_timers() 366 if (!pms->in_use) { in pcmidi_handle_report3() 370 pms->in_use = 1; in pcmidi_handle_report3()
|
/drivers/infiniband/sw/rdmavt/ |
D | mcast.c | 411 int in_use = 0; in rvt_mcast_tree_empty() local 415 in_use++; in rvt_mcast_tree_empty() 416 return in_use; in rvt_mcast_tree_empty()
|
/drivers/net/ethernet/chelsio/cxgb/ |
D | sge.c | 179 unsigned int in_use; /* # of in-use command descriptors */ member 624 q->in_use -= n; in free_cmdQ_buffers() 661 if (q->in_use) in free_tx_resources() 662 free_cmdQ_buffers(sge, q, q->in_use); in free_tx_resources() 687 q->in_use = 0; in alloc_tx_resources() 1316 credits = q->size - q->in_use; in restart_sched() 1322 q->in_use += count; in restart_sched() 1331 credits = q->size - q->in_use; in restart_sched() 1401 return q->in_use - r < (q->size >> 1); in enough_free_Tx_descs() 1446 if (cmdq->cleaned + cmdq->in_use != cmdq->processed && in update_tx_info() [all …]
|
/drivers/virtio/ |
D | virtio_ring.c | 41 if ((_vq)->in_use) \ 43 (_vq)->vq.name, (_vq)->in_use); \ 44 (_vq)->in_use = __LINE__; \ 47 do { BUG_ON(!(_vq)->in_use); (_vq)->in_use = 0; } while(0) 106 unsigned int in_use; member 947 vq->in_use = false; in __vring_new_virtqueue()
|
/drivers/mfd/ |
D | dln2.c | 73 bool in_use; member 210 if (rxc->in_use && !rxc->urb) { in dln2_transfer_complete() 371 rxc->in_use = true; in find_free_slot() 410 rxc->in_use = false; in free_rx_slot() 704 if (rxc->in_use) in dln2_stop()
|
/drivers/gpu/drm/i810/ |
D | i810_dma.c | 60 used = cmpxchg(buf_priv->in_use, I810_BUF_FREE, in i810_freelist_get() 78 used = cmpxchg(buf_priv->in_use, I810_BUF_CLIENT, I810_BUF_FREE); in i810_freelist_put() 297 buf_priv->in_use = hw_status++; in i810_freelist_init() 301 *buf_priv->in_use = I810_BUF_FREE; in i810_freelist_init() 772 (void)cmpxchg(buf_priv->in_use, I810_BUF_CLIENT, in i810_dma_dispatch_vertex() 871 int used = cmpxchg(buf_priv->in_use, I810_BUF_HARDWARE, in i810_flush_queue() 904 int used = cmpxchg(buf_priv->in_use, I810_BUF_CLIENT, in i810_driver_reclaim_buffers() 1042 u = cmpxchg(buf_priv->in_use, I810_BUF_CLIENT, I810_BUF_HARDWARE); in i810_dma_dispatch_mc()
|
/drivers/char/ |
D | dsp56k.c | 99 unsigned long in_use; member 436 if (test_and_set_bit(0, &dsp56k.in_use)) { in dsp56k_open() 469 clear_bit(0, &dsp56k.in_use); in dsp56k_release()
|
/drivers/net/ethernet/chelsio/cxgb3/ |
D | sge.c | 334 q->in_use -= reclaim; in reclaim_completed_tx() 349 return q->in_use - r < (q->size >> 1); in should_restart_tx() 697 q->txq[i].in_use); in t3_free_qset() 1247 credits = q->size - q->in_use; in t3_eth_xmit() 1258 q->in_use += ndesc; in t3_eth_xmit() 1378 if (unlikely(q->size - q->in_use < ndesc)) { in check_desc_avail() 1406 q->in_use -= reclaim; in reclaim_completed_tx_imm() 1454 q->in_use++; in ctrl_xmit() 1481 while (q->in_use < q->size && in restart_ctrlq() 1490 q->in_use++; in restart_ctrlq() [all …]
|
/drivers/s390/block/ |
D | dasd_eer.c | 506 int in_use; in dasd_eer_disable() local 514 in_use = test_and_clear_bit(DASD_FLAG_EER_IN_USE, &device->flags); in dasd_eer_disable() 516 if (cqr && !in_use) in dasd_eer_disable()
|
/drivers/hwmon/ |
D | ibmpex.c | 70 int in_use; member 241 if (!data->sensors[i].in_use) in ibmpex_update_device() 417 data->sensors[i].in_use = 1; in ibmpex_find_sensors()
|
/drivers/usb/host/ |
D | u132-hcd.c | 175 unsigned in_use:1; member 537 ring->in_use = 0; in u132_hcd_giveback_urb() 673 ring->in_use = 0; in u132_hcd_interrupt_recv() 1307 if (ring->in_use) { in u132_hcd_ring_work_scheduler() 1379 } else if (ring->in_use) { in u132_hcd_endp_work_scheduler() 1389 if (ring->in_use) { in u132_hcd_endp_work_scheduler() 1399 ring->in_use = 1; in u132_hcd_endp_work_scheduler() 1409 if (ring->in_use) { in u132_hcd_endp_work_scheduler() 1419 ring->in_use = 1; in u132_hcd_endp_work_scheduler() 1432 ring->in_use = 1; in u132_hcd_endp_work_scheduler() [all …]
|
/drivers/scsi/ |
D | osst.h | 512 unsigned char in_use; member 569 unsigned char in_use; member
|
/drivers/media/rc/ |
D | ite-cir.c | 426 while (n > 0 && dev->in_use) { in ite_tx_ir() 438 while (remaining_us > 0 && dev->in_use) { in ite_tx_ir() 526 if (dev->in_use) in ite_tx_ir() 1312 dev->in_use = true; in ite_open() 1331 dev->in_use = false; in ite_close()
|
/drivers/scsi/megaraid/ |
D | megaraid_ioctl.h | 241 uint8_t in_use; member
|