Lines Matching refs:default_id
213 int default_id; member
753 adbhid_input_register(int id, int default_id, int original_handler_id, in adbhid_input_register() argument
774 sprintf(hid->phys, "adb%d:%d.%02x/input", id, default_id, original_handler_id); in adbhid_input_register()
777 hid->id = default_id; in adbhid_input_register()
787 input_dev->id.product = (id << 12) | (default_id << 8) | original_handler_id; in adbhid_input_register()
790 switch (default_id) { in adbhid_input_register()
895 if (default_id == ADB_KEYBOARD) { in adbhid_input_register()
924 adbhid_input_reregister(int id, int default_id, int org_handler_id, in adbhid_input_reregister() argument
929 ((id << 12)|(default_id << 8)|org_handler_id)) { in adbhid_input_reregister()
931 adbhid_input_register(id, default_id, org_handler_id, in adbhid_input_reregister()
935 adbhid_input_register(id, default_id, org_handler_id, in adbhid_input_reregister()
953 int i, default_id, org_handler_id, cur_handler_id; in adbhid_probe() local
963 adb_get_infos(id, &default_id, &org_handler_id); in adbhid_probe()
977 adb_get_infos(id, &default_id, &cur_handler_id); in adbhid_probe()
980 reg |= adbhid_input_reregister(id, default_id, org_handler_id, in adbhid_probe()
987 adb_get_infos(id, &default_id, &org_handler_id); in adbhid_probe()
988 reg |= adbhid_input_reregister(id, default_id, org_handler_id, in adbhid_probe()
999 adb_get_infos(id, &default_id, &org_handler_id); in adbhid_probe()
1075 adb_get_infos(id, &default_id, &cur_handler_id); in adbhid_probe()
1078 reg |= adbhid_input_reregister(id, default_id, org_handler_id, in adbhid_probe()