Home
last modified time | relevance | path

Searched defs:shift (Results 1 – 25 of 88) sorted by relevance

1234

/Zephyr-latest/include/zephyr/dt-bindings/pinctrl/renesas/
Dpinctrl-rcar-common.h25 #define IPSR(bank, shift, func) (((bank) << 10U) | ((shift) << 4U) | (func)) argument
49 #define IPnSR(bank, reg, shift, func) \ argument
52 #define IP0SR0(shift, func) IPnSR(0, 0, shift, func) argument
53 #define IP1SR0(shift, func) IPnSR(1, 0, shift, func) argument
54 #define IP2SR0(shift, func) IPnSR(2, 0, shift, func) argument
55 #define IP3SR0(shift, func) IPnSR(3, 0, shift, func) argument
56 #define IP0SR1(shift, func) IPnSR(0, 1, shift, func) argument
57 #define IP1SR1(shift, func) IPnSR(1, 1, shift, func) argument
58 #define IP2SR1(shift, func) IPnSR(2, 1, shift, func) argument
59 #define IP3SR1(shift, func) IPnSR(3, 1, shift, func) argument
[all …]
/Zephyr-latest/include/zephyr/dsp/
Dprint_format.h32 static inline int64_t ___PRIq_arg_shift(int64_t q, int shift) in ___PRIq_arg_shift()
45 #define __PRIq_arg_shift(q, shift) ___PRIq_arg_shift(q, ((shift) + (8 * (4 - (int)sizeof(q))))) argument
46 #define __PRIq_arg_get(q, shift, h, l) FIELD_GET(GENMASK64(h, l), __PRIq_arg_shift(q, shift)) argument
47 #define __PRIq_arg_get_int(q, shift) __PRIq_arg_get(q, shift, 63, 31) argument
48 #define __PRIq_arg_get_frac(q, precision, shift) \ argument
58 #define PRIq_arg(q, precision, shift) \ argument
/Zephyr-latest/tests/subsys/dsp/utils/src/
Df32.c31 static void test_shift_f32_to_q7(const float32_t data, const uint32_t shift, in test_shift_f32_to_q7()
41 static void test_shift_f32_to_q15(const float32_t data, const uint32_t shift, in test_shift_f32_to_q15()
51 static void test_shift_f32_to_q31(const float32_t data, const uint32_t shift, in test_shift_f32_to_q31()
Df64.c30 static void test_shift_f64_to_q7(const float64_t data, const uint32_t shift, in test_shift_f64_to_q7()
40 static void test_shift_f64_to_q15(const float64_t data, const uint32_t shift, in test_shift_f64_to_q15()
50 static void test_shift_f64_to_q31(const float64_t data, const uint32_t shift, in test_shift_f64_to_q31()
Dq15.c30 static void test_shift_q15_to_f32(const q15_t data, const uint32_t shift, const float32_t expected) in test_shift_q15_to_f32()
39 static void test_shift_q15_to_f64(const q15_t data, const uint32_t shift, const float64_t expected) in test_shift_q15_to_f64()
Dq31.c31 static void test_shift_q31_to_f32(const q31_t data, const uint32_t shift, const float32_t expected) in test_shift_q31_to_f32()
40 static void test_shift_q31_to_f64(const q31_t data, const uint32_t shift, const float64_t expected) in test_shift_q31_to_f64()
Dq7.c29 static void test_shift_q7_to_f32(const q7_t data, const uint32_t shift, const float32_t expected) in test_shift_q7_to_f32()
38 static void test_shift_q7_to_f64(const q7_t data, const uint32_t shift, const float64_t expected) in test_shift_q7_to_f64()
/Zephyr-latest/include/zephyr/drivers/
Demul_sensor.h73 int8_t shift) in emul_sensor_backend_set_channel()
106 q31_t *upper, q31_t *epsilon, int8_t *shift) in emul_sensor_backend_get_sample_range()
168 q31_t *increment, int8_t *shift) in emul_sensor_backend_get_attribute_metadata()
Dsensor_attribute_types.h28 int8_t shift; member
/Zephyr-latest/drivers/sensor/tdk/icm42688/
Dicm42688_emul.c128 int8_t *shift) in icm42688_emul_get_accel_settings()
181 q31_t *epsilon, int8_t *shift) in icm42688_emul_get_accel_ranges()
199 int *sensitivity, int8_t *shift) in icm42688_emul_get_gyro_settings()
272 q31_t *epsilon, int8_t *shift) in icm42688_emul_get_gyro_ranges()
300 q31_t *upper, q31_t *epsilon, int8_t *shift) in icm42688_emul_backend_get_sample_range()
332 const q31_t *value, int8_t shift) in icm42688_emul_backend_set_channel()
/Zephyr-latest/drivers/sensor/bosch/bmi160/
Demul_bmi160.c89 int shift; in reg_write() local
288 const q31_t *value, int8_t shift) in bmi160_emul_backend_set_channel()
376 q31_t *upper, q31_t *epsilon, int8_t *shift) in bmi160_emul_backend_get_sample_range()
449 const q31_t *values, int8_t shift) in bmi160_emul_backend_set_offset()
534 q31_t *max, q31_t *increment, int8_t *shift) in bmi160_emul_backend_get_attribute_metadata()
/Zephyr-latest/drivers/sensor/bosch/bma4xx/
Dbma4xx_emul.c191 void bma4xx_emul_set_accel_data(const struct emul *target, q31_t value, int8_t shift, int8_t reg) in bma4xx_emul_set_accel_data()
220 const q31_t *value, int8_t shift) in bma4xx_emul_backend_set_channel()
255 q31_t *upper, q31_t *epsilon, int8_t *shift) in bma4xx_emul_backend_get_sample_range()
/Zephyr-latest/drivers/sensor/amd_sb_tsi/
Dsb_tsi_emul.c103 const q31_t *value, int8_t shift) in sb_tsi_emul_set_channel()
125 q31_t *lower, q31_t *upper, q31_t *epsilon, int8_t *shift) in sb_tsi_emul_get_sample_range()
/Zephyr-latest/drivers/sensor/f75303/
Df75303_emul.c107 const q31_t *value, int8_t shift) in f75303_emul_set_channel()
143 q31_t *lower, q31_t *upper, q31_t *epsilon, int8_t *shift) in f75303_emul_get_sample_range()
/Zephyr-latest/include/zephyr/sensing/
Dsensing_datatypes.h70 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/tests/drivers/build_all/sensor/src/
Dgeneric_test.c113 int8_t shift; in run_generic_test() local
218 int8_t shift; in run_generic_test() local
/Zephyr-latest/drivers/sensor/asahi_kasei/akm09918c/
Dakm09918c_emul.c137 const q31_t *value, int8_t shift) in akm09918c_emul_backend_set_channel()
182 q31_t *upper, q31_t *epsilon, int8_t *shift) in akm09918c_emul_backend_get_sample_range()
/Zephyr-latest/include/zephyr/dt-bindings/clock/
Dstm32_common_clocks.h47 #define STM32_MCO_CFGR(val, mask, shift, reg) \ argument
Dstm32l1_clock.h51 #define STM32_DOMAIN_CLOCK(val, mask, shift, reg) \ argument
/Zephyr-latest/subsys/sensing/sensor/phy_3d_sensor/
Dphy_3d_sensor.h17 const int8_t shift; member
Dphy_3d_sensor.c26 static int64_t shifted_q31_to_scaled_int64(q31_t q, int8_t shift, int64_t scale) in shifted_q31_to_scaled_int64()
46 int8_t shift) in scaled_int64_to_shifted_q31()
/Zephyr-latest/subsys/bluetooth/mesh/
Drpl.c240 int shift = 0; in bt_mesh_rpl_reset() local
346 int shift = 0; in bt_mesh_rpl_pending_store() local
/Zephyr-latest/tests/lib/cmsis_dsp/fastmath/src/
Dq15.c123 uint16_t *shift; in ZTEST() local
/Zephyr-latest/include/zephyr/dt-bindings/adc/
Dstm32_adc.h37 #define STM32_ADC(real_val, reg_val, mask, shift, reg) \ argument
/Zephyr-latest/subsys/shell/
Dshell_wildcard.c19 uint16_t shift; in command_add() local

1234