Home
last modified time | relevance | path

Searched refs:tests (Results 1 – 25 of 89) sorted by relevance

1234

/drivers/of/unittest-data/
Dtestcases_common.dtsi14 #include "tests-phandle.dtsi"
15 #include "tests-interrupts.dtsi"
16 #include "tests-match.dtsi"
17 #include "tests-address.dtsi"
18 #include "tests-platform.dtsi"
19 #include "tests-overlay.dtsi"
/drivers/net/ethernet/sfc/falcon/
Dselftest.c96 static int ef4_test_phy_alive(struct ef4_nic *efx, struct ef4_self_tests *tests) in ef4_test_phy_alive() argument
102 tests->phy_alive = rc ? -1 : 1; in ef4_test_phy_alive()
108 static int ef4_test_nvram(struct ef4_nic *efx, struct ef4_self_tests *tests) in ef4_test_nvram() argument
117 tests->nvram = rc ? -1 : 1; in ef4_test_nvram()
131 struct ef4_self_tests *tests) in ef4_test_interrupts() argument
138 tests->interrupt = -1; in ef4_test_interrupts()
144 tests->interrupt = 0; in ef4_test_interrupts()
167 tests->interrupt = 1; in ef4_test_interrupts()
173 struct ef4_self_tests *tests) in ef4_test_eventq_irq() argument
221 tests->eventq_dma[channel->channel] = dma_seen ? 1 : -1; in ef4_test_eventq_irq()
[all …]
Dethtool.c297 struct ef4_self_tests *tests, in ef4_ethtool_fill_self_tests() argument
304 ef4_fill_test(n++, strings, data, &tests->phy_alive, in ef4_ethtool_fill_self_tests()
306 ef4_fill_test(n++, strings, data, &tests->nvram, in ef4_ethtool_fill_self_tests()
308 ef4_fill_test(n++, strings, data, &tests->interrupt, in ef4_ethtool_fill_self_tests()
314 &tests->eventq_dma[channel->channel], in ef4_ethtool_fill_self_tests()
318 &tests->eventq_int[channel->channel], in ef4_ethtool_fill_self_tests()
323 ef4_fill_test(n++, strings, data, &tests->memory, in ef4_ethtool_fill_self_tests()
325 ef4_fill_test(n++, strings, data, &tests->registers, in ef4_ethtool_fill_self_tests()
339 ef4_fill_test(n++, strings, data, &tests->phy_ext[i], in ef4_ethtool_fill_self_tests()
349 &tests->loopback[mode], mode, n, in ef4_ethtool_fill_self_tests()
/drivers/net/ethernet/sfc/
Dselftest.c99 static int efx_test_phy_alive(struct efx_nic *efx, struct efx_self_tests *tests) in efx_test_phy_alive() argument
104 tests->phy_alive = rc ? -1 : 1; in efx_test_phy_alive()
109 static int efx_test_nvram(struct efx_nic *efx, struct efx_self_tests *tests) in efx_test_nvram() argument
118 tests->nvram = rc ? -1 : 1; in efx_test_nvram()
132 struct efx_self_tests *tests) in efx_test_interrupts() argument
139 tests->interrupt = -1; in efx_test_interrupts()
145 tests->interrupt = 0; in efx_test_interrupts()
168 tests->interrupt = 1; in efx_test_interrupts()
174 struct efx_self_tests *tests) in efx_test_eventq_irq() argument
222 tests->eventq_dma[channel->channel] = dma_seen ? 1 : -1; in efx_test_eventq_irq()
[all …]
Dethtool_common.c344 struct efx_self_tests *tests, in efx_ethtool_fill_self_tests() argument
351 efx_fill_test(n++, strings, data, &tests->phy_alive, in efx_ethtool_fill_self_tests()
353 efx_fill_test(n++, strings, data, &tests->nvram, in efx_ethtool_fill_self_tests()
355 efx_fill_test(n++, strings, data, &tests->interrupt, in efx_ethtool_fill_self_tests()
361 &tests->eventq_dma[channel->channel], in efx_ethtool_fill_self_tests()
365 &tests->eventq_int[channel->channel], in efx_ethtool_fill_self_tests()
370 efx_fill_test(n++, strings, data, &tests->memory, in efx_ethtool_fill_self_tests()
372 efx_fill_test(n++, strings, data, &tests->registers, in efx_ethtool_fill_self_tests()
383 efx_fill_test(n++, strings, data, &tests->phy_ext[i], "phy", 0, name, NULL); in efx_ethtool_fill_self_tests()
391 &tests->loopback[mode], mode, n, in efx_ethtool_fill_self_tests()
/drivers/gpu/drm/i915/gem/selftests/
Di915_gem_object.c76 static const struct i915_subtest tests[] = { in i915_gem_object_mock_selftests() local
86 err = i915_subtests(tests, i915); in i915_gem_object_mock_selftests()
94 static const struct i915_subtest tests[] = { in i915_gem_object_live_selftests() local
98 return i915_subtests(tests, i915); in i915_gem_object_live_selftests()
Di915_gem_phys.c73 static const struct i915_subtest tests[] = { in i915_gem_phys_mock_selftests() local
83 err = i915_subtests(tests, i915); in i915_gem_phys_mock_selftests()
Di915_gem_dmabuf.c449 static const struct i915_subtest tests[] = { in i915_gem_dmabuf_mock_selftests() local
463 err = i915_subtests(tests, i915); in i915_gem_dmabuf_mock_selftests()
471 static const struct i915_subtest tests[] = { in i915_gem_dmabuf_live_selftests() local
478 return i915_subtests(tests, i915); in i915_gem_dmabuf_live_selftests()
Di915_gem_execbuffer.c182 static const struct i915_subtest tests[] = { in i915_gem_execbuffer_live_selftests() local
189 return i915_live_subtests(tests, i915); in i915_gem_execbuffer_live_selftests()
Di915_gem_migrate.c232 static const struct i915_subtest tests[] = { in i915_gem_migrate_live_selftests() local
242 return intel_gt_live_subtests(tests, &i915->gt); in i915_gem_migrate_live_selftests()
/drivers/gpu/drm/i915/gt/
Dselftest_engine.c11 static int (* const tests[])(struct intel_gt *) = { in intel_engine_live_selftests() local
16 typeof(*tests) *fn; in intel_engine_live_selftests()
18 for (fn = tests; *fn; fn++) { in intel_engine_live_selftests()
Dselftest_gt_pm.c183 static const struct i915_subtest tests[] = { in intel_gt_pm_live_selftests() local
199 return intel_gt_live_subtests(tests, &i915->gt); in intel_gt_pm_live_selftests()
204 static const struct i915_subtest tests[] = { in intel_gt_pm_late_selftests() local
216 return intel_gt_live_subtests(tests, &i915->gt); in intel_gt_pm_late_selftests()
Dst_shmem_utils.c58 static const struct i915_subtest tests[] = { in shmem_utils_mock_selftests() local
62 return i915_subtests(tests, NULL); in shmem_utils_mock_selftests()
Dselftest_engine_cs.c359 static const struct i915_subtest tests[] = { in intel_engine_cs_perf_selftests() local
367 return intel_gt_live_subtests(tests, &i915->gt); in intel_engine_cs_perf_selftests()
418 static const struct i915_subtest tests[] = { in intel_engine_cs_mock_selftests() local
422 return i915_subtests(tests, NULL); in intel_engine_cs_mock_selftests()
Dselftest_ring.c105 static const struct i915_subtest tests[] = { in intel_ring_mock_selftests() local
109 return i915_subtests(tests, NULL); in intel_ring_mock_selftests()
/drivers/gpu/drm/i915/selftests/
Dintel_memory_region.c1047 } tests[] = { in _perf_memcpy() local
1079 for (i = 0; i < ARRAY_SIZE(tests); ++i) { in _perf_memcpy()
1083 if (tests[i].skip) in _perf_memcpy()
1091 tests[i].copy(dst_addr, src_addr, size); in _perf_memcpy()
1104 tests[i].name, size >> 10, in _perf_memcpy()
1113 tests[i].name, size >> 10, in _perf_memcpy()
1175 static const struct i915_subtest tests[] = { in intel_memory_region_mock_selftests() local
1197 err = i915_subtests(tests, mem); in intel_memory_region_mock_selftests()
1207 static const struct i915_subtest tests[] = { in intel_memory_region_live_selftests() local
1223 return i915_live_subtests(tests, i915); in intel_memory_region_live_selftests()
[all …]
Di915_gem_evict.c513 static const struct i915_subtest tests[] = { in i915_gem_evict_mock_selftests() local
529 err = i915_subtests(tests, &i915->gt); in i915_gem_evict_mock_selftests()
537 static const struct i915_subtest tests[] = { in i915_gem_evict_live_selftests() local
544 return intel_gt_live_subtests(tests, &i915->gt); in i915_gem_evict_live_selftests()
Di915_gem.c245 static const struct i915_subtest tests[] = { in i915_gem_live_selftests() local
254 return i915_live_subtests(tests, i915); in i915_gem_live_selftests()
/drivers/firmware/psci/
DKconfig12 The torture tests may interfere with the PSCI checker by turning CPUs
13 on and off through hotplug, so for now torture tests and PSCI checker
/drivers/soc/fsl/qbman/
DKconfig30 tristate "BMan self-tests"
32 Compile the BMan self-test code. These tests will
46 tristate "QMan self-tests"
/drivers/gpu/drm/
Ddrm_color_mgmt.c598 int drm_color_lut_check(const struct drm_property_blob *lut, u32 tests) in drm_color_lut_check() argument
603 if (!lut || !tests) in drm_color_lut_check()
608 if (tests & DRM_COLOR_LUT_EQUAL_CHANNELS) { in drm_color_lut_check()
616 if (i > 0 && tests & DRM_COLOR_LUT_NON_DECREASING) { in drm_color_lut_check()
/drivers/gpu/drm/nouveau/
DKbuild10 #- code also used by various userspace tools/tests
15 #- code also used by various userspace tools/tests
/drivers/mtd/
DKconfig16 tristate "MTD tests support (DANGEROUS)"
19 This option includes various MTD tests into compilation. The tests
23 WARNING: some of the tests will ERASE entire MTD device which they
24 test. Do not use these tests unless you really know what you do.
/drivers/dma-buf/
Dst-dma-fence-unwrap.c253 static const struct subtest tests[] = { in dma_fence_unwrap() local
260 return subtests(tests, NULL); in dma_fence_unwrap()
/drivers/iio/test/
DKconfig3 # Industrial I/O subsystem unit tests configuration

1234