/drivers/gpu/drm/msm/ |
D | msm_gem_vma.c | 47 if (WARN_ON(vma->inuse > 0)) in msm_gem_purge_vma() 65 vma->inuse--; in msm_gem_unmap_vma() 80 vma->inuse++; in msm_gem_map_vma() 93 vma->inuse--; in msm_gem_map_vma() 103 if (WARN_ON(vma->inuse > 0 || vma->mapped)) in msm_gem_close_vma()
|
/drivers/net/ethernet/mscc/ |
D | ocelot_devlink.c | 235 static void ocelot_wm_status(struct ocelot *ocelot, int index, u32 *inuse, in ocelot_wm_status() argument 240 return ocelot->ops->wm_stat(res_stat, inuse, maxuse); in ocelot_wm_status() 746 u32 inuse, maxuse; in ocelot_sb_occ_max_clear() local 754 &inuse, &maxuse); in ocelot_sb_occ_max_clear() 756 &inuse, &maxuse); in ocelot_sb_occ_max_clear() 759 &inuse, &maxuse); in ocelot_sb_occ_max_clear() 761 &inuse, &maxuse); in ocelot_sb_occ_max_clear() 768 &inuse, &maxuse); in ocelot_sb_occ_max_clear() 770 &inuse, &maxuse); in ocelot_sb_occ_max_clear() 773 &inuse, &maxuse); in ocelot_sb_occ_max_clear() [all …]
|
/drivers/media/pci/saa7164/ |
D | saa7164-cmd.c | 18 if (dev->cmds[i].inuse == 0) { in saa7164_cmd_alloc_seqno() 19 dev->cmds[i].inuse = 1; in saa7164_cmd_alloc_seqno() 34 if ((dev->cmds[seqno].inuse == 1) && in saa7164_cmd_free_seqno() 36 dev->cmds[seqno].inuse = 0; in saa7164_cmd_free_seqno() 46 if ((dev->cmds[seqno].inuse == 1) && in saa7164_cmd_timeout_seqno() 58 if ((dev->cmds[seqno].inuse == 1) && in saa7164_cmd_timeout_get() 258 if ((dev->cmds[seqno].inuse == 1) && in saa7164_cmd_wait() 306 if (dev->cmds[i].inuse == 1) { in saa7164_cmd_signal() 316 if ((dev->cmds[i].inuse == 1) && ((i == 0) || in saa7164_cmd_signal()
|
/drivers/watchdog/ |
D | mtx-1_wdt.c | 55 unsigned long inuse; member 117 if (test_and_set_bit(0, &mtx1_wdt_device.inuse)) in mtx1_wdt_open() 125 clear_bit(0, &mtx1_wdt_device.inuse); in mtx1_wdt_release() 210 clear_bit(0, &mtx1_wdt_device.inuse); in mtx1_wdt_probe()
|
D | rdc321x_wdt.c | 48 unsigned long inuse; member 128 if (test_and_set_bit(0, &rdc321x_wdt_device.inuse)) in rdc321x_wdt_open() 136 clear_bit(0, &rdc321x_wdt_device.inuse); in rdc321x_wdt_release() 251 clear_bit(0, &rdc321x_wdt_device.inuse); in rdc321x_wdt_probe()
|
D | cpu5wdt.c | 53 unsigned long inuse; member 127 if (test_and_set_bit(0, &cpu5wdt_device.inuse)) in cpu5wdt_open() 134 clear_bit(0, &cpu5wdt_device.inuse); in cpu5wdt_release()
|
D | rc32434_wdt.c | 36 unsigned long inuse; member 139 if (test_and_set_bit(0, &rc32434_wdt_device.inuse)) in rc32434_wdt_open() 160 clear_bit(0, &rc32434_wdt_device.inuse); in rc32434_wdt_release()
|
D | bcm63xx_wdt.c | 44 unsigned long inuse; member 115 if (test_and_set_bit(0, &bcm63xx_wdt_device.inuse)) in bcm63xx_wdt_open() 130 clear_bit(0, &bcm63xx_wdt_device.inuse); in bcm63xx_wdt_release()
|
/drivers/iio/dummy/ |
D | iio_dummy_evgen.c | 41 bool inuse[IIO_EVENTGEN_NO]; member 84 if (!iio_evgen->inuse[i]) { in iio_dummy_evgen_get_irq() 86 iio_evgen->inuse[i] = true; in iio_dummy_evgen_get_irq() 109 iio_evgen->inuse[irqd_to_hwirq(irqd)] = false; in iio_dummy_evgen_release_irq()
|
/drivers/net/ethernet/altera/ |
D | altera_msgdma.c | 129 u32 inuse; in msgdma_tx_completions() local 133 inuse = csrrd32(priv->tx_dma_csr, msgdma_csroffs(rw_fill_level)) in msgdma_tx_completions() 136 if (inuse) { /* Tx FIFO is not empty */ in msgdma_tx_completions() 138 priv->tx_prod - priv->tx_cons - inuse - 1, 0); in msgdma_tx_completions()
|
/drivers/gpu/ipu-v3/ |
D | ipu-smfc.c | 20 bool inuse; member 149 if (smfc->inuse) { in ipu_smfc_get() 154 smfc->inuse = true; in ipu_smfc_get() 167 smfc->inuse = false; in ipu_smfc_put()
|
D | ipu-di.c | 24 bool inuse; member 688 if (di->inuse) { in ipu_di_get() 693 di->inuse = true; in ipu_di_get() 705 di->inuse = false; in ipu_di_put() 741 di->inuse = false; in ipu_di_init()
|
D | ipu-csi.c | 28 bool inuse; member 743 if (csi->inuse) { in ipu_csi_get() 748 csi->inuse = true; in ipu_csi_get() 760 csi->inuse = false; in ipu_csi_put()
|
/drivers/infiniband/hw/hns/ |
D | hns_roce_cq.c | 43 u32 least_load = bank[0].inuse; in get_least_load_bankid_for_cq() 49 bankcnt = bank[i].inuse; in get_least_load_bankid_for_cq() 78 bank->inuse++; in alloc_cqn() 100 bank->inuse--; in free_cqn() 522 cq_table->bank[get_cq_bankid(i)].inuse++; in hns_roce_init_cq_table()
|
/drivers/staging/media/zoran/ |
D | zoran_driver.c | 867 if (zr->inuse[0]) { in zr_set_buf() 868 buf = zr->inuse[0]; in zr_set_buf() 880 zr->inuse[0] = NULL; in zr_set_buf() 907 zr->inuse[0] = buf; in zr_set_buf() 935 zr->inuse[j] = NULL; in zr_vb2_start_streaming() 987 if (!zr->inuse[j]) in zr_vb2_stop_streaming() 989 buf = zr->inuse[j]; in zr_vb2_stop_streaming() 992 zr->inuse[j] = NULL; in zr_vb2_stop_streaming()
|
D | zoran_device.c | 768 zr->inuse[i] = buf; in zoran_feed_stat_com() 782 zr->inuse[i] = buf; in zoran_feed_stat_com() 783 zr->inuse[i + 1] = NULL; in zoran_feed_stat_com() 828 buf = zr->inuse[i]; in zoran_reap_stat_com() 846 zr->inuse[i] = NULL; in zoran_reap_stat_com()
|
D | zoran.h | 297 struct zr_buffer *inuse[BUZ_NUM_STAT_COM * 2]; member
|
/drivers/gpu/drm/msm/disp/mdp5/ |
D | mdp5_smp.c | 355 int inuse = bitmap_weight(cs, smp->blk_cnt); in mdp5_smp_dump() local 358 pipe2name(pipe), j, inuse, in mdp5_smp_dump() 361 total += inuse; in mdp5_smp_dump()
|
/drivers/macintosh/ |
D | adb.c | 611 int inuse; member 625 if (!state->inuse) { in adb_write_done() 685 state->inuse = 1; in adb_open() 706 state->inuse = 0; in adb_release()
|
/drivers/isdn/mISDN/ |
D | dsp_pipeline.c | 265 pipeline->inuse = 1; in dsp_pipeline_build() 267 pipeline->inuse = 0; in dsp_pipeline_build()
|
D | dsp.h | 140 int inuse; member
|
D | dsp_dtmf.c | 84 if (dsp->pipeline.inuse) { in dsp_dtmf_hardware()
|
/drivers/atm/ |
D | he.c | 1505 he_dev->cs_stper[i].inuse = 0; in he_start() 2210 if (he_dev->cs_stper[reg].inuse == 0 || in he_open() 2223 ++he_dev->cs_stper[reg].inuse; in he_open() 2471 if (he_dev->cs_stper[reg].inuse == 0) in he_close() 2474 --he_dev->cs_stper[reg].inuse; in he_close() 2759 inuse = rbpl_head - rbpl_tail; in he_proc_read() 2760 if (inuse < 0) in he_proc_read() 2761 inuse += CONFIG_RBPL_SIZE * sizeof(struct he_rbp); in he_proc_read() 2762 inuse /= sizeof(struct he_rbp); in he_proc_read() 2766 CONFIG_RBPL_SIZE, inuse); in he_proc_read() [all …]
|
/drivers/char/ipmi/ |
D | ipmi_msghandler.c | 233 unsigned int inuse : 1; member 702 if ((intf->seq_table[i].inuse) in clean_up_interface_data() 1012 if (!intf->seq_table[i].inuse) in intf_next_seq() 1016 if (!intf->seq_table[i].inuse) { in intf_next_seq() 1027 intf->seq_table[i].inuse = 1; in intf_next_seq() 1063 if (intf->seq_table[seq].inuse) { in intf_find_seq() 1070 intf->seq_table[seq].inuse = 0; in intf_find_seq() 1098 if ((intf->seq_table[seq].inuse) in intf_start_seq_timer() 1128 if ((intf->seq_table[seq].inuse) in intf_err_seq() 1132 ent->inuse = 0; in intf_err_seq() [all …]
|
/drivers/rapidio/ |
D | rio_cm.c | 172 void *inuse[RIOCM_RX_RING_SIZE]; member 838 if (ch->rx_ring.inuse[i] == buf) { in riocm_ch_free_rxbuf() 839 ch->rx_ring.inuse[i] = NULL; in riocm_ch_free_rxbuf() 909 if (ch->rx_ring.inuse[i] == NULL) { in riocm_ch_receive() 910 ch->rx_ring.inuse[i] = rxmsg; in riocm_ch_receive() 1373 if (ch->rx_ring.inuse[i] != NULL) { in riocm_ch_free() 1374 kfree(ch->rx_ring.inuse[i]); in riocm_ch_free()
|