u-boot/test/dm
Simon Glass 2177f924bf test: Avoid random numbers in dm_test_devm_regmap()
There is no good reason to use a sequence from rand() here. We may as well
invent our own sequence.

This should molify Coverity which does not use rand() being used.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reported-by: Coverity (CID: 312949)
2021-05-24 14:21:30 -04:00
..
acpi_dp.c dm: acpi: Use correct GPIO polarity type in acpi_dp_add_gpio() 2020-09-25 11:27:14 +08:00
acpi.c test: acpi: Fix warnings on 32-bit build 2021-03-13 13:14:52 -05:00
acpi.h acpi: Support generation of a scope 2020-07-17 14:32:24 +08:00
acpigen.c acpi: Add more support for generating processor tables 2020-09-25 11:27:18 +08:00
adc.c dm: treewide: Rename 'platdata' variables to just 'plat' 2020-12-13 16:51:08 -07:00
audio.c dm: Rename DM test flags to make them more generic 2020-08-07 22:31:32 -04:00
axi.c dm: Rename DM test flags to make them more generic 2020-08-07 22:31:32 -04:00
blk.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
bootcount.c i2c: eeprom: Use reg property instead of offset and size 2020-08-20 09:49:20 +02:00
bus.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
button.c test: add a simple test for the adc-keys button driver 2021-02-18 11:37:26 +01:00
cache.c dm: Rename DM test flags to make them more generic 2020-08-07 22:31:32 -04:00
clk_ccf.c clk: do not disable clock if it is critical 2020-09-22 11:27:18 +03:00
clk.c clk: add clk_round_rate() 2021-01-12 10:58:04 +05:30
core.c test: Drop struct dm_test_state 2021-03-12 09:57:30 -05:00
cpu.c dm: core: Access device flags through functions 2021-01-05 12:24:41 -07:00
cros_ec.c cros_ec: Add vstore support 2021-01-30 14:25:41 -07:00
devres.c dm: treewide: Rename ofdata_to_platdata() to of_to_plat() 2020-12-13 16:51:09 -07:00
dma.c dm: Rename DM test flags to make them more generic 2020-08-07 22:31:32 -04:00
dsa.c sandbox: Add a DSA sandbox driver and unit test 2021-04-15 14:22:17 +05:30
dsi_host.c dm: Rename DM test flags to make them more generic 2020-08-07 22:31:32 -04:00
eth.c sandbox: Add a DSA sandbox driver and unit test 2021-04-15 14:22:17 +05:30
fastboot.c fastboot: Allow u-boot-style partitions 2021-02-26 15:30:55 +01:00
fdtdec.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
firmware.c dm: Rename DM test flags to make them more generic 2020-08-07 22:31:32 -04:00
gpio.c gpio: Add a way to read 3-way strapping pins 2021-03-03 15:40:47 -05:00
hwspinlock.c dm: Rename DM test flags to make them more generic 2020-08-07 22:31:32 -04:00
i2c.c dm: test: Drop assumptions of no sequence numbers 2020-12-18 20:32:21 -07:00
i2s.c dm: Rename DM test flags to make them more generic 2020-08-07 22:31:32 -04:00
irq.c dm: Rename DM test flags to make them more generic 2020-08-07 22:31:32 -04:00
k210_pll.c clk: Add K210 pll support 2020-07-01 15:01:21 +08:00
Kconfig test: Move the unit tests to their own menu 2015-05-21 09:16:17 -04:00
led.c test: dm: Test for default led naming 2020-10-08 11:42:36 -04:00
mailbox.c dm: Rename DM test flags to make them more generic 2020-08-07 22:31:32 -04:00
Makefile test: Add gpio-sysinfo test 2021-05-04 07:57:18 -04:00
mdio_mux.c dm: Rename DM test flags to make them more generic 2020-08-07 22:31:32 -04:00
mdio.c dm: Rename DM test flags to make them more generic 2020-08-07 22:31:32 -04:00
misc.c dm: Rename DM test flags to make them more generic 2020-08-07 22:31:32 -04:00
mmc.c mmc: sandbox: Add support for writing 2021-02-26 15:30:55 +01:00
mux-cmd.c test: mux-cmd: Add tests for the 'mux' command 2020-10-28 11:49:31 -04:00
mux-emul.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
mux-mmio.c test: Add tests for the multiplexer framework 2020-10-28 11:49:31 -04:00
nop.c dm: Rename DM test flags to make them more generic 2020-08-07 22:31:32 -04:00
of_extra.c test: dm: Add a case to test ofnode_phy_is_fixed_link() 2021-04-15 14:22:17 +05:30
of_platdata.c dm: core: Create a struct for device runtime info 2021-03-26 17:03:09 +13:00
ofnode.c test: dm: add test item for ofnode_get_addr() and ofnode_get_size() 2021-04-29 03:23:39 -07:00
ofread.c dm: treewide: Rename 'platdata' variables to just 'plat' 2020-12-13 16:51:08 -07:00
osd.c dm: Rename DM test flags to make them more generic 2020-08-07 22:31:32 -04:00
p2sb.c dm: Rename DM test flags to make them more generic 2020-08-07 22:31:32 -04:00
panel.c video: backlight: fix pwm's duty cycle calculation 2020-10-18 15:07:33 +02:00
part.c test: Add test for partitions 2021-04-22 14:09:45 -04:00
pch.c dm: Rename DM test flags to make them more generic 2020-08-07 22:31:32 -04:00
pci_ep.c dm: Rename DM test flags to make them more generic 2020-08-07 22:31:32 -04:00
pci.c dm: core: Use dev_has_ofnode() instead of dev_of_valid() 2021-01-05 12:24:41 -07:00
phy.c sandbox: dts: Add compatible string for bind-test node 2020-08-22 07:58:39 -06:00
phys2bus.c dm: test: Add test case for dev_phys_to_bus()/dev_bus_to_phys() 2021-02-18 11:56:25 +01:00
pinmux.c test: pinmux: add test for 'pinctrl-single' driver 2021-04-12 11:17:15 +05:30
pmc.c dm: Rename DM test flags to make them more generic 2020-08-07 22:31:32 -04:00
pmic.c dm: Rename DM test flags to make them more generic 2020-08-07 22:31:32 -04:00
power-domain.c dm: Rename DM test flags to make them more generic 2020-08-07 22:31:32 -04:00
pwm.c video: backlight: Support PWMs without a known period_ns 2021-04-10 16:07:12 +02:00
qfw.c test: qemu: add qfw sandbox driver, dm tests, qemu tests 2021-04-12 17:45:39 -04:00
ram.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
read.c dm: test: Add test case for dev_get_dma_ranges() 2021-02-18 11:56:25 +01:00
regmap.c test: Avoid random numbers in dm_test_devm_regmap() 2021-05-24 14:21:30 -04:00
regulator.c dm: treewide: Rename 'platdata' variables to just 'plat' 2020-12-13 16:51:08 -07:00
remoteproc.c dm: Rename DM test flags to make them more generic 2020-08-07 22:31:32 -04:00
reset.c test: reset: Extend base reset test to catch error 2021-04-27 08:07:05 -04:00
rng.c dm: Rename DM test flags to make them more generic 2020-08-07 22:31:32 -04:00
rtc.c dm: Rename DM test flags to make them more generic 2020-08-07 22:31:32 -04:00
scmi.c test: scmi: add local variables for scmi agent reference 2021-04-12 17:17:11 -04:00
serial.c dm: Rename DM test flags to make them more generic 2020-08-07 22:31:32 -04:00
sf.c sf: Support querying write-protect 2021-03-27 15:04:31 +13:00
simple-bus.c test: dm: Add a test case for simple-bus <ranges> 2021-04-15 14:22:17 +05:30
simple-pm-bus.c dm: Rename DM test flags to make them more generic 2020-08-07 22:31:32 -04:00
smem.c dm: Rename DM test flags to make them more generic 2020-08-07 22:31:32 -04:00
soc.c dm: Rename DM test flags to make them more generic 2020-08-07 22:31:32 -04:00
sound.c dm: Rename DM test flags to make them more generic 2020-08-07 22:31:32 -04:00
spi.c test: dm: spi: Add testcase for spi_claim_bus() 2020-12-22 20:39:26 -07:00
spmi.c dm: Rename DM test flags to make them more generic 2020-08-07 22:31:32 -04:00
syscon-reset.c dm: Rename DM test flags to make them more generic 2020-08-07 22:31:32 -04:00
syscon.c dm: Rename DM test flags to make them more generic 2020-08-07 22:31:32 -04:00
sysinfo-gpio.c test: Add gpio-sysinfo test 2021-05-04 07:57:18 -04:00
sysinfo.c sysinfo: Require that sysinfo_detect be called before other methods 2021-05-04 07:57:18 -04:00
sysreset.c test: adjust sysreset tests 2020-11-05 09:11:30 -07:00
tee.c test: dm: tee: extend with RPC test 2021-02-16 11:48:20 -05:00
test-dm.c test: Allow SPL to run any available test 2021-03-12 09:57:31 -05:00
test-driver.c test: Use a local variable for test state 2021-03-12 09:57:30 -05:00
test-fdt.c Revert "fdt: translate address if #size-cells = <0>" 2021-05-12 16:27:57 +05:30
test-uclass.c test: Use a local variable for test state 2021-03-12 09:57:30 -05:00
timer.c timer: Add a test for timer_timebase_fallback 2020-09-30 08:54:45 +08:00
usb.c common: rename getc() to getchar() 2020-10-22 09:54:53 -04:00
video.c dm: treewide: Rename dev_get_platdata() to dev_get_plat() 2020-12-13 16:51:09 -07:00
virtio.c dm: core: Avoid partially removing devices 2021-02-03 03:38:41 -07:00
wdt.c dm: Rename DM test flags to make them more generic 2020-08-07 22:31:32 -04:00