zephyr/tests/subsys
Chris Friedt 9504034733 sys: util: use BITS_PER_BYTE macro instead of the magic number 8
Obviously, everyone knows that there are 8 bits per byte, so
there isn't a lot of magic happening, per se, but it's also
helpful to clearly denote where the magic number 8 is referring
to the number of bits in a byte.

Occasionally, 8 will refer to a field size or offset in a
structure, MMR, or word. Occasionally, the number 8 will refer
to the number of bytes in a 64-bit value (which should probably
be replaced with `sizeof(uint64_t)`).

For converting bits to bytes, or vice-versa, let's use
`BITS_PER_BYTE` for clarity (or other appropriate `BITS_PER_*`
macros).

Signed-off-by: Chris Friedt <cfriedt@tenstorrent.com>
2024-11-16 15:22:35 -05:00
..
bindesc tests: Add tests for bindesc reading 2024-10-11 13:20:49 -04:00
canbus/isotp lib: net_buf: rename header file from zephyr/net/buf.h to zephyr/net_buf.h 2024-09-07 11:19:05 -05:00
debug tests: debug/coredump: Change to call k_panic() for ISH SoCs 2024-11-08 15:55:36 -06:00
dfu tests: subsys: dfu: img_util: Increase stack size 2024-11-06 09:57:41 -08:00
display/cfb/basic tests: display: fix test identifier 2024-07-18 06:47:57 -04:00
dsp boards: mps3: Add support for corstone300/an552 2024-10-26 03:58:05 +01:00
edac tests: fix thread function signatures 2023-10-30 12:24:34 +01:00
emul tests/subsys/emul: Don't test on native_posix 2024-09-25 04:04:36 -04:00
fs drivers: disk: mmc_subsys: remove CONFIG_MMC_VOLUME_NAME 2024-11-05 15:25:10 -06:00
input tests: input/api: limit to 1 CPU for thread mode test 2024-10-08 18:17:48 +01:00
ipc ipc: icmsg & icbmsg: Add support for POSIX arch targets 2024-09-26 03:34:26 -04:00
jwt jwt: remove TinyCrypt usage 2024-11-05 13:44:20 -06:00
llext/simple llext: add support for arc 2024-11-16 15:08:51 -05:00
logging yaml: use EXTRA_CONF_FILE in .yaml files 2024-10-17 09:45:25 +02:00
lorawan everywhere: reindent .overlay files with tabs 2024-06-26 15:59:44 +02:00
mem_mgmt tests/subsys/mem_mgmt: Don't test on native_posix 2024-09-25 04:04:36 -04:00
mgmt tests: mgmt: mcumgr: Add transport_lorawan test 2024-10-25 14:00:48 +02:00
modbus modbus: fix support for floating point values 2024-10-08 17:01:19 +02:00
modem modem: cmux: added validation of cmux frame length 2024-11-07 08:31:48 -06:00
openthread net: openthread: make receive sensitivity configurable 2024-10-15 04:06:08 -04:00
pm tests: subsys: pm: power_mgmt: fix incorrect use of OVERLAY_CONFIG 2024-10-24 14:06:54 +02:00
portability tests/samples: use platform_key on cmsis_rtos tests/samples 2024-10-31 09:23:30 -05:00
random/rng tests: random: rng: validate sys_csrand_get availability 2024-10-16 10:00:47 +02:00
rtio i2c: Drop transceive test, fix transfer call count 2024-10-22 18:29:34 -04:00
sd tests: sd: sdmmc: add rcar_h3ulcb_r8a77951_a57 board to test 2024-06-12 21:14:49 -04:00
secure_storage/psa sys: util: use BITS_PER_BYTE macro instead of the magic number 8 2024-11-16 15:22:35 -05:00
sensing tests: sensing: fix identifier 2024-07-18 06:47:57 -04:00
settings yaml: use EXTRA_CONF_FILE in .yaml files 2024-10-17 09:45:25 +02:00
settings_commit_prio settings: Add test for settings commit priority 2024-10-24 22:04:07 +01:00
shell tests: shell: limit build only config tests 2024-11-08 09:24:31 -06:00
sip_svc tests: remove CONFIG_ZTEST_NEW_API in all tests 2023-10-20 15:04:29 +02:00
storage tests: flash_map: Move SHA test to separate test scenario 2024-11-16 13:51:18 -05:00
testsuite/fff_fake_contexts tests: Support targeting unit_testing with and without qualifier 2024-10-25 18:51:10 +01:00
tracing/tracing_api everywhere: reindent .overlay files with tabs 2024-06-26 15:59:44 +02:00
usb tests: usb: uac2: Test Feature Unit descriptor 2024-10-15 19:03:49 +01:00
zbus tests: zbus: publish_stats: Fix for non-zero boot delay 2024-11-06 09:52:58 -08:00