Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/char/hw_random/
Ds390-trng.c109 u64 dev_counter = atomic64_read(&trng_dev_counter); in trng_counter_show() local
118 dev_counter, hwrng_counter, arch_counter, in trng_counter_show()
119 dev_counter + hwrng_counter + arch_counter); in trng_counter_show()
/linux-6.1.9/sound/soc/codecs/
Dmt6358.c91 int dev_counter[DEVICE_NUM]; member
1366 priv->dev_counter[device], in mt_hp_event()
1371 priv->dev_counter[device]++; in mt_hp_event()
1372 if (priv->dev_counter[device] > 1) in mt_hp_event()
1374 else if (priv->dev_counter[device] <= 0) in mt_hp_event()
1377 priv->dev_counter[device]); in mt_hp_event()
1387 priv->dev_counter[device]--; in mt_hp_event()
1388 if (priv->dev_counter[device] > 0) { in mt_hp_event()
1390 } else if (priv->dev_counter[device] < 0) { in mt_hp_event()
1393 priv->dev_counter[device]); in mt_hp_event()
[all …]
Dmt6359.c963 __func__, event, priv->dev_counter[device], mux); in mt_hp_event()
967 priv->dev_counter[device]++; in mt_hp_event()
972 priv->dev_counter[device]--; in mt_hp_event()
1088 if (priv->dev_counter[DEVICE_HP] == 0) in mt_lo_event()
1116 if (priv->dev_counter[DEVICE_HP] == 0) in mt_lo_event()
Dmt6359.h4271 int dev_counter[DEVICE_NUM]; member