Lines Matching refs:get_version
394 u8 get_version[] = { 0xaa, ++ttusb->c, 0x17, 5, 0, 0, 0, 0, 0 }; in ttusb_init_controller() local
416 if ((err = ttusb_cmd(ttusb, get_version, in ttusb_init_controller()
417 sizeof(get_version), sizeof(get_version)))) in ttusb_init_controller()
420 dprintk("stc-version: %c%c%c%c%c\n", get_version[4], get_version[5], in ttusb_init_controller()
421 get_version[6], get_version[7], get_version[8]); in ttusb_init_controller()
423 if (memcmp(get_version + 4, "V 0.0", 5) && in ttusb_init_controller()
424 memcmp(get_version + 4, "V 1.1", 5) && in ttusb_init_controller()
425 memcmp(get_version + 4, "V 2.1", 5) && in ttusb_init_controller()
426 memcmp(get_version + 4, "V 2.2", 5)) { in ttusb_init_controller()
428 get_version[4], get_version[5], in ttusb_init_controller()
429 get_version[6], get_version[7], get_version[8]); in ttusb_init_controller()
432 ttusb->revision = ((get_version[6] - '0') << 4) | in ttusb_init_controller()
433 (get_version[8] - '0'); in ttusb_init_controller()