/Zephyr-latest/include/zephyr/sys/ |
D | util.h | 475 static inline int64_t arithmetic_shift_right(int64_t value, uint8_t shift) in arithmetic_shift_right() argument 479 if (shift == 0U) { in arithmetic_shift_right() 490 return (value >> shift) | (sign_ext << (64 - shift)); in arithmetic_shift_right() 627 uint8_t shift = 31 - index; in sign_extend() local 629 return (int32_t)(value << shift) >> shift; in sign_extend() 642 uint8_t shift = 63 - index; in sign_extend_64() local 644 return (int64_t)(value << shift) >> shift; in sign_extend_64()
|
/Zephyr-latest/include/zephyr/sensing/ |
D | sensing_datatypes.h | 70 int8_t shift; /**< The shift value for the q31_t v[3] reading. */ member 119 int8_t shift; /**< The shift value for the q31_t v reading. */ member
|
/Zephyr-latest/include/zephyr/dt-bindings/clock/ |
D | stm32_common_clocks.h | 47 #define STM32_MCO_CFGR(val, mask, shift, reg) \ argument 49 (((shift) & STM32_MCO_CFGR_SHIFT_MASK) << STM32_MCO_CFGR_SHIFT_SHIFT) | \
|
D | stm32l1_clock.h | 51 #define STM32_DOMAIN_CLOCK(val, mask, shift, reg) \ argument 53 (((shift) & STM32_CLOCK_SHIFT_MASK) << STM32_CLOCK_SHIFT_SHIFT) | \
|
D | stm32wb0_clock.h | 52 #define STM32_DOMAIN_CLOCK(val, mask, shift, reg) \ argument 54 (((shift) & STM32_CLOCK_SHIFT_MASK) << STM32_CLOCK_SHIFT_SHIFT) | \
|
D | stm32f1_clock.h | 53 #define STM32_DOMAIN_CLOCK(val, mask, shift, reg) \ argument 55 (((shift) & STM32_CLOCK_SHIFT_MASK) << STM32_CLOCK_SHIFT_SHIFT) | \
|
D | stm32l0_clock.h | 56 #define STM32_DOMAIN_CLOCK(val, mask, shift, reg) \ argument 58 (((shift) & STM32_CLOCK_SHIFT_MASK) << STM32_CLOCK_SHIFT_SHIFT) | \
|
D | stm32f0_clock.h | 55 #define STM32_DOMAIN_CLOCK(val, mask, shift, reg) \ argument 57 (((shift) & STM32_CLOCK_SHIFT_MASK) << STM32_CLOCK_SHIFT_SHIFT) | \
|
D | stm32f4_clock.h | 68 #define STM32_DOMAIN_CLOCK(val, mask, shift, reg) \ argument 70 (((shift) & STM32_CLOCK_SHIFT_MASK) << STM32_CLOCK_SHIFT_SHIFT) | \
|
D | stm32c0_clock.h | 54 #define STM32_DOMAIN_CLOCK(val, mask, shift, reg) \ argument 56 (((shift) & STM32_CLOCK_SHIFT_MASK) << STM32_CLOCK_SHIFT_SHIFT) | \
|
D | stm32wb_clock.h | 63 #define STM32_DOMAIN_CLOCK(val, mask, shift, reg) \ argument 65 (((shift) & STM32_CLOCK_SHIFT_MASK) << STM32_CLOCK_SHIFT_SHIFT) | \
|
D | stm32wl_clock.h | 63 #define STM32_DOMAIN_CLOCK(val, mask, shift, reg) \ argument 65 (((shift) & STM32_CLOCK_SHIFT_MASK) << STM32_CLOCK_SHIFT_SHIFT) | \
|
/Zephyr-latest/samples/sensor/bme280/src/ |
D | main.c | 97 PRIq_arg(temp_data.readings[0].temperature, 6, temp_data.shift), in main() 98 PRIq_arg(press_data.readings[0].pressure, 6, press_data.shift), in main() 99 PRIq_arg(hum_data.readings[0].humidity, 6, hum_data.shift)); in main()
|
/Zephyr-latest/drivers/sensor/memsic/mmc56x3/ |
D | mmc56x3_decoder.c | 86 out->shift = MMC56X3_TEMP_SHIFT; in mmc56x3_decoder_decode() 98 out->shift = MMC56X3_MAGN_SHIFT; in mmc56x3_decoder_decode() 110 out->shift = MMC56X3_MAGN_SHIFT; in mmc56x3_decoder_decode() 122 out->shift = MMC56X3_MAGN_SHIFT; in mmc56x3_decoder_decode() 133 out_3->shift = MMC56X3_MAGN_SHIFT; in mmc56x3_decoder_decode()
|
/Zephyr-latest/drivers/watchdog/ |
D | wdt_iwdg_stm32.c | 67 uint8_t shift = 0U; in iwdg_stm32_convert_timeout() local 73 shift++; in iwdg_stm32_convert_timeout() 74 divider = 4U << shift; in iwdg_stm32_convert_timeout() 81 *prescaler = shift; in iwdg_stm32_convert_timeout()
|
/Zephyr-latest/include/zephyr/dt-bindings/adc/ |
D | stm32_adc.h | 37 #define STM32_ADC(real_val, reg_val, mask, shift, reg) \ argument 39 (((shift) & STM32_ADC_SHIFT_MASK) << STM32_ADC_SHIFT_SHIFT) | \
|
/Zephyr-latest/drivers/sensor/bosch/bme280/ |
D | bme280_decoder.c | 79 out->shift = BME280_TEMP_SHIFT; in bme280_decoder_decode() 92 out->shift = BME280_PRESS_SHIFT; in bme280_decoder_decode() 100 out->shift = BME280_HUM_SHIFT; in bme280_decoder_decode()
|
/Zephyr-latest/drivers/sensor/ |
D | default_rtio_sensor.c | 147 header->shift = 0; in sensor_submit_fallback_sync() 208 if (header->shift < new_shift) { in sensor_submit_fallback_sync() 215 q[q_idx] = q[q_idx] >> (new_shift - header->shift); in sensor_submit_fallback_sync() 217 header->shift = new_shift; in sensor_submit_fallback_sync() 244 ((value_u * ((INT64_C(1) << 31) - 1)) / 1000000) >> header->shift; in sensor_submit_fallback_sync() 250 q[sample_idx + sample], header->shift); in sensor_submit_fallback_sync() 410 data_out->shift = header->shift; in decode_three_axis() 438 data_out->shift = header->shift; in decode_q31()
|
/Zephyr-latest/soc/mediatek/mt8xxx/ |
D | cpuclk.c | 111 static void setclk(int clk, int shift, int updreg, int ubit, int val) in setclk() argument 113 MTK_CLK_GEN.clk_cfg[clk].clr = (0xf << shift); in setclk() 115 MTK_CLK_GEN.clk_cfg[clk].set = (val << shift); in setclk()
|
/Zephyr-latest/dts/arm/broadcom/ |
D | valkyrie.dtsi | 39 reg-shift = <2>; 48 reg-shift = <2>;
|
/Zephyr-latest/drivers/gpio/ |
D | gpio_mcux_igpio.c | 278 int shift; in mcux_igpio_pin_interrupt_configure() local 308 shift = 2 * pin; in mcux_igpio_pin_interrupt_configure() 309 base->ICR1 = (base->ICR1 & ~(3 << shift)) | (icr << shift); in mcux_igpio_pin_interrupt_configure() 311 shift = 2 * (pin - 16); in mcux_igpio_pin_interrupt_configure() 312 base->ICR2 = (base->ICR2 & ~(3 << shift)) | (icr << shift); in mcux_igpio_pin_interrupt_configure()
|
/Zephyr-latest/arch/arm64/core/ |
D | elf.c | 301 int shift = 10; /* shift of the immediate in instruction encoding */ in imm_reloc_handler() local 339 shift = 5; in imm_reloc_handler() 353 shift = 5; in imm_reloc_handler() 369 shift = 0; in imm_reloc_handler() 391 shift = 0; in imm_reloc_handler() 396 opcode &= ~(bitmask << shift); in imm_reloc_handler() 397 opcode |= (imm & bitmask) << shift; in imm_reloc_handler()
|
/Zephyr-latest/soc/andestech/ae350/ |
D | pma.c | 96 uint8_t shift = PMACFG_SHIFT(entry_index); in write_pmacfg_entry() local 108 pmacfg &= ~(0xFF << shift); in write_pmacfg_entry() 110 pmacfg |= entry_value << shift; in write_pmacfg_entry()
|
/Zephyr-latest/subsys/shell/ |
D | shell_wildcard.c | 19 uint16_t shift; in command_add() local 32 shift = z_shell_strlen(completion_addr); in command_add() 35 memmove(completion_addr + cmd_len + 1, completion_addr, shift + 1); in command_add()
|
/Zephyr-latest/subsys/bluetooth/controller/util/ |
D | util.c | 327 uint8_t shift, byteIdx, bits; in util_get_bits() local 330 shift = 0; in util_get_bits() 335 value |= ((data[byteIdx] >> bit_offs) & BIT_MASK(bits)) << shift; in util_get_bits() 336 shift += bits; in util_get_bits()
|