Lines Matching refs:dev_counter
91 int dev_counter[DEVICE_NUM]; member
1401 priv->dev_counter[device], in mt_hp_event()
1406 priv->dev_counter[device]++; in mt_hp_event()
1407 if (priv->dev_counter[device] > 1) in mt_hp_event()
1409 else if (priv->dev_counter[device] <= 0) in mt_hp_event()
1412 priv->dev_counter[device]); in mt_hp_event()
1422 priv->dev_counter[device]--; in mt_hp_event()
1423 if (priv->dev_counter[device] > 0) { in mt_hp_event()
1425 } else if (priv->dev_counter[device] < 0) { in mt_hp_event()
1428 priv->dev_counter[device]); in mt_hp_event()
1429 priv->dev_counter[device] = 0; in mt_hp_event()