Searched refs:BITS_PER_BYTE (Results 1 – 16 of 16) sorted by relevance
31 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()
33 #define NUM_BITS(t) (sizeof(t) * BITS_PER_BYTE)61 #define BITS_PER_BYTE (__CHAR_BIT__) macro67 #define NIBBLES_PER_BYTE (BITS_PER_BYTE / BITS_PER_NIBBLE)
70 #define Z_PBITS(t) (BITS_PER_BYTE * sizeof(t))
76 #define ATOMIC_BITS (sizeof(atomic_val_t) * BITS_PER_BYTE)
55 #define PF_IDX_BITS ROUND_UP(LOG2CEIL(K_MEM_NUM_PAGE_FRAMES + 1), BITS_PER_BYTE)
29 #define BPP ((DISPLAY_BITS_PER_PIXEL(PIXEL_FORMAT)) / BITS_PER_BYTE)
91 uint8_t key_material[KEY_BITS / BITS_PER_BYTE]; in ZTEST()
48 const size_t vsize = width / BITS_PER_BYTE; in memory_dump()
260 (DISPLAY_BITS_PER_PIXEL(DT_INST_PROP(n, pixel_format)) / BITS_PER_BYTE)
250 dev_data->pixel_bytes = DISPLAY_BITS_PER_PIXEL(pixel_format) / BITS_PER_BYTE; in mcux_elcdif_set_pixel_format()
48 (DISPLAY_BITS_PER_PIXEL(DT_INST_PROP(inst, pixel_format)) / BITS_PER_BYTE)
341 if (desc->width * desc->height * (DISPLAY_BITS_PER_PIXEL(pixfmt) / BITS_PER_BYTE) != in mipi_dbi_smartbond_write_display()
75 #define MAX_THREAD_BITS (CONFIG_MAX_THREAD_BYTES * BITS_PER_BYTE)
1186 #define MAX_THREAD_BITS (CONFIG_MAX_THREAD_BYTES * BITS_PER_BYTE)
234 int assert = (1 << (drp[reg].size * BITS_PER_BYTE)) - 1; in litex_clk_assert_reg()
649 cfg->data[i] |= value[i] & BIT_MASK(CF_NUM_BITS % BITS_PER_BYTE); in cf_set_value()