// SPDX-License-Identifier: GPL-2.0-only // // device-attribute-test.c - An application of Kunit to test implementation for device attributes. // // Copyright (c) 2023 Takashi Sakamoto // // This file can not be built independently since it is intentionally included in core-device.c. #include <kunit/test.h> // Configuration ROM for AV/C Devices 1.0 (Dec. 12, 2000, 1394 Trading Association) // Annex C:Configuration ROM example(informative) // C.1 Simple AV/C device // // Copied from the documentation. static const u32 simple_avc_config_rom[] = …; // Ibid. // Annex A:Consideration for configuration ROM reader design (informative) // A.1 Vendor directory // // Written by hand. static const u32 legacy_avc_config_rom[] = …; static void device_attr_simple_avc(struct kunit *test) { … } static void device_attr_legacy_avc(struct kunit *test) { … } static struct kunit_case device_attr_test_cases[] = …; static struct kunit_suite device_attr_test_suite = …; kunit_test_suite(…) …;