Searched refs:inuse (Results 1 - 25 of 70) sorted by path

123

/linux-master/drivers/atm/
H A Dhe.h247 int inuse; member in struct:he_cs_stper
H A Dhe.c1502 he_dev->cs_stper[i].inuse = 0;
2207 if (he_dev->cs_stper[reg].inuse == 0 ||
2220 ++he_dev->cs_stper[reg].inuse;
2468 if (he_dev->cs_stper[reg].inuse == 0)
2469 hprintk("cs_stper[%d].inuse = 0!\n", reg);
2471 --he_dev->cs_stper[reg].inuse;
2736 return sprintf(page, "irq_size = %d inuse = ? peak = %d\n",
2740 return sprintf(page, "tpdrq_size = %d inuse = ?\n",
2744 return sprintf(page, "rbrq_size = %d inuse = ? peak = %d\n",
2756 inuse
[all...]
H A Didt77252.c2386 unsigned int inuse; local
2444 inuse = 0;
2447 inuse = 1;
2450 inuse += 2;
2452 if (inuse) {
2454 inuse == 1 ? "tx" : inuse == 2 ? "rx" : "tx and rx");
H A Dnicstar.c1240 int inuse; /* tx or rx vc already in use by another vcc */ local
1255 inuse = 0;
1257 inuse = 1;
1259 inuse += 2;
1260 if (inuse) {
1262 inuse == 1 ? "tx" : inuse == 2 ? "rx" : "tx and rx");
/linux-master/drivers/gpu/ipu-v3/
H A Dipu-smfc.c20 bool inuse; member in struct:ipu_smfc
149 if (smfc->inuse) {
154 smfc->inuse = true;
167 smfc->inuse = false;
H A Dipu-csi.c28 bool inuse; member in struct:ipu_csi
764 if (csi->inuse) {
769 csi->inuse = true;
781 csi->inuse = false;
H A Dipu-di.c24 bool inuse; member in struct:ipu_di
688 if (di->inuse) {
693 di->inuse = true;
705 di->inuse = false;
741 di->inuse = false;
/linux-master/drivers/isdn/mISDN/
H A Ddsp_dtmf.c84 if (dsp->pipeline.inuse) {
H A Ddsp.h140 int inuse; member in struct:dsp_pipeline
H A Ddsp_cmx.c601 if (member->dsp->pipeline.inuse) {
1599 if (dsp->pipeline.inuse)
H A Ddsp_core.c562 dsp->pipeline.inuse = 1;
718 if (dsp->pipeline.inuse)
/linux-master/drivers/net/ethernet/altera/
H A Daltera_msgdma.c129 u32 inuse; local
133 inuse = csrrd32(priv->tx_dma_csr, msgdma_csroffs(rw_fill_level))
136 if (inuse) { /* Tx FIFO is not empty */
138 priv->tx_prod - priv->tx_cons - inuse - 1, 0);
/linux-master/arch/powerpc/include/asm/
H A Dpmc.h23 static inline void ppc_set_pmu_inuse(int inuse) argument
28 get_lppaca()->pmcregs_in_use = inuse;
32 get_paca()->pmcregs_in_use = inuse;
48 static inline void ppc_set_pmu_inuse(int inuse) { } argument
/linux-master/block/
H A Dblk-iocost.c474 * `weight`. `inuse` is the surplus adjusted active weight.
475 * `active` and `inuse` are used to calculate `hweight_active` and
478 * `last_inuse` remembers `inuse` while an iocg is idle to persist
481 * `inuse` may be adjusted dynamically during period. `saved_*` are used
487 u32 inuse; member in struct:ioc_gq
1080 * Update @iocg's `active` and `inuse` to @active and @inuse, update level
1082 * is saved to be used as reference for later inuse in-period adjustments.
1084 static void __propagate_weights(struct ioc_gq *iocg, u32 active, u32 inuse, argument
1093 * For an active leaf node, its inuse should
1159 propagate_weights(struct ioc_gq *iocg, u32 active, u32 inuse, bool save, struct ioc_now *now) argument
1197 u32 inuse = READ_ONCE(child->inuse); local
1227 u32 inuse = iocg->active; local
1988 u32 inuse, wpt, wptp; local
2032 u32 inuse; local
[all...]
/linux-master/drivers/char/ipmi/
H A Dipmi_msghandler.c247 unsigned int inuse : 1; member in struct:seq_table
725 if ((intf->seq_table[i].inuse)
1062 if (!intf->seq_table[i].inuse)
1066 if (!intf->seq_table[i].inuse) {
1077 intf->seq_table[i].inuse = 1;
1113 if (intf->seq_table[seq].inuse) {
1120 intf->seq_table[seq].inuse = 0;
1148 if ((intf->seq_table[seq].inuse)
1178 if ((intf->seq_table[seq].inuse)
1182 ent->inuse
[all...]
/linux-master/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_ras.c2149 if (data->inuse == 0)
2175 if (data->inuse == 0)
2207 .inuse = 0,
2226 data->inuse = 1;
H A Damdgpu_ras.h538 int inuse; member in struct:ras_ih_data
/linux-master/drivers/gpu/drm/msm/disp/mdp5/
H A Dmdp5_smp.c350 int inuse = bitmap_weight(cs, smp->blk_cnt); local
353 pipe2name(pipe), j, inuse,
356 total += inuse;
/linux-master/drivers/hwtracing/coresight/
H A Dcoresight-cti-sysfs.c833 char *buf, bool inuse)
849 if (!inuse)
832 print_chan_list(struct device *dev, char *buf, bool inuse) argument
/linux-master/drivers/iio/dummy/
H A Diio_dummy_evgen.c33 * @inuse: mask of which irqs are connected
39 bool inuse[IIO_EVENTGEN_NO]; member in struct:iio_dummy_eventgen
82 if (!iio_evgen->inuse[i]) {
84 iio_evgen->inuse[i] = true;
107 iio_evgen->inuse[irqd_to_hwirq(irqd)] = false;
/linux-master/drivers/infiniband/core/
H A Ddevice.c457 struct ida inuse; local
462 ida_init(&inuse);
474 rc = ida_alloc_range(&inuse, i, i, GFP_KERNEL);
479 rc = ida_alloc(&inuse, GFP_KERNEL);
485 ida_destroy(&inuse);
/linux-master/drivers/infiniband/hw/hns/
H A Dhns_roce_cq.c42 u32 least_load = bank[0].inuse;
48 bankcnt = bank[i].inuse;
77 bank->inuse++;
99 bank->inuse--;
520 cq_table->bank[get_cq_bankid(i)].inuse++;
H A Dhns_roce_device.h477 u32 inuse; /* Number of IDs allocated */ member in struct:hns_roce_bank
H A Dhns_roce_qp.c196 bankcnt = bank[i].inuse;
250 qp_table->bank[bankid].inuse++;
416 hr_dev->qp_table.bank[bankid].inuse--;
1544 hr_dev->qp_table.bank[get_qp_bankid(i)].inuse++;
/linux-master/drivers/infiniband/hw/qib/
H A Dqib_file_ops.c1422 unsigned inuse = ~0U; local
1446 if (cfree && cused < inuse) {
1448 inuse = cused;

Completed in 383 milliseconds

123