Home
last modified time | relevance | path

Searched refs:dev_counter (Results 1 – 5 of 5) sorted by relevance

/Linux-v5.10/drivers/char/hw_random/
Ds390-trng.c109 u64 dev_counter = atomic64_read(&trng_dev_counter); in trng_counter_show() local
119 dev_counter, hwrng_counter, arch_counter, in trng_counter_show()
120 dev_counter + hwrng_counter + arch_counter); in trng_counter_show()
126 dev_counter, hwrng_counter, in trng_counter_show()
127 dev_counter + hwrng_counter); in trng_counter_show()
/Linux-v5.10/sound/soc/codecs/
Dmt6358.c91 int dev_counter[DEVICE_NUM]; member
1362 priv->dev_counter[device], in mt_hp_event()
1367 priv->dev_counter[device]++; in mt_hp_event()
1368 if (priv->dev_counter[device] > 1) in mt_hp_event()
1370 else if (priv->dev_counter[device] <= 0) in mt_hp_event()
1373 priv->dev_counter[device]); in mt_hp_event()
1383 priv->dev_counter[device]--; in mt_hp_event()
1384 if (priv->dev_counter[device] > 0) { in mt_hp_event()
1386 } else if (priv->dev_counter[device] < 0) { in mt_hp_event()
1389 priv->dev_counter[device]); in mt_hp_event()
[all …]
Dmt6359.c853 __func__, event, priv->dev_counter[device], mux); in mt_hp_event()
857 priv->dev_counter[device]++; in mt_hp_event()
862 priv->dev_counter[device]--; in mt_hp_event()
978 if (priv->dev_counter[DEVICE_HP] == 0) in mt_lo_event()
1006 if (priv->dev_counter[DEVICE_HP] == 0) in mt_lo_event()
Dmt6359.h2628 int dev_counter[DEVICE_NUM]; member
/Linux-v5.10/drivers/vfio/
Dvfio.c88 unsigned int dev_counter; member
559 group->dev_counter++; in vfio_group_create_device()
572 group->dev_counter--; in vfio_device_release()
1952 if (group->dev_counter > 1) { in vfio_pin_pages()
2056 if (group->dev_counter > 1) in vfio_group_pin_pages()