Home
last modified time | relevance | path

Searched refs:fake (Results 1 – 25 of 53) sorted by relevance

123

/linux/drivers/of/
H A Doverlay_test.c62 struct kunit fake; in of_overlay_apply_kunit_cleanup() local
73 kunit_init_test(&fake, "fake test", NULL); in of_overlay_apply_kunit_cleanup()
74 KUNIT_ASSERT_EQ(test, fake.status, KUNIT_SUCCESS); in of_overlay_apply_kunit_cleanup()
77 of_overlay_apply_kunit(&fake, kunit_overlay_test)); in of_overlay_apply_kunit_cleanup()
81 of_node_put_kunit(&fake, np); in of_overlay_apply_kunit_cleanup()
88 kunit_cleanup(&fake); in of_overlay_apply_kunit_cleanup()
/linux/lib/kunit/
H A Dkunit-test.c668 struct kunit fake; in kunit_status_set_failure_test() local
670 kunit_init_test(&fake, "fake test", NULL); in kunit_status_set_failure_test()
672 KUNIT_EXPECT_EQ(test, fake.status, (enum kunit_status)KUNIT_SUCCESS); in kunit_status_set_failure_test()
673 kunit_set_failure(&fake); in kunit_status_set_failure_test()
674 KUNIT_EXPECT_EQ(test, fake.status, (enum kunit_status)KUNIT_FAILURE); in kunit_status_set_failure_test()
679 struct kunit fake; in kunit_status_mark_skipped_test() local
681 kunit_init_test(&fake, "fake test", NULL); in kunit_status_mark_skipped_test()
684 KUNIT_EXPECT_EQ(test, fake.status, KUNIT_SUCCESS); in kunit_status_mark_skipped_test()
685 KUNIT_EXPECT_STREQ(test, fake.status_comment, ""); in kunit_status_mark_skipped_test()
688 kunit_mark_skipped(&fake, "Accepts format string: %s", "YES"); in kunit_status_mark_skipped_test()
[all …]
H A Dplatform-test.c72 struct kunit fake; in kunit_platform_device_add_cleans_up() local
75 kunit_init_test(&fake, "kunit_platform_device_add_fake_test", NULL); in kunit_platform_device_add_cleans_up()
76 KUNIT_ASSERT_EQ(test, fake.status, KUNIT_SUCCESS); in kunit_platform_device_add_cleans_up()
78 pdev = kunit_platform_device_alloc(&fake, name, id); in kunit_platform_device_add_cleans_up()
80 KUNIT_ASSERT_EQ(test, 0, kunit_platform_device_add(&fake, pdev)); in kunit_platform_device_add_cleans_up()
87 kunit_cleanup(&fake); in kunit_platform_device_add_cleans_up()
/linux/drivers/net/wireless/marvell/libertas/
H A Dcfg.c1704 u8 *fake = fake_ie; in lbs_join_post() local
1713 *fake++ = WLAN_EID_SSID; in lbs_join_post()
1714 *fake++ = params->ssid_len; in lbs_join_post()
1715 memcpy(fake, params->ssid, params->ssid_len); in lbs_join_post()
1716 fake += params->ssid_len; in lbs_join_post()
1718 *fake++ = WLAN_EID_SUPP_RATES; in lbs_join_post()
1719 *fake++ = 4; in lbs_join_post()
1720 *fake++ = 0x82; in lbs_join_post()
1721 *fake++ = 0x84; in lbs_join_post()
1722 *fake++ = 0x8b; in lbs_join_post()
[all …]
/linux/tools/testing/selftests/bpf/progs/
H A Dtest_autoload.c34 struct fake_kernel_struct *fake = (void *)ctx; in prog3() local
35 fake->whatever = 123; in prog3()
/linux/Documentation/driver-api/media/drivers/
H A Dvidtv.rst18 - A fake tuner driver, which will report a bad signal quality if the chosen
22 - A fake demod driver, which will constantly poll the fake signal quality
26 - A fake bridge driver, which is the module responsible for modprobing the
27 fake tuner and demod modules and implementing the demux logic. This module
32 passed to the bridge driver. This fake stream contains some hardcoded content.
81 This probability be used by the fake demodulator driver to
87 probability be used by the fake demodulator driver to eventually
129 Implements a fake tuner DVB driver.
132 Implements a fake demodulator DVB driver.
365 Vidtv is a fake driver and does not validate much of the information
/linux/fs/ext4/
H A Ddir.c89 bool fake = is_fake_dir_entry(de); in __ext4_check_dir_entry() local
92 if (unlikely(rlen < ext4_dir_rec_len(1, fake ? NULL : dir))) in __ext4_check_dir_entry()
97 fake ? NULL : dir))) in __ext4_check_dir_entry()
119 rlen, size, fake); in __ext4_check_dir_entry()
125 rlen, size, fake); in __ext4_check_dir_entry()
/linux/drivers/memory/tegra/
H A Dtegra210-emc-cc-r21021.c359 struct tegra210_emc_timing *fake, *last = emc->last, *next = emc->next; in tegra210_emc_r21021_set_clock() local
379 fake = tegra210_emc_find_timing(emc, last->rate * 1000UL); in tegra210_emc_r21021_set_clock()
489 if (periodic_compensation_handler(emc, DVFS_SEQUENCE, fake, next)) in tegra210_emc_r21021_set_clock()
668 tRTM = fake->dram_timings[RL] + div_o3(3600, src_clk_period) + in tegra210_emc_r21021_set_clock()
1056 value = (1000 * fake->dram_timings[T_RP]) / src_clk_period; in tegra210_emc_r21021_set_clock()
1065 delay += (1000 * fake->dram_timings[T_RP]) / in tegra210_emc_r21021_set_clock()
1067 delay += 4000 * fake->dram_timings[T_RFC]; in tegra210_emc_r21021_set_clock()
1089 delay = ((1000 * fake->dram_timings[T_RP] / src_clk_period) + in tegra210_emc_r21021_set_clock()
1090 (1000 * fake->dram_timings[T_RFC] / src_clk_period)); in tegra210_emc_r21021_set_clock()
/linux/drivers/crypto/intel/qat/qat_common/
H A Dadf_dev_mgr.c48 static int adf_get_vf_real_id(u32 fake) in adf_get_vf_real_id() argument
55 if (ptr->fake_id == fake) in adf_get_vf_real_id()
/linux/drivers/iio/dummy/
H A DKconfig28 The purpose of this is to generate 'fake' event interrupts thus
/linux/tools/testing/selftests/net/packetdrill/
H A Dtcp_inq_server.pkt45 // We read 10K and we should have one "fake" byte because the connection is
H A Dtcp_inq_client.pkt45 // We read 10K and we should have one "fake" byte because the connection is
/linux/tools/testing/selftests/firmware/
H A Dfw_lib.sh164 echo $(__setup_random_file fake)
/linux/drivers/gpu/drm/xe/tests/
H A Dxe_sriov_pf_service_kunit.c14 struct xe_pci_fake_data fake = { in pf_service_test_init() local
21 test->priv = &fake; in pf_service_test_init()
H A Dxe_guc_relay_test.c27 struct xe_pci_fake_data fake = { in relay_test_init() local
35 test->priv = &fake; in relay_test_init()
/linux/arch/arm64/boot/dts/rockchip/
H A Dpx30-ringneck-haikou-lvds-9904379.dtso7 * This adapter needs to be plugged in the fake PCIe connector called Video
/linux/drivers/phy/tegra/
H A Dxusb.c1086 int fake; in tegra_xusb_update_usb3_fake_port() local
1094 fake = tegra_xusb_find_unused_usb3_port(usb2->base.padctl); in tegra_xusb_update_usb3_fake_port()
1095 if (fake < 0) { in tegra_xusb_update_usb3_fake_port()
1100 dev_dbg(&usb2->base.dev, "Found unused usb3 port: %d\n", fake); in tegra_xusb_update_usb3_fake_port()
1101 usb2->usb3_port_fake = fake; in tegra_xusb_update_usb3_fake_port()
/linux/tools/perf/util/
H A Dpmus.c880 static struct perf_pmu fake = { in perf_pmus__fake_pmu() local
883 .format = LIST_HEAD_INIT(fake.format), in perf_pmus__fake_pmu()
886 return &fake; in perf_pmus__fake_pmu()
/linux/drivers/staging/vme_user/
H A DKconfig36 If you say Y here you get support for the fake VME bridge. This
/linux/Documentation/i2c/
H A Di2c-stub.rst8 This module is a very simple fake I2C/SMBus driver. It implements six
/linux/Documentation/filesystems/ext4/
H A Dchecksums.rst51 fake entry enclosing the checksum field.
H A Ddirectory.rst189 directory entry block up to (but not including) the fake directory entry.
367 - fake.inode
371 - fake.rec_len
/linux/tools/testing/selftests/arm64/signal/
H A DREADME53 successfully progressed up to the stage of triggering the fake sigreturn
/linux/Documentation/usb/
H A Dauthorization.rst91 can fake descriptors and device info. Don't trust that. You are
/linux/drivers/net/ieee802154/
H A DKconfig18 Say Y here to enable the fake driver that can emulate a net

123