Searched refs:dev_counter (Results 1 - 9 of 9) sorted by relevance
/kernel/linux/linux-5.10/drivers/char/hw_random/ |
H A D | s390-trng.c | 109 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()
|
/kernel/linux/linux-6.6/drivers/char/hw_random/ |
H A D | s390-trng.c | 110 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()
|
/kernel/linux/linux-5.10/sound/soc/codecs/ |
H A D | mt6358.c | 91 int dev_counter[DEVICE_NUM]; member 1363 dev_info(priv->dev, "%s(), event 0x%x, dev_counter[DEV_HP] %d, mux %u\n", in mt_hp_event() 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() 1375 dev_warn(priv->dev, "%s(), dev_counter[DEV_HP] %d <= 0\n", 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[devic in mt_hp_event() [all...] |
H A D | mt6359.c | 852 dev_dbg(priv->dev, "%s(), event 0x%x, dev_counter[DEV_HP] %d, mux %u\n", in mt_hp_event() 853 __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()
|
H A D | mt6359.h | 2628 int dev_counter[DEVICE_NUM]; member
|
/kernel/linux/linux-6.6/sound/soc/codecs/ |
H A D | mt6358.c | 91 int dev_counter[DEVICE_NUM]; member 1362 dev_info(priv->dev, "%s(), event 0x%x, dev_counter[DEV_HP] %d, mux %u\n", in mt_hp_event() 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() 1374 dev_warn(priv->dev, "%s(), dev_counter[DEV_HP] %d <= 0\n", 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[devic in mt_hp_event() [all...] |
H A D | mt6359.c | 1051 dev_dbg(priv->dev, "%s(), event 0x%x, dev_counter[DEV_HP] %d, mux %u\n", in mt_hp_event() 1052 __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 D | mt6359.h | 4271 int dev_counter[DEVICE_NUM]; member
|
/kernel/linux/linux-5.10/drivers/vfio/ |
H A D | vfio.c | 87 unsigned int dev_counter; member 795 group->dev_counter++; in vfio_register_group_dev() 940 group->dev_counter--; in vfio_unregister_group_dev() 1913 if (group->dev_counter > 1) { in vfio_pin_pages() 2017 if (group->dev_counter > 1) in vfio_group_pin_pages()
|
Completed in 68 milliseconds