Home
last modified time | relevance | path

Searched refs:device_printer (Results 1 – 4 of 4) sorted by relevance

/USBX-v6.2.1/test/regression/
Dusbx_class_printer_device_standalone_basic_tests.c73 static UX_DEVICE_CLASS_PRINTER *device_printer = UX_NULL; variable
245 if (device_printer == UX_NULL) in test_printer_instance_activate()
246 device_printer = (UX_DEVICE_CLASS_PRINTER *)dummy_instance; in test_printer_instance_activate()
250 if ((VOID*)device_printer == dummy_instance) in test_printer_instance_deactivate()
251 device_printer = UX_NULL; in test_printer_instance_deactivate()
413 if (device_printer && host_printer) in _test_check_host_connection_error()
422 if (device_printer && host_printer) in _test_check_host_connection_success()
429 if (device_printer == UX_NULL && host_printer == UX_NULL) in _test_check_host_disconnection_success()
617 …ux_device_class_printer_ioctl(device_printer, UX_DEVICE_CLASS_PRINTER_IOCTL_PORT_STATUS_SET, (VOID… in _printer_requests_test()
764 if (device_printer != UX_NULL) in tx_test_thread_slave_simulation_entry()
[all …]
Dusbx_ux_host_class_printer_basic_tests.c79 static UX_DEVICE_CLASS_PRINTER *device_printer = UX_NULL; variable
247 if (device_printer == UX_NULL) in test_printer_instance_activate()
248 device_printer = (UX_DEVICE_CLASS_PRINTER *)dummy_instance; in test_printer_instance_activate()
252 if ((VOID*)device_printer == dummy_instance) in test_printer_instance_deactivate()
253 device_printer = UX_NULL; in test_printer_instance_deactivate()
459 if (device_printer && host_printer) in _test_check_host_connection_error()
468 if (device_printer && host_printer) in _test_check_host_connection_success()
475 if (device_printer == UX_NULL && host_printer == UX_NULL) in _test_check_host_disconnection_success()
663 device_printer->port_status = 0x73; in _printer_requests_test()
669 device_printer->soft_reset = 0; in _printer_requests_test()
[all …]
Dusbx_msrc_81572_standalone_host_printer_allocated_enum_free_test.c79 static UX_DEVICE_CLASS_PRINTER *device_printer = UX_NULL; variable
286 if (device_printer == UX_NULL) in test_printer_instance_activate()
287 device_printer = (UX_DEVICE_CLASS_PRINTER *)dummy_instance; in test_printer_instance_activate()
291 if ((VOID*)device_printer == dummy_instance) in test_printer_instance_deactivate()
292 device_printer = UX_NULL; in test_printer_instance_deactivate()
415 if (device_printer && host_printer) in _test_check_host_connection_error()
424 if (device_printer && host_printer) in _test_check_host_connection_success()
431 if (device_printer == UX_NULL && host_printer == UX_NULL) in _test_check_host_disconnection_success()
Dusbx_class_printer_basic_tests.c79 static UX_DEVICE_CLASS_PRINTER *device_printer = UX_NULL; variable
249 if (device_printer == UX_NULL) in test_printer_instance_activate()
250 device_printer = (UX_DEVICE_CLASS_PRINTER *)dummy_instance; in test_printer_instance_activate()
254 if ((VOID*)device_printer == dummy_instance) in test_printer_instance_deactivate()
255 device_printer = UX_NULL; in test_printer_instance_deactivate()
462 if (device_printer && host_printer) in _test_check_host_connection_error()
471 if (device_printer && host_printer) in _test_check_host_connection_success()
478 if (device_printer == UX_NULL && host_printer == UX_NULL) in _test_check_host_disconnection_success()
666 …ux_device_class_printer_ioctl(device_printer, UX_DEVICE_CLASS_PRINTER_IOCTL_PORT_STATUS_SET, (VOID… in _printer_requests_test()
684 if (device_printer == UX_NULL) in tx_test_printer_read_entry()
[all …]