Home
last modified time | relevance | path

Searched refs:shift (Results 101 – 125 of 170) sorted by relevance

1234567

/Zephyr-latest/drivers/sensor/infineon/xmc4xxx_temp/
DKconfig17 Offset adjustment is defined as a shift of the conversion result.
/Zephyr-latest/dts/arm/aspeed/
Dast10x0.dtsi48 reg-shift = <2>;
/Zephyr-latest/boards/qemu/malta/
Dqemu_malta.dts47 reg-shift = <3>;
/Zephyr-latest/include/zephyr/dt-bindings/clock/
Dstm32h7_clock.h83 #define STM32_DOMAIN_CLOCK(val, mask, shift, reg) \ argument
85 (((shift) & STM32_CLOCK_SHIFT_MASK) << STM32_CLOCK_SHIFT_SHIFT) | \
Dstm32u5_clock.h77 #define STM32_DOMAIN_CLOCK(val, mask, shift, reg) \ argument
79 (((shift) & STM32_CLOCK_SHIFT_MASK) << STM32_CLOCK_SHIFT_SHIFT) | \
Dstm32h5_clock.h76 #define STM32_DOMAIN_CLOCK(val, mask, shift, reg) \ argument
78 (((shift) & STM32_CLOCK_SHIFT_MASK) << STM32_CLOCK_SHIFT_SHIFT) | \
/Zephyr-latest/drivers/spi/
Dspi_bitbang.c173 const int shift = lsb ? i : (data->bits - 1 - i); in spi_bitbang_transceive() local
174 const int d = (w >> shift) & 0x1; in spi_bitbang_transceive()
205 r |= (b ? 0x1 : 0x0) << shift; in spi_bitbang_transceive()
/Zephyr-latest/boards/qemu/x86/
Dqemu_x86_lakemont.dts48 reg-shift = <2>;
/Zephyr-latest/drivers/flash/
Dsoc_flash_nrf.c432 static void shift_write_context(uint32_t shift, struct flash_context *w_ctx) in shift_write_context() argument
434 w_ctx->flash_addr += shift; in shift_write_context()
435 w_ctx->data_addr += shift; in shift_write_context()
436 w_ctx->len -= shift; in shift_write_context()
/Zephyr-latest/drivers/adc/
Dadc_stm32.c665 static void adc_stm32_oversampling_ratioshift(ADC_TypeDef *adc, uint32_t ratio, uint32_t shift) in adc_stm32_oversampling_ratioshift() argument
672 && (LL_ADC_GetOverSamplingShift(adc) == shift)) { in adc_stm32_oversampling_ratioshift()
677 LL_ADC_ConfigOverSamplingRatioShift(adc, ratio, shift); in adc_stm32_oversampling_ratioshift()
700 uint32_t shift = table_oversampling_shift[ratio]; in adc_stm32_oversampling() local
705 adc_stm32_oversampling_ratioshift(adc, table_oversampling_ratio[ratio], shift); in adc_stm32_oversampling()
712 adc_stm32_oversampling_ratioshift(adc, 1 << ratio, shift); in adc_stm32_oversampling()
774 uint32_t shift, uint32_t mask) in get_reg_value() argument
781 return ((*(volatile uint32_t *)addr >> shift) & mask); in get_reg_value()
785 uint32_t shift, uint32_t mask, uint32_t value) in set_reg_value() argument
792 MODIFY_REG(*(volatile uint32_t *)addr, (mask << shift), (value << shift)); in set_reg_value()
Dadc_stm32wb0.c305 const uint32_t shift = 4 * (Conversion & 7); in ll_adc_set_conversion_channel() local
307 MODIFY_REG((&ADCx->SEQ_1)[reg], ADC_SEQ_1_SEQ0 << shift, Channel << shift); in ll_adc_set_conversion_channel()
380 const uint32_t shift = (group_shift + type_shift); in ll_adc_set_calib_point_for_any() local
382 MODIFY_REG(ADCx->COMP_SEL, (ADC_COMP_SEL_OFFSET_GAIN0 << shift), (Point << shift)); in ll_adc_set_calib_point_for_any()
/Zephyr-latest/boards/snps/nsim/arc_v/
Drmx1xx.dtsi43 reg-shift = <2>;
/Zephyr-latest/include/zephyr/arch/x86/
Dpagetables.ld9 * to not shift memory addresses that occur after this.
/Zephyr-latest/drivers/sensor/asahi_kasei/akm09918c/
Dakm09918c_decoder.c71 out->shift = AKM09918C_SHIFT; in akm09918c_decoder_decode()
/Zephyr-latest/dts/nios2/intel/
Dnios2f.dtsi42 reg-shift = <2>;
/Zephyr-latest/drivers/interrupt_controller/
Dintc_gicv3.c138 uint32_t shift; in arm_gic_irq_set_priority() local
152 shift = (intid & (GIC_NUM_CFG_PER_REG - 1)) * 2; in arm_gic_irq_set_priority()
155 val &= ~(GICD_ICFGR_MASK << shift); in arm_gic_irq_set_priority()
157 val |= (GICD_ICFGR_TYPE << shift); in arm_gic_irq_set_priority()
/Zephyr-latest/dts/x86/intel/
Dalder_lake.dtsi169 reg-shift = <2>;
188 reg-shift = <2>;
208 reg-shift = <2>;
386 reg-shift = <0>;
/Zephyr-latest/dts/arm64/nxp/
Dnxp_ls1046a.dtsi77 reg-shift = <2>;
/Zephyr-latest/drivers/display/
Dssd1322.c111 size_t shift = BITS_PER_SEGMENT * (seg_idx % SEGMENTS_PER_BYTE); in ssd1322_conv_mono01_grayscale() local
113 if (shift == 0) { in ssd1322_conv_mono01_grayscale()
116 buf_out[seg_idx / SEGMENTS_PER_BYTE] |= color << shift; in ssd1322_conv_mono01_grayscale()
/Zephyr-latest/drivers/clock_control/
Dclock_stm32_ll_wb0.c255 const uint32_t shift = STM32_CLOCK_SHIFT_GET(pclken->enr); in stm32_clock_control_configure() local
268 sys_clear_bits(reg, STM32_CLOCK_MASK_GET(pclken->enr) << shift); in stm32_clock_control_configure()
269 sys_set_bits(reg, STM32_CLOCK_VAL_GET(pclken->enr) << shift); in stm32_clock_control_configure()
/Zephyr-latest/include/zephyr/dsp/
Dbasicmath.h288 DSP_FUNC_SCOPE void zdsp_scale_q7(const DSP_DATA q7_t *src, q7_t scale_fract, int8_t shift,
305 DSP_FUNC_SCOPE void zdsp_scale_q15(const DSP_DATA q15_t *src, q15_t scale_fract, int8_t shift,
322 DSP_FUNC_SCOPE void zdsp_scale_q31(const DSP_DATA q31_t *src, q31_t scale_fract, int8_t shift,
/Zephyr-latest/dts/arm/ti/
Dam62x_m4.dtsi55 reg-shift = <2>;
/Zephyr-latest/include/zephyr/drivers/pinctrl/
Dpinctrl_rcar_common.h18 uint8_t shift:5; /* bit shift 0 - 28 */ member
/Zephyr-latest/drivers/timer/
DKconfig.nrf_rtc43 effectively shift time into the future.
/Zephyr-latest/dts/arm64/rockchip/
Drk3568.dtsi85 reg-shift = <2>;

1234567