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