Home
last modified time | relevance | path

Searched defs:src (Results 1 – 25 of 265) sorted by relevance

1234567891011

/Zephyr-latest/include/zephyr/dsp/
Dutils.h46 #define Z_SHIFT_Q7_TO_F32(src, m) ((float32_t)(((src << m)) / (float32_t)(1U << 7))) argument
55 #define Z_SHIFT_Q15_TO_F32(src, m) ((float32_t)((src << m) / (float32_t)(1U << 15))) argument
64 #define Z_SHIFT_Q31_TO_F32(src, m) ((float32_t)(((int64_t)src) << m) / (float32_t)(1U << 31)) argument
73 #define Z_SHIFT_Q7_TO_F64(src, m) (((float64_t)(src << m)) / (1U << 7)) argument
82 #define Z_SHIFT_Q15_TO_F64(src, m) (((float64_t)(src << m)) / (1UL << 15)) argument
91 #define Z_SHIFT_Q31_TO_F64(src, m) ((float64_t)(((int64_t)src) << m) / (1ULL << 31)) argument
114 #define Z_SHIFT_F32_TO_Q7(src, m) \ argument
124 #define Z_SHIFT_F32_TO_Q15(src, m) \ argument
134 #define Z_SHIFT_F32_TO_Q31(src, m) \ argument
144 #define Z_SHIFT_F64_TO_Q7(src, m) \ argument
[all …]
/Zephyr-latest/subsys/net/lib/lwm2m/
Dbuf_util.h20 const uint8_t *src, uint16_t src_len) in buf_append()
37 uint16_t offset, uint8_t *src, uint16_t src_len) in buf_insert()
57 static inline int buf_read(uint8_t *dst, uint16_t len, uint8_t *src, uint16_t src_len, in buf_read()
77 static inline int buf_skip(uint16_t len, uint8_t *src, uint16_t src_len, uint16_t *offset) in buf_skip()
82 static inline int buf_read_u8(uint8_t *value, uint8_t *src, uint16_t src_len, in buf_read_u8()
88 static inline int buf_read_u16(uint16_t *value, uint8_t *src, uint16_t src_len, in buf_read_u16()
94 static inline int buf_read_be16(uint16_t *value, uint8_t *src, uint16_t src_len, in buf_read_be16()
106 static inline int buf_read_u32(uint32_t *value, uint8_t *src, uint16_t src_len, in buf_read_u32()
112 static inline int buf_read_be32(uint32_t *value, uint8_t *src, uint16_t src_len, in buf_read_be32()
/Zephyr-latest/lib/crc/
Dcrc16_sw.c9 uint16_t crc16(uint16_t poly, uint16_t seed, const uint8_t *src, size_t len) in crc16()
30 uint16_t crc16_reflect(uint16_t poly, uint16_t seed, const uint8_t *src, size_t len) in crc16_reflect()
52 uint16_t crc16_ccitt(uint16_t seed, const uint8_t *src, size_t len) in crc16_ccitt()
66 uint16_t crc16_itu_t(uint16_t seed, const uint8_t *src, size_t len) in crc16_itu_t()
Dcrc4_sw.c9 uint8_t crc4(const uint8_t *src, size_t len, uint8_t polynomial, uint8_t initial_value, in crc4()
40 uint8_t crc4_ti(uint8_t seed, const uint8_t *src, size_t len) in crc4_ti()
Dcrc7_sw.c9 uint8_t crc7_be(uint8_t seed, const uint8_t *src, size_t len) in crc7_be()
/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()
90 static inline void zdsp_scale_q15(const DSP_DATA q15_t *src, q15_t scale_fract, int8_t shift, 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()
101 static inline void zdsp_scale_f32(const DSP_DATA float32_t *src, float32_t scale, in zdsp_scale_f32()
107 static inline void zdsp_abs_q7(const DSP_DATA q7_t *src, DSP_DATA q7_t *dst, uint32_t block_size) in zdsp_abs_q7()
111 static inline void zdsp_abs_q15(const DSP_DATA q15_t *src, DSP_DATA q15_t *dst, uint32_t block_size) in zdsp_abs_q15()
115 static inline void zdsp_abs_q31(const DSP_DATA q31_t *src, DSP_DATA q31_t *dst, uint32_t block_size) in zdsp_abs_q31()
119 static inline void zdsp_abs_f32(const DSP_DATA float32_t *src, DSP_DATA float32_t *dst, in zdsp_abs_f32()
125 static inline void zdsp_negate_q7(const DSP_DATA q7_t *src, DSP_DATA q7_t *dst, uint32_t block_size) in zdsp_negate_q7()
129 static inline void zdsp_negate_q15(const DSP_DATA q15_t *src, DSP_DATA q15_t *dst, in zdsp_negate_q15()
[all …]
/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()
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()
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()
96 static inline void zdsp_scale_f32(const float32_t *src, float32_t scale, float32_t *dst, in zdsp_scale_f32()
102 static inline void zdsp_abs_q7(const q7_t *src, q7_t *dst, uint32_t block_size) in zdsp_abs_q7()
106 static inline void zdsp_abs_q15(const q15_t *src, q15_t *dst, uint32_t block_size) in zdsp_abs_q15()
110 static inline void zdsp_abs_q31(const q31_t *src, q31_t *dst, uint32_t block_size) in zdsp_abs_q31()
114 static inline void zdsp_abs_f32(const float32_t *src, float32_t *dst, uint32_t block_size) in zdsp_abs_f32()
119 static inline void zdsp_negate_q7(const q7_t *src, q7_t *dst, uint32_t block_size) in zdsp_negate_q7()
123 static inline void zdsp_negate_q15(const q15_t *src, q15_t *dst, uint32_t block_size) in zdsp_negate_q15()
[all …]
Dzdsp_backend_f16.h37 static inline void zdsp_scale_f16(const float16_t *src, float16_t scale, float16_t *dst, in zdsp_scale_f16()
43 static inline void zdsp_abs_f16(const float16_t *src, float16_t *dst, uint32_t block_size) in zdsp_abs_f16()
54 static inline void zdsp_offset_f16(const float16_t *src, float16_t offset, float16_t *dst, in zdsp_offset_f16()
60 static inline void zdsp_negate_f16(const float16_t *src, float16_t *dst, uint32_t block_size) in zdsp_negate_f16()
65 static inline void zdsp_clip_f16(const float16_t *src, float16_t *dst, float16_t low, in zdsp_clip_f16()
/Zephyr-latest/tests/bluetooth/host/id/bt_id_get/src/
Dmain.c33 const bt_addr_le_t *src = testing_addr_lut[i]; in fff_reset_rule_before() local
90 const bt_addr_le_t *src = testing_addr_lut[i]; in ZTEST() local
99 bt_addr_le_t *src = &copy_dst_addrs[i]; in ZTEST() local
/Zephyr-latest/tests/kernel/timer/timer_api/src/
Dtimer_convert.c24 enum units src; member
31 #define TESTREC(src, dst, round, prec) { \ argument
37 #define TESTVAR(src, dst, round, prec) argument
39 #define TESTVAR(src, dst, round, prec) \ argument
44 #define TESTFUNC(src, dst, round, prec) \ argument
/Zephyr-latest/tests/application_development/code_relocation/src/
Dtest_file2.c14 char src[8] = "data\n"; in function_in_sram() local
/Zephyr-latest/drivers/interrupt_controller/
Dintc_mchp_ecia_xec.c250 int mchp_xec_ecia_enable(int girq, int src) in mchp_xec_ecia_enable()
274 uint8_t src = (uint8_t)MCHP_XEC_ECIA_GIRQ_POS(ecia_info); in mchp_xec_ecia_info_enable() local
285 int mchp_xec_ecia_disable(int girq, int src) in mchp_xec_ecia_disable()
309 uint8_t src = (uint8_t)MCHP_XEC_ECIA_GIRQ_POS(ecia_info); in mchp_xec_ecia_info_disable() local
325 int mchp_xec_ecia_set_callback_by_dev(const struct device *dev_girq, int src, in mchp_xec_ecia_set_callback_by_dev()
357 int mchp_xec_ecia_set_callback(int girq_num, int src, in mchp_xec_ecia_set_callback()
376 uint8_t src = MCHP_XEC_ECIA_GIRQ_POS(ecia_info); in mchp_xec_ecia_info_set_callback() local
387 int mchp_ecia_unset_callback_by_dev(const struct device *dev_girq, int src) in mchp_ecia_unset_callback_by_dev()
416 int mchp_ecia_unset_callback(int girq_num, int src) in mchp_ecia_unset_callback()
431 uint8_t src = MCHP_XEC_ECIA_GIRQ_POS(ecia_info); in mchp_ecia_info_unset_callback() local
/Zephyr-latest/subsys/net/ip/
Dicmpv4.c30 const struct in_addr *src; member
86 const struct in_addr *src) in icmpv4_update_record_route()
194 const struct in_addr *src) in icmpv4_update_time_stamp()
372 const struct in_addr *src) in icmpv4_handle_header_options()
405 const struct in_addr *src) in icmpv4_handle_header_options()
423 const struct in_addr *src; in icmpv4_handle_echo_request() local
/Zephyr-latest/tests/bluetooth/host/keys/mocks/
Dkeys_help_utils.c20 int fill_key_pool_by_id_addr(const struct id_addr_pair src[], int size, struct bt_keys *refs[]) in fill_key_pool_by_id_addr()
45 int fill_key_pool_by_id_addr_type(const struct id_addr_type src[], int size, struct bt_keys *refs[]) in fill_key_pool_by_id_addr_type()
/Zephyr-latest/kernel/
Dxip.c60 uint8_t *src = (uint8_t *)&_app_smem_rom_start; in z_data_copy() local
/Zephyr-latest/lib/utils/
Dbase64.c60 int base64_encode(uint8_t *dst, size_t dlen, size_t *olen, const uint8_t *src, in base64_encode()
124 int base64_decode(uint8_t *dst, size_t dlen, size_t *olen, const uint8_t *src, in base64_decode()
/Zephyr-latest/soc/aspeed/ast10x0/tools/
Dgen_uart_booting_image.py11 src = sys.argv[1] variable
/Zephyr-latest/boards/native/nrf_bsim/soc/
Dsoc_secure.h24 static inline int soc_secure_mem_read(void *dst, void *src, size_t len) in soc_secure_mem_read()
/Zephyr-latest/drivers/espi/
Despi_mchp_xec_v2.c1093 static void vw_slp3_handler(int girq_id, int src, void *user) in vw_slp3_handler()
1100 static void vw_slp4_handler(int girq_id, int src, void *user) in vw_slp4_handler()
1107 static void vw_slp5_handler(int girq_id, int src, void *user) in vw_slp5_handler()
1114 static void vw_host_rst_warn_handler(int girq_id, int src, void *user) in vw_host_rst_warn_handler()
1121 static void vw_sus_warn_handler(int girq_id, int src, void *user) in vw_sus_warn_handler()
1128 static void vw_oob_rst_handler(int girq_id, int src, void *user) in vw_oob_rst_handler()
1135 static void vw_sus_pwrdn_ack_handler(int girq_id, int src, void *user) in vw_sus_pwrdn_ack_handler()
1142 static void vw_sus_slp_a_handler(int girq_id, int src, void *user) in vw_sus_slp_a_handler()
1149 static void vw_sus_dnx_warn_handler(int girq_id, int src, void *user) in vw_sus_dnx_warn_handler()
1156 static void vw_pltrst_handler(int girq_id, int src, void *user) in vw_pltrst_handler()
[all …]
/Zephyr-latest/subsys/net/l2/ppp/
Dppp_stats.c24 void *src = NULL; in ppp_stats_get() local
/Zephyr-latest/subsys/net/l2/ethernet/
Dethernet_stats.c24 void *src = NULL; in eth_stats_get() local
/Zephyr-latest/samples/modules/compression/lz4/src/
Dmain.c16 static const char *src = LOREM_IPSUM; in main() local
/Zephyr-latest/soc/nxp/rw/
Dflexspi_clock_setup.c60 void __ramfunc set_flexspi_clock(FLEXSPI_Type *base, uint32_t src, uint32_t divider) in set_flexspi_clock()
/Zephyr-latest/include/zephyr/sys/
Dcrc.h223 static inline uint16_t crc16_ansi(const uint8_t *src, size_t len) in crc16_ansi()
388 static inline uint32_t crc_by_type(enum crc_type type, const uint8_t *src, size_t len, in crc_by_type()
/Zephyr-latest/subsys/bluetooth/mesh/
Drpl.h9 uint64_t src:15, member

1234567891011