Lines Matching refs:dev_counter
91 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()
1393 priv->dev_counter[device] = 0; in mt_hp_event()