Searched refs:exclusive_dev (Results 1 – 2 of 2) sorted by relevance
1275 if (!cd->exclusive_dev && cd->exclusive_waits == 0) { in cyttsp4_request_exclusive()1276 cd->exclusive_dev = ownptr; in cyttsp4_request_exclusive()1284 t = wait_event_timeout(cd->wait_q, !cd->exclusive_dev, t); in cyttsp4_request_exclusive()1294 wait_event(cd->wait_q, !cd->exclusive_dev); in cyttsp4_request_exclusive()1297 if (cd->exclusive_dev) in cyttsp4_request_exclusive()1299 cd->exclusive_dev = ownptr; in cyttsp4_request_exclusive()1313 if (cd->exclusive_dev != ownptr) { in cyttsp4_release_exclusive()1319 __func__, cd->exclusive_dev); in cyttsp4_release_exclusive()1320 cd->exclusive_dev = NULL; in cyttsp4_release_exclusive()1411 __func__, "have exclusive", cd->exclusive_dev, in cyttsp4_set_mode()[all …]
346 void *exclusive_dev; member