Home
last modified time | relevance | path

Searched refs:int32_t (Results 1 – 25 of 795) sorted by relevance

12345678910>>...32

/Zephyr-Core-3.7.0/tests/drivers/i2c/i2c_bme688/src/
Dsensor.c10 int32_t calculate_temperature(uint32_t adc_temp, int32_t *t_fine, in calculate_temperature()
16 var1 = ((int32_t)adc_temp >> 3) - ((int32_t)cal_coeffs->par_t1 << 1); in calculate_temperature()
17 var2 = (var1 * (int32_t)cal_coeffs->par_t2) >> 11; in calculate_temperature()
19 var3 = ((var3) * ((int32_t)cal_coeffs->par_t3 << 4)) >> 14; in calculate_temperature()
29 uint32_t calculate_pressure(uint32_t pres_adc, int32_t t_fine, in calculate_pressure()
32 int32_t var1; in calculate_pressure()
33 int32_t var2; in calculate_pressure()
34 int32_t var3; in calculate_pressure()
35 int32_t pressure_comp; in calculate_pressure()
36 const int32_t pres_ovf_check = INT32_C(0x40000000); in calculate_pressure()
[all …]
/Zephyr-Core-3.7.0/include/zephyr/drivers/timer/
Dnrf_grtc_timer.h29 typedef void (*z_nrf_grtc_timer_compare_handler_t)(int32_t id, uint64_t expire_time,
37 int32_t z_nrf_grtc_timer_chan_alloc(void);
43 void z_nrf_grtc_timer_chan_free(int32_t chan);
58 bool z_nrf_grtc_timer_compare_evt_check(int32_t chan);
68 uint32_t z_nrf_grtc_timer_compare_evt_address_get(int32_t chan);
78 uint32_t z_nrf_grtc_timer_capture_task_address_get(int32_t chan);
88 bool z_nrf_grtc_timer_compare_int_lock(int32_t chan);
98 void z_nrf_grtc_timer_compare_int_unlock(int32_t chan, bool key);
110 int z_nrf_grtc_timer_compare_read(int32_t chan, uint64_t *val);
125 int z_nrf_grtc_timer_set(int32_t chan, uint64_t target_time,
[all …]
Dnrf_rtc_timer.h33 typedef void (*z_nrf_rtc_timer_compare_handler_t)(int32_t id,
44 int32_t z_nrf_rtc_timer_chan_alloc(void);
50 void z_nrf_rtc_timer_chan_free(int32_t chan);
66 uint32_t z_nrf_rtc_timer_compare_evt_address_get(int32_t chan);
78 uint32_t z_nrf_rtc_timer_capture_task_address_get(int32_t chan);
88 bool z_nrf_rtc_timer_compare_int_lock(int32_t chan);
98 void z_nrf_rtc_timer_compare_int_unlock(int32_t chan, bool key);
106 uint32_t z_nrf_rtc_timer_compare_read(int32_t chan);
133 int z_nrf_rtc_timer_set(int32_t chan, uint64_t target_time,
162 int z_nrf_rtc_timer_exact_set(int32_t chan, uint64_t target_time,
[all …]
/Zephyr-Core-3.7.0/subsys/net/lib/zperf/
Dzperf_internal.h57 int32_t id;
65 int32_t flags;
66 int32_t num_of_threads;
67 int32_t port;
68 int32_t buffer_len;
69 int32_t bandwidth;
70 int32_t num_of_bytes;
74 int32_t flags;
75 int32_t total_len1;
76 int32_t total_len2;
[all …]
/Zephyr-Core-3.7.0/subsys/tracing/ctf/
Dctf_top.h284 int32_t ret) in ctf_top_semaphore_init()
309 uint32_t timeout, int32_t ret) in ctf_top_semaphore_take_exit()
326 static inline void ctf_top_mutex_init(uint32_t mutex_id, int32_t ret) in ctf_top_mutex_init()
345 int32_t ret) in ctf_top_mutex_lock_exit()
356 static inline void ctf_top_mutex_unlock_exit(uint32_t mutex_id, int32_t ret) in ctf_top_mutex_unlock_exit()
397 static inline void ctf_top_socket_init(int32_t sock, uint32_t family, in ctf_top_socket_init()
403 static inline void ctf_top_socket_close_enter(int32_t sock) in ctf_top_socket_close_enter()
408 static inline void ctf_top_socket_close_exit(int32_t sock, int32_t ret) in ctf_top_socket_close_exit()
413 static inline void ctf_top_socket_shutdown_enter(int32_t sock, int32_t how) in ctf_top_socket_shutdown_enter()
418 static inline void ctf_top_socket_shutdown_exit(int32_t sock, int32_t ret) in ctf_top_socket_shutdown_exit()
[all …]
/Zephyr-Core-3.7.0/drivers/sensor/bosch/bme680/
Dbme680.c70 var1 = ((int32_t)adc_temp >> 3) - ((int32_t)data->par_t1 << 1); in bme680_calc_temp()
71 var2 = (var1 * (int32_t)data->par_t2) >> 11; in bme680_calc_temp()
73 var3 = ((var3) * ((int32_t)data->par_t3 << 4)) >> 14; in bme680_calc_temp()
80 int32_t var1, var2, var3, calc_press; in bme680_calc_press()
82 var1 = (((int32_t)data->t_fine) >> 1) - 64000; in bme680_calc_press()
84 (int32_t)data->par_p6) >> 2; in bme680_calc_press()
85 var2 = var2 + ((var1 * (int32_t)data->par_p5) << 1); in bme680_calc_press()
86 var2 = (var2 >> 2) + ((int32_t)data->par_p4 << 16); in bme680_calc_press()
88 ((int32_t)data->par_p3 << 5)) >> 3) in bme680_calc_press()
89 + (((int32_t)data->par_p2 * var1) >> 1); in bme680_calc_press()
[all …]
/Zephyr-Core-3.7.0/lib/libc/minimal/source/math/
Dsqrtf.c23 int32_t exponent; in sqrtf()
24 int32_t *p_square = (int32_t *)&square; in sqrtf()
25 int32_t *p_root = (int32_t *)&root; in sqrtf()
26 int32_t *p_last = (int32_t *)&last; in sqrtf()
/Zephyr-Core-3.7.0/include/zephyr/drivers/modem/
Dhl7800.h263 int32_t mdm_hl7800_power_off(void);
270 int32_t mdm_hl7800_reset(void);
287 int32_t mdm_hl7800_send_at_cmd(const uint8_t *data);
338 int32_t mdm_hl7800_update_apn(char *access_point_name);
345 int32_t mdm_hl7800_update_rat(enum mdm_hl7800_radio_mode value);
386 int32_t mdm_hl7800_get_local_time(struct tm *tm, int32_t *offset);
397 int32_t mdm_hl7800_update_fw(char *file_path);
405 int32_t mdm_hl7800_get_operator_index(void);
412 int32_t mdm_hl7800_get_functionality(void);
424 int32_t mdm_hl7800_set_functionality(enum mdm_hl7800_functionality mode);
[all …]
/Zephyr-Core-3.7.0/include/zephyr/drivers/regulator/
Dfake.h21 unsigned int, int32_t *);
23 int32_t, int32_t);
25 int32_t *);
27 const struct device *, int32_t, int32_t);
29 const struct device *, int32_t *);
/Zephyr-Core-3.7.0/tests/drivers/rtc/rtc_api/src/
Dtest_calibrate.c17 static int test_set_get_calibration(int32_t calibrate_set) in test_set_get_calibration()
19 int32_t calibrate_get; in test_set_get_calibration()
46 int32_t calibrate_get; in ZTEST()
48 int32_t range_limit; in ZTEST()
49 int32_t range_step; in ZTEST()
69 for (int32_t set = range_step; set <= range_limit; set += range_step) { in ZTEST()
79 for (int32_t set = range_step; set <= range_limit; set += range_step) { in ZTEST()
/Zephyr-Core-3.7.0/include/zephyr/drivers/
Dregulator.h77 unsigned int idx, int32_t *volt_uv);
78 typedef int (*regulator_set_voltage_t)(const struct device *dev, int32_t min_uv,
79 int32_t max_uv);
81 int32_t *volt_uv);
84 unsigned int idx, int32_t *current_ua);
86 int32_t min_ua, int32_t max_ua);
88 int32_t *curr_ua);
161 int32_t min_uv;
163 int32_t max_uv;
165 int32_t init_uv;
[all …]
/Zephyr-Core-3.7.0/modules/thrift/src/thrift/protocol/
DTBinaryProtocol.h49 static const int32_t VERSION_MASK = ((int32_t)0xffff0000);
50 static const int32_t VERSION_1 = ((int32_t)0x80010000);
60 TBinaryProtocolT(std::shared_ptr<Transport_> trans, int32_t string_limit, in TBinaryProtocolT()
61 int32_t container_limit, bool strict_read, bool strict_write) in TBinaryProtocolT()
69 void setStringSizeLimit(int32_t string_limit) in setStringSizeLimit()
74 void setContainerSizeLimit(int32_t container_limit) in setContainerSizeLimit()
90 const int32_t seqid);
124 inline uint32_t writeI32(const int32_t i32);
139 int32_t &seqid);
171 inline uint32_t readI32(int32_t &i32);
[all …]
/Zephyr-Core-3.7.0/drivers/usb/device/
Dusb_dc_native_posix_adapt.h66 int32_t transfer_buffer_length;
67 int32_t start_frame;
68 int32_t number_of_packets;
69 int32_t interval;
84 int32_t status;
85 int32_t actual_length;
86 int32_t start_frame;
87 int32_t number_of_packets;
88 int32_t error_count;
/Zephyr-Core-3.7.0/drivers/dai/intel/dmic/
Ddmic.h87 #define LOGRAMP_CONST_TERM ((int32_t) \
125 ((int32_t)(((const double)f) * ((int64_t)1 << (const int)qy) + 0.5))
168 int32_t gain_coef; /* Gain update constant */
169 int32_t gain; /* Gain value to be applied to HW */
170 int32_t startcount; /* Counter that controls HW unmute */
171 int32_t unmute_time_ms; /* Unmute ramp time in milliseconds */
186 static inline int32_t sat_int32(int64_t x) in sat_int32()
193 return (int32_t)x; in sat_int32()
196 static inline int32_t q_multsr_sat_32x32(int32_t x, int32_t y, in q_multsr_sat_32x32()
206 time_ms = Q_MULTSR_32X32((int32_t)rate, LOGRAMP_TIME_COEF_Q15, 0, 15, 0) + in dmic_get_unmute_ramp_from_samplerate()
/Zephyr-Core-3.7.0/include/zephyr/sys/
Dlinear_range.h63 int32_t min;
127 static inline int32_t linear_range_get_max_value(const struct linear_range *r) in linear_range_get_max_value()
129 return r->min + (int32_t)(r->step * (r->max_idx - r->min_idx)); in linear_range_get_max_value()
143 uint16_t idx, int32_t *val) in linear_range_get_value()
149 *val = r->min + (int32_t)(r->step * (idx - r->min_idx)); in linear_range_get_value()
167 int32_t *val) in linear_range_group_get_value()
194 int32_t val, uint16_t *idx) in linear_range_get_index()
232 size_t r_cnt, int32_t val, in linear_range_group_get_index()
266 int32_t val_min, int32_t val_max, in linear_range_get_win_index()
269 int32_t r_max = linear_range_get_max_value(r); in linear_range_get_win_index()
[all …]
/Zephyr-Core-3.7.0/tests/modules/thrift/ThriftTest/src/
Dserver.hpp52 int32_t testI32(const int32_t thing) override in testI32()
97 void testMap(map<int32_t, int32_t> &out, const map<int32_t, int32_t> &thing) override in testMap() argument
99 map<int32_t, int32_t>::const_iterator m_iter; in testMap()
137 void testSet(set<int32_t> &out, const set<int32_t> &thing) override in testSet()
139 set<int32_t>::const_iterator s_iter; in testSet()
157 void testList(vector<int32_t> &out, const vector<int32_t> &thing) override in testList()
159 vector<int32_t>::const_iterator l_iter; in testList()
188 void testMapMap(map<int32_t, map<int32_t, int32_t>> &mapmap, const int32_t hello) override in testMapMap() argument
190 map<int32_t, int32_t> pos; in testMapMap()
191 map<int32_t, int32_t> neg; in testMapMap()
[all …]
/Zephyr-Core-3.7.0/modules/openthread/platform/
Dalarm.c28 static int32_t time_offset_us;
29 static int32_t time_offset_ms;
54 (int32_t)((int64_t)otPlatAlarmMicroGetNow() - (uint32_t)otPlatRadioGetNow(NULL)); in platformAlarmInit()
89 int32_t delta = (int32_t)(aT0 + aDt - otPlatAlarmMilliGetNow()); in otPlatAlarmMilliStartAt()
109 int32_t delta = (int32_t)(aT0 + aDt - otPlatAlarmMicroGetNow()); in otPlatAlarmMicroStartAt()
/Zephyr-Core-3.7.0/tests/lib/c_lib/thrd/src/
Dtss.c15 static int32_t destroyed_values[2];
16 static const int32_t forty_two = FORTY_TWO;
17 static const int32_t seventy_three = SEVENTY_THREE;
24 int32_t val = *(int32_t *)arg; in destroy_fn()
53 int32_t val = *(int32_t *)arg; in thread_fn()
/Zephyr-Core-3.7.0/drivers/timer/
Dnrf_rtc_timer.c73 static void set_comparator(int32_t chan, uint32_t cyc) in set_comparator()
78 static bool event_check(int32_t chan) in event_check()
83 static void event_clear(int32_t chan) in event_clear()
88 static void event_enable(int32_t chan) in event_enable()
93 static void event_disable(int32_t chan) in event_disable()
132 uint32_t z_nrf_rtc_timer_compare_evt_address_get(int32_t chan) in z_nrf_rtc_timer_compare_evt_address_get()
138 uint32_t z_nrf_rtc_timer_capture_task_address_get(int32_t chan) in z_nrf_rtc_timer_capture_task_address_get()
153 static bool compare_int_lock(int32_t chan) in compare_int_lock()
166 bool z_nrf_rtc_timer_compare_int_lock(int32_t chan) in z_nrf_rtc_timer_compare_int_lock()
173 static void compare_int_unlock(int32_t chan, bool key) in compare_int_unlock()
[all …]
Dnrf_grtc_timer.c55 const int32_t z_sys_timer_irq_for_test = DT_IRQN(GRTC_NODE);
58 static void sys_clock_timeout_handler(int32_t id, uint64_t cc_val, void *p_context);
123 static bool compare_int_lock(int32_t chan) in compare_int_lock()
132 static void compare_int_unlock(int32_t chan, bool key) in compare_int_unlock()
140 static void sys_clock_timeout_handler(int32_t id, uint64_t cc_val, void *p_context) in sys_clock_timeout_handler()
162 sys_clock_announce((int32_t)dticks); in sys_clock_timeout_handler()
165 int32_t z_nrf_grtc_timer_chan_alloc(void) in z_nrf_grtc_timer_chan_alloc()
179 return (int32_t)chan; in z_nrf_grtc_timer_chan_alloc()
182 void z_nrf_grtc_timer_chan_free(int32_t chan) in z_nrf_grtc_timer_chan_free()
192 bool z_nrf_grtc_timer_compare_evt_check(int32_t chan) in z_nrf_grtc_timer_compare_evt_check()
[all …]
/Zephyr-Core-3.7.0/drivers/sensor/bosch/bme280/
Dbme280.c61 static int32_t bme280_compensate_temp(struct bme280_data *data, int32_t adc_temp) in bme280_compensate_temp()
63 int32_t var1, var2; in bme280_compensate_temp()
65 var1 = (((adc_temp >> 3) - ((int32_t)data->dig_t1 << 1)) * in bme280_compensate_temp()
66 ((int32_t)data->dig_t2)) >> 11; in bme280_compensate_temp()
67 var2 = (((((adc_temp >> 4) - ((int32_t)data->dig_t1)) * in bme280_compensate_temp()
68 ((adc_temp >> 4) - ((int32_t)data->dig_t1))) >> 12) * in bme280_compensate_temp()
69 ((int32_t)data->dig_t3)) >> 14; in bme280_compensate_temp()
75 static uint32_t bme280_compensate_press(struct bme280_data *data, int32_t adc_press) in bme280_compensate_press()
102 int32_t adc_humidity) in bme280_compensate_humidity()
104 int32_t h; in bme280_compensate_humidity()
[all …]
/Zephyr-Core-3.7.0/drivers/regulator/
Dregulator_fake.c30 unsigned int, int32_t *);
32 int32_t, int32_t);
34 int32_t *);
36 const struct device *, int32_t, int32_t);
38 const struct device *, int32_t *);
/Zephyr-Core-3.7.0/drivers/sensor/adi/adltc2990/
Dadltc2990.h48 int32_t internal_temperature;
49 int32_t supply_voltage;
50 int32_t pins_v1_v2_values[2];
51 int32_t pins_v3_v4_values[2];
/Zephyr-Core-3.7.0/kernel/
Dnothread.c20 int32_t z_impl_k_sleep(k_timeout_t timeout) in z_impl_k_sleep()
33 SYS_PORT_TRACING_FUNC_EXIT(k_thread, sleep, timeout, (int32_t) K_TICKS_FOREVER); in z_impl_k_sleep()
35 return (int32_t) K_TICKS_FOREVER; in z_impl_k_sleep()
47 int32_t ret = k_ticks_to_ms_ceil64(0); in z_impl_k_sleep()
/Zephyr-Core-3.7.0/subsys/tracing/ctf/tsdl/
Dmetadata6 typealias integer { size = 32; align = 8; signed = true; } := int32_t;
152 int32_t ret;
187 int32_t ret;
215 int32_t ret;
243 int32_t ret;
356 int32_t result;
374 int32_t result;
394 int32_t result;
413 int32_t result;
431 int32_t result;
[all …]

12345678910>>...32