Lines Matching refs:adb_controller
44 EXPORT_SYMBOL(adb_controller);
76 struct adb_driver *adb_controller; variable
302 adb_controller = NULL; in adb_init()
307 adb_controller = driver; in adb_init()
311 if ((adb_controller == NULL) || adb_controller->init()) { in adb_init()
313 adb_controller = NULL; in adb_init()
347 if (adb_controller->autopoll) in adb_notify_sleep()
348 adb_controller->autopoll(0); in adb_notify_sleep()
381 if (adb_controller == NULL) in do_adb_reset_bus()
384 if (adb_controller->autopoll) in do_adb_reset_bus()
385 adb_controller->autopoll(0); in do_adb_reset_bus()
389 if (adb_controller->autopoll) in do_adb_reset_bus()
390 adb_controller->autopoll(devs); in do_adb_reset_bus()
405 if (adb_controller->reset_bus) in do_adb_reset_bus()
406 ret = adb_controller->reset_bus(); in do_adb_reset_bus()
417 if (adb_controller->autopoll) in do_adb_reset_bus()
418 adb_controller->autopoll(devs); in do_adb_reset_bus()
431 if ((adb_controller == NULL)||(adb_controller->poll == NULL)) in adb_poll()
433 adb_controller->poll(); in adb_poll()
453 if ((adb_controller == NULL) || (adb_controller->send_request == NULL)) in adb_request()
489 rc = adb_controller->send_request(req, 0); in adb_request()
497 rc = adb_controller->send_request(req, flags & ADBREQ_SYNC); in adb_request()
667 if (MINOR(inode->i_rdev) > 0 || adb_controller == NULL) in adb_open()
775 if (adb_controller == NULL) in adb_write()
820 if (adb_controller && adb_controller->send_request) in adb_write()
821 ret = adb_controller->send_request(req, 0); in adb_write()