Home
last modified time | relevance | path

Searched refs:shift (Results 76 – 100 of 170) sorted by relevance

1234567

/Zephyr-latest/subsys/dsp/cmsis/public/
Dzdsp_backend.h80 static inline void zdsp_scale_q7(const q7_t *src, q7_t scale_fract, int8_t shift, q7_t *dst, in zdsp_scale_q7() argument
83 arm_scale_q7(src, scale_fract, shift, dst, block_size); in zdsp_scale_q7()
85 static inline void zdsp_scale_q15(const q15_t *src, q15_t scale_fract, int8_t shift, q15_t *dst, in zdsp_scale_q15() argument
88 arm_scale_q15(src, scale_fract, shift, dst, block_size); in zdsp_scale_q15()
90 static inline void zdsp_scale_q31(const q31_t *src, q31_t scale_fract, int8_t shift, q31_t *dst, in zdsp_scale_q31() argument
93 arm_scale_q31(src, scale_fract, shift, dst, block_size); in zdsp_scale_q31()
/Zephyr-latest/dts/riscv/
Drenode_riscv32_virt.dtsi82 reg-shift = < 0 >;
93 reg-shift = < 0 >;
/Zephyr-latest/include/zephyr/dt-bindings/clock/
Dstm32f7_clock.h66 #define STM32_DOMAIN_CLOCK(val, mask, shift, reg) \ argument
68 (((shift) & STM32_CLOCK_SHIFT_MASK) << STM32_CLOCK_SHIFT_SHIFT) | \
Dstm32l4_clock.h62 #define STM32_DOMAIN_CLOCK(val, mask, shift, reg) \ argument
64 (((shift) & STM32_CLOCK_SHIFT_MASK) << STM32_CLOCK_SHIFT_SHIFT) | \
Dstm32h7rs_clock.h79 #define STM32_DOMAIN_CLOCK(val, mask, shift, reg) \ argument
81 (((shift) & STM32_CLOCK_SHIFT_MASK) << STM32_CLOCK_SHIFT_SHIFT) | \
/Zephyr-latest/drivers/gpio/
DKconfig.sn74hc5955 bool "SN74HC595 shift register as GPIO extender"
Dgpio_adp5585.c116 uint8_t shift = bank_pin << 1; in gpio_adp5585_config() local
120 shift = (bank_pin - 3U) << 1; in gpio_adp5585_config()
123 reg_value = adp5585_pull_up_300k << shift; in gpio_adp5585_config()
125 reg_value = adp5585_pull_dn_300k << shift; in gpio_adp5585_config()
127 reg_value = adp5585_pull_disable << shift; in gpio_adp5585_config()
131 0b11U << shift, reg_value); in gpio_adp5585_config()
Dgpio_gd32.c85 uint8_t port_index, shift; in gpio_gd32_configure_extiss() local
121 shift = EXTISS_LINE_SHIFT(pin); in gpio_gd32_configure_extiss()
123 *extiss &= ~(EXTISS_MSK << shift); in gpio_gd32_configure_extiss()
124 *extiss |= port_index << shift; in gpio_gd32_configure_extiss()
/Zephyr-latest/tests/unit/pot/
DCMakeLists.txt16 target_compile_options(testbinary PRIVATE -Wno-shift-count-overflow -Wno-integer-overflow)
/Zephyr-latest/dts/riscv/starfive/
Dstarfive_jh7100_beagle_v.dtsi141 reg-shift = <2>;
154 reg-shift = <2>;
167 reg-shift = <2>;
180 reg-shift = <2>;
/Zephyr-latest/boards/snps/nsim/arc_classic/
Dnsim-uart-ns16550.dtsi21 reg-shift = <2>;
/Zephyr-latest/samples/sensor/accel_polling/src/
Dmain.c114 PRIq_arg(accel_data.readings[0].x, 6, accel_data.shift), in print_accels_stream()
115 PRIq_arg(accel_data.readings[0].y, 6, accel_data.shift), in print_accels_stream()
116 PRIq_arg(accel_data.readings[0].z, 6, accel_data.shift), in print_accels_stream()
/Zephyr-latest/include/zephyr/drivers/firmware/scmi/
Dutil.h264 #define SCMI_FIELD_MAKE(x, mask, shift)\ argument
265 (((uint32_t)(x) & (mask)) << (shift))
/Zephyr-latest/dts/arm/ti/
Dj721e_main_r5.dtsi64 reg-shift = <2>;
74 reg-shift = <2>;
/Zephyr-latest/dts/arc/synopsys/
Darc_iot.dtsi83 reg-shift = <2>;
93 reg-shift = <2>;
104 reg-shift = <2>;
115 reg-shift = <2>;
/Zephyr-latest/subsys/net/lib/mqtt/
Dmqtt_decoder.c170 uint8_t shift = 0U; in packet_length_decode() local
184 << shift; in packet_length_decode()
185 shift += MQTT_LENGTH_SHIFT; in packet_length_decode()
/Zephyr-latest/subsys/dsp/arcmwdt/public/
Dzdsp_backend.h85 static inline void zdsp_scale_q7(const DSP_DATA q7_t *src, q7_t scale_fract, int8_t shift, in zdsp_scale_q7() argument
88 dsp_scale_q7(src, scale_fract, shift, dst, block_size); in zdsp_scale_q7()
90 static inline void zdsp_scale_q15(const DSP_DATA q15_t *src, q15_t scale_fract, int8_t shift, in zdsp_scale_q15() argument
93 dsp_scale_q15(src, scale_fract, shift, dst, block_size); in zdsp_scale_q15()
95 static inline void zdsp_scale_q31(const DSP_DATA q31_t *src, q31_t scale_fract, int8_t shift, in zdsp_scale_q31() argument
98 dsp_scale_q31(src, scale_fract, shift, dst, block_size); in zdsp_scale_q31()
/Zephyr-latest/tests/drivers/build_all/interrupt_controller/intc_plic/
Dapp.multi_instance.overlay36 reg-shift = <0>;
/Zephyr-latest/tests/lib/cmsis_nn/src/
Dmain.c190 quant_params.shift = (int32_t *)conv_4_output_shift; in ZTEST()
313 quant_params.shift = (int32_t *)stride2pad1_output_shift; in ZTEST()
401 quant_params.shift = FULLY_CONNECTED_MVE_0_OUTPUT_SHIFT; in ZTEST()
510 const int32_t shift = SOFTMAX_INPUT_LEFT_SHIFT; in ZTEST() local
516 arm_softmax_s8(input_data, num_rows, row_size, mult, shift, diff_min, output); in ZTEST()
599 input_quant_params.shift = SVDF_2_SHIFT_1; in ZTEST()
601 output_quant_params.shift = SVDF_2_SHIFT_2; in ZTEST()
/Zephyr-latest/drivers/timer/
Dti_dmtimer.c45 static void ti_dm_timer_write_masks(uint32_t data, uint32_t reg, uint32_t mask, uint32_t shift) in ti_dm_timer_write_masks() argument
50 reg_val = (reg_val & ~(mask)) | (data << shift); in ti_dm_timer_write_masks()
/Zephyr-latest/include/zephyr/dt-bindings/pinctrl/
Dstm32f1-afio.h32 #define STM32_REMAP(val, mask, shift, reg) \ argument
34 (((shift) & STM32_REMAP_SHIFT_MASK) << STM32_REMAP_SHIFT_SHIFT) | \
/Zephyr-latest/drivers/sensor/
Dsensor_shell.c326 int8_t shift; in sensor_shell_processing_callback() member
415 accumulator_buffer.shift = data->shift; in sensor_shell_processing_callback()
446 accumulator_buffer.shift = data->shift; in sensor_shell_processing_callback()
467 data->shift = accumulator_buffer.shift; in sensor_shell_processing_callback()
481 ch.chan_idx, data->shift, accumulator_buffer.count, in sensor_shell_processing_callback()
513 data->shift = accumulator_buffer.shift; in sensor_shell_processing_callback()
528 data->shift, accumulator_buffer.count, in sensor_shell_processing_callback()
/Zephyr-latest/dts/nios2/intel/
Dnios2-qemu.dtsi48 reg-shift = <2>;
/Zephyr-latest/drivers/interrupt_controller/
Dintc_nuclei_eclic.c101 static inline uint8_t leftalign8(uint8_t val, uint8_t shift) in leftalign8() argument
103 return (val << (8U - shift)); in leftalign8()
/Zephyr-latest/drivers/sensor/st/lis2dw12/
Dlis2dw12.c372 uint8_t shift; in lis2dw12_sample_fetch_accel() local
383 shift = LIS2DW12_SHIFT_PM1; in lis2dw12_sample_fetch_accel()
385 shift = LIS2DW12_SHIFT_PMOTHER; in lis2dw12_sample_fetch_accel()
388 lis2dw12->acc[0] = buf[0] >> shift; in lis2dw12_sample_fetch_accel()
389 lis2dw12->acc[1] = buf[1] >> shift; in lis2dw12_sample_fetch_accel()
390 lis2dw12->acc[2] = buf[2] >> shift; in lis2dw12_sample_fetch_accel()

1234567