Home
last modified time | relevance | path

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

/openbmc/linux/drivers/char/hw_random/
H A Ds390-trng.c110 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()
/openbmc/linux/sound/soc/codecs/
H A Dmt6358.c91 int dev_counter[DEVICE_NUM]; member
1365 priv->dev_counter[device], in mt_hp_event()
1370 priv->dev_counter[device]++; in mt_hp_event()
1371 if (priv->dev_counter[device] > 1) in mt_hp_event()
1373 else if (priv->dev_counter[device] <= 0) in mt_hp_event()
1376 priv->dev_counter[device]); in mt_hp_event()
1386 priv->dev_counter[device]--; in mt_hp_event()
1387 if (priv->dev_counter[device] > 0) { in mt_hp_event()
1389 } else if (priv->dev_counter[device] < 0) { in mt_hp_event()
1392 priv->dev_counter[device]); in mt_hp_event()
[all …]
H A Dmt6359.c1052 __func__, event, priv->dev_counter[device], mux); in mt_hp_event()
1056 priv->dev_counter[device]++; in mt_hp_event()
1061 priv->dev_counter[device]--; in mt_hp_event()
1178 if (priv->dev_counter[DEVICE_HP] == 0) in mt_lo_event()
1205 if (priv->dev_counter[DEVICE_HP] > 0) { in mt_lo_event()
1207 __func__, priv->dev_counter[DEVICE_HP]); in mt_lo_event()
1221 if (priv->dev_counter[DEVICE_HP] == 0) in mt_lo_event()
H A Dmt6359.h4271 int dev_counter[DEVICE_NUM]; member