Home
last modified time | relevance | path

Searched refs:BITS_PER_BYTE (Results 1 – 16 of 16) sorted by relevance

/Zephyr-latest/drivers/fpga/
Dfpga_ice40_spi.c31 uint8_t clock_buf[(UINT8_MAX + 1) / BITS_PER_BYTE]; in fpga_ice40_load()
105 tx_buf.len = DIV_ROUND_UP(config->leading_clocks, BITS_PER_BYTE); in fpga_ice40_load()
137 tx_buf.len = DIV_ROUND_UP(config->trailing_clocks, BITS_PER_BYTE); in fpga_ice40_load()
/Zephyr-latest/include/zephyr/sys/
Dutil.h33 #define NUM_BITS(t) (sizeof(t) * BITS_PER_BYTE)
61 #define BITS_PER_BYTE (__CHAR_BIT__) macro
67 #define NIBBLES_PER_BYTE (BITS_PER_BYTE / BITS_PER_NIBBLE)
Drb.h70 #define Z_PBITS(t) (BITS_PER_BYTE * sizeof(t))
Datomic.h76 #define ATOMIC_BITS (sizeof(atomic_val_t) * BITS_PER_BYTE)
/Zephyr-latest/subsys/demand_paging/eviction/
Dlru.c55 #define PF_IDX_BITS ROUND_UP(LOG2CEIL(K_MEM_NUM_PAGE_FRAMES + 1), BITS_PER_BYTE)
/Zephyr-latest/samples/subsys/input/draw_touch_events/src/
Dmain.c29 #define BPP ((DISPLAY_BITS_PER_PIXEL(PIXEL_FORMAT)) / BITS_PER_BYTE)
/Zephyr-latest/tests/subsys/secure_storage/psa/crypto/src/
Dmain.c91 uint8_t key_material[KEY_BITS / BITS_PER_BYTE]; in ZTEST()
/Zephyr-latest/subsys/shell/modules/
Ddevmem_service.c48 const size_t vsize = width / BITS_PER_BYTE; in memory_dump()
/Zephyr-latest/drivers/display/
Ddisplay_mcux_dcnano_lcdif.c260 (DISPLAY_BITS_PER_PIXEL(DT_INST_PROP(n, pixel_format)) / BITS_PER_BYTE)
Ddisplay_mcux_elcdif.c250 dev_data->pixel_bytes = DISPLAY_BITS_PER_PIXEL(pixel_format) / BITS_PER_BYTE; in mcux_elcdif_set_pixel_format()
Ddisplay_renesas_lcdc.c48 (DISPLAY_BITS_PER_PIXEL(DT_INST_PROP(inst, pixel_format)) / BITS_PER_BYTE)
/Zephyr-latest/drivers/mipi_dbi/
Dmipi_dbi_smartbond.c341 if (desc->width * desc->height * (DISPLAY_BITS_PER_PIXEL(pixfmt) / BITS_PER_BYTE) != in mipi_dbi_smartbond_write_display()
/Zephyr-latest/kernel/
Duserspace.c75 #define MAX_THREAD_BITS (CONFIG_MAX_THREAD_BYTES * BITS_PER_BYTE)
/Zephyr-latest/tests/kernel/mem_protect/mem_protect/src/
Dkobject.c1186 #define MAX_THREAD_BITS (CONFIG_MAX_THREAD_BYTES * BITS_PER_BYTE)
/Zephyr-latest/drivers/clock_control/
Dclock_control_litex.c234 int assert = (1 << (drp[reg].size * BITS_PER_BYTE)) - 1; in litex_clk_assert_reg()
/Zephyr-latest/subsys/bluetooth/host/
Dgatt.c649 cfg->data[i] |= value[i] & BIT_MASK(CF_NUM_BITS % BITS_PER_BYTE); in cf_set_value()