Lines Matching refs:adb_controller
79 static struct adb_driver *adb_controller; variable
267 if (adb_controller->autopoll) in __adb_suspend()
268 adb_controller->autopoll(0); in __adb_suspend()
326 adb_controller = NULL; in adb_init()
331 adb_controller = driver; in adb_init()
335 if (adb_controller != NULL && adb_controller->init && in adb_init()
336 adb_controller->init()) in adb_init()
337 adb_controller = NULL; in adb_init()
338 if (adb_controller == NULL) { in adb_init()
360 if (adb_controller == NULL) in do_adb_reset_bus()
363 if (adb_controller->autopoll) in do_adb_reset_bus()
364 adb_controller->autopoll(0); in do_adb_reset_bus()
380 if (adb_controller->reset_bus) in do_adb_reset_bus()
381 ret = adb_controller->reset_bus(); in do_adb_reset_bus()
392 if (adb_controller->autopoll) in do_adb_reset_bus()
393 adb_controller->autopoll(autopoll_devs); in do_adb_reset_bus()
406 if ((adb_controller == NULL)||(adb_controller->poll == NULL)) in adb_poll()
408 adb_controller->poll(); in adb_poll()
428 if ((adb_controller == NULL) || (adb_controller->send_request == NULL)) in adb_request()
453 rc = adb_controller->send_request(req, 0); in adb_request()
669 if (iminor(inode) > 0 || adb_controller == NULL) { in adb_open()
779 if (adb_controller == NULL) in adb_write()
821 if (adb_controller && adb_controller->send_request) in adb_write()
822 ret = adb_controller->send_request(req, 0); in adb_write()