Lines Matching refs:default_id
80 int default_id; member
446 adbhid_input_register(int id, int default_id, int original_handler_id, in adbhid_input_register() argument
461 adbhid[id]->id = default_id; in adbhid_input_register()
469 adbhid[id]->input.idproduct = (id << 12) | (default_id << 8) | original_handler_id; in adbhid_input_register()
472 switch (default_id) { in adbhid_input_register()
480 id, default_id, original_handler_id); in adbhid_input_register()
528 id, default_id, original_handler_id); in adbhid_input_register()
539 id, default_id, original_handler_id); in adbhid_input_register()
543 id, default_id, original_handler_id); in adbhid_input_register()
568 adbhid[id]->input.number, id, default_id, original_handler_id); in adbhid_input_register()
570 if (default_id == ADB_KEYBOARD) { in adbhid_input_register()
590 adbhid_input_reregister(int id, int default_id, int org_handler_id, in adbhid_input_reregister() argument
595 ((id << 12)|(default_id << 8)|org_handler_id)) { in adbhid_input_reregister()
597 adbhid_input_register(id, default_id, org_handler_id, in adbhid_input_reregister()
601 adbhid_input_register(id, default_id, org_handler_id, in adbhid_input_reregister()
619 int i, default_id, org_handler_id, cur_handler_id; in adbhid_probe() local
629 adb_get_infos(id, &default_id, &org_handler_id); in adbhid_probe()
648 adb_get_infos(id, &default_id, &cur_handler_id); in adbhid_probe()
649 reg |= adbhid_input_reregister(id, default_id, org_handler_id, cur_handler_id, 0); in adbhid_probe()
655 adb_get_infos(id, &default_id, &org_handler_id); in adbhid_probe()
656 reg |= adbhid_input_reregister(id, default_id, org_handler_id, org_handler_id, 0); in adbhid_probe()
665 adb_get_infos(id, &default_id, &org_handler_id); in adbhid_probe()
744 adb_get_infos(id, &default_id, &cur_handler_id); in adbhid_probe()
745 reg |= adbhid_input_reregister(id, default_id, org_handler_id, in adbhid_probe()