Home
last modified time | relevance | path

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

/Linux-v5.4/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.4/sound/soc/codecs/
Dmt6358.c91 int dev_counter[DEVICE_NUM]; member
1255 priv->dev_counter[device], in mt_hp_event()
1260 priv->dev_counter[device]++; in mt_hp_event()
1261 if (priv->dev_counter[device] > 1) in mt_hp_event()
1263 else if (priv->dev_counter[device] <= 0) in mt_hp_event()
1266 priv->dev_counter[device]); in mt_hp_event()
1276 priv->dev_counter[device]--; in mt_hp_event()
1277 if (priv->dev_counter[device] > 0) { in mt_hp_event()
1279 } else if (priv->dev_counter[device] < 0) { in mt_hp_event()
1282 priv->dev_counter[device]); in mt_hp_event()
[all …]