Home
last modified time | relevance | path

Searched refs:b_hi (Results 1 – 5 of 5) sorted by relevance

/Zephyr-Core-3.4.0/drivers/dai/intel/alh/
Dalh.h30 #define ALH_SET_BITS(b_hi, b_lo, x) \ argument
31 (((x) & ((1ULL << ((b_hi) - (b_lo) + 1ULL)) - 1ULL)) << (b_lo))
/Zephyr-Core-3.4.0/drivers/dai/intel/ssp/
Dssp.h15 #define DAI_INTEL_SSP_MASK(b_hi, b_lo) \ argument
16 (((1ULL << ((b_hi) - (b_lo) + 1ULL)) - 1ULL) << (b_lo))
18 #define DAI_INTEL_SSP_SET_BITS(b_hi, b_lo, x) \ argument
19 (((x) & ((1ULL << ((b_hi) - (b_lo) + 1ULL)) - 1ULL)) << (b_lo))
22 #define DAI_INTEL_SSP_GET_BITS(b_hi, b_lo, x) \ argument
23 (((x) & MASK(b_hi, b_lo)) >> (b_lo))
/Zephyr-Core-3.4.0/drivers/neural_net/
Dintel_gna.h88 #define GNA_GET_BITS(val, b_hi, b_lo) ((((uint32_t)(val)) << (31 - (b_hi))) >> \ argument
89 (31 - (b_hi) + (b_lo)))
/Zephyr-Core-3.4.0/drivers/dma/
Ddma_dw_common.h17 #define MASK(b_hi, b_lo) \ argument
18 (((1ULL << ((b_hi) - (b_lo) + 1ULL)) - 1ULL) << (b_lo))
20 #define SET_BITS(b_hi, b_lo, x) \ argument
21 (((x) & ((1ULL << ((b_hi) - (b_lo) + 1ULL)) - 1ULL)) << (b_lo))
/Zephyr-Core-3.4.0/drivers/dai/intel/dmic/
Ddmic.h13 #define MASK(b_hi, b_lo) \ argument
14 (((1ULL << ((b_hi) - (b_lo) + 1ULL)) - 1ULL) << (b_lo))
18 #define SET_BITS(b_hi, b_lo, x) \ argument
19 (((x) & ((1ULL << ((b_hi) - (b_lo) + 1ULL)) - 1ULL)) << (b_lo))
24 #define GET_BITS(b_hi, b_lo, x) \ argument
25 (((x) & MASK(b_hi, b_lo)) >> (b_lo))