Home
last modified time | relevance | path

Searched full:static (Results 1 – 25 of 3236) sorted by relevance

12345678910>>...130

/Zephyr-Core-2.7.6/include/sys/
Dcbprintf_cxx.h12 static inline int z_cbprintf_cxx_is_pchar(char *) in z_cbprintf_cxx_is_pchar()
17 static inline int z_cbprintf_cxx_is_pchar(const char *) in z_cbprintf_cxx_is_pchar()
22 static inline int z_cbprintf_cxx_is_pchar(volatile char *) in z_cbprintf_cxx_is_pchar()
27 static inline int z_cbprintf_cxx_is_pchar(const volatile char *) in z_cbprintf_cxx_is_pchar()
32 static inline int z_cbprintf_cxx_is_pchar(wchar_t *) in z_cbprintf_cxx_is_pchar()
37 static inline int z_cbprintf_cxx_is_pchar(const wchar_t *) in z_cbprintf_cxx_is_pchar()
42 static inline int z_cbprintf_cxx_is_pchar(volatile wchar_t *) in z_cbprintf_cxx_is_pchar()
47 static inline int z_cbprintf_cxx_is_pchar(const volatile wchar_t *) in z_cbprintf_cxx_is_pchar()
53 static inline int z_cbprintf_cxx_is_pchar(T arg) in z_cbprintf_cxx_is_pchar()
62 static inline size_t z_cbprintf_cxx_arg_size(float f) in z_cbprintf_cxx_arg_size()
[all …]
/Zephyr-Core-2.7.6/subsys/bluetooth/controller/ll_sw/nordic/lll/
Dlll_adv_pdu.h23 static inline void lll_adv_pdu_enqueue(struct lll_adv_pdu *pdu, uint8_t idx) in lll_adv_pdu_enqueue()
31 static inline struct pdu_adv *lll_adv_data_alloc(struct lll_adv *lll, in lll_adv_data_alloc()
37 static inline void lll_adv_data_enqueue(struct lll_adv *lll, uint8_t idx) in lll_adv_data_enqueue()
42 static inline struct pdu_adv *lll_adv_data_peek(struct lll_adv *lll) in lll_adv_data_peek()
47 static inline struct pdu_adv *lll_adv_data_curr_get(struct lll_adv *lll) in lll_adv_data_curr_get()
52 static inline struct pdu_adv *lll_adv_scan_rsp_alloc(struct lll_adv *lll, in lll_adv_scan_rsp_alloc()
58 static inline void lll_adv_scan_rsp_enqueue(struct lll_adv *lll, uint8_t idx) in lll_adv_scan_rsp_enqueue()
63 static inline struct pdu_adv *lll_adv_scan_rsp_peek(struct lll_adv *lll) in lll_adv_scan_rsp_peek()
68 static inline struct pdu_adv *
84 static inline struct pdu_adv *
[all …]
Dlll_prof.c22 static int send(struct node_rx_pdu *rx);
23 static inline void sample(uint32_t *timestamp);
24 static inline void delta(uint32_t timestamp, uint8_t *cputime);
26 static uint32_t timestamp_radio;
27 static uint32_t timestamp_lll;
28 static uint32_t timestamp_ull_high;
29 static uint32_t timestamp_ull_low;
30 static uint8_t cputime_radio;
31 static uint8_t cputime_lll;
32 static uint8_t cputime_ull_high;
[all …]
/Zephyr-Core-2.7.6/subsys/tracing/ctf/
Dctf_top.h106 static inline void ctf_top_thread_switched_out(uint32_t thread_id, in ctf_top_thread_switched_out()
113 static inline void ctf_top_thread_switched_in(uint32_t thread_id, in ctf_top_thread_switched_in()
120 static inline void ctf_top_thread_priority_set(uint32_t thread_id, int8_t prio, in ctf_top_thread_priority_set()
127 static inline void ctf_top_thread_create(uint32_t thread_id, int8_t prio, in ctf_top_thread_create()
134 static inline void ctf_top_thread_abort(uint32_t thread_id, in ctf_top_thread_abort()
141 static inline void ctf_top_thread_suspend(uint32_t thread_id, in ctf_top_thread_suspend()
148 static inline void ctf_top_thread_resume(uint32_t thread_id, in ctf_top_thread_resume()
155 static inline void ctf_top_thread_ready(uint32_t thread_id, in ctf_top_thread_ready()
162 static inline void ctf_top_thread_pend(uint32_t thread_id, in ctf_top_thread_pend()
169 static inline void ctf_top_thread_info(uint32_t thread_id, in ctf_top_thread_info()
[all …]
/Zephyr-Core-2.7.6/drivers/clock_control/
Dnrf_clock_calibration.c34 static atomic_t cal_process_in_progress;
35 static int16_t prev_temperature; /* Previous temperature measurement. */
36 static uint8_t calib_skip_cnt; /* Counting down skipped calibrations. */
37 static volatile int total_cnt; /* Total number of calibrations. */
38 static volatile int total_skips_cnt; /* Total number of skipped calibrations. */
41 static void cal_hf_callback(struct onoff_manager *mgr,
44 static void cal_lf_callback(struct onoff_manager *mgr,
48 static struct onoff_client cli;
49 static struct onoff_manager *mgrs;
51 static const struct device *temp_sensor;
[all …]
/Zephyr-Core-2.7.6/subsys/net/ip/
Dnet_tc_mapping.h45 static const uint8_t priority2tc_strict_1[] = {0, 0, 0, 0, 0, 0, 0, 0};
48 static const uint8_t priority2tc_strict_2[] = {0, 0, 0, 0, 1, 1, 1, 1};
51 static const uint8_t priority2tc_strict_3[] = {0, 0, 0, 0, 1, 1, 2, 2};
54 static const uint8_t priority2tc_strict_4[] = {0, 0, 1, 1, 2, 2, 3, 3};
57 static const uint8_t priority2tc_strict_5[] = {0, 0, 1, 1, 2, 2, 3, 4};
60 static const uint8_t priority2tc_strict_6[] = {1, 0, 2, 2, 3, 3, 4, 5};
63 static const uint8_t priority2tc_strict_7[] = {1, 0, 2, 3, 4, 4, 5, 6};
66 static const uint8_t priority2tc_strict_8[] = {1, 0, 2, 3, 4, 5, 6, 7};
70 static const uint8_t *tx_prio2tc_map = PRIORITY2TC_GEN(strict, NET_TC_TX_COUNT);
73 static const uint8_t *rx_prio2tc_map = PRIORITY2TC_GEN(strict, NET_TC_RX_COUNT);
[all …]
Dnet_stats.h36 static inline void net_stats_update_processing_error(struct net_if *iface) in net_stats_update_processing_error()
41 static inline void net_stats_update_ip_errors_protoerr(struct net_if *iface) in net_stats_update_ip_errors_protoerr()
46 static inline void net_stats_update_ip_errors_vhlerr(struct net_if *iface) in net_stats_update_ip_errors_vhlerr()
51 static inline void net_stats_update_bytes_recv(struct net_if *iface, in net_stats_update_bytes_recv()
57 static inline void net_stats_update_bytes_sent(struct net_if *iface, in net_stats_update_bytes_sent()
73 static inline void net_stats_update_ipv6_sent(struct net_if *iface) in net_stats_update_ipv6_sent()
78 static inline void net_stats_update_ipv6_recv(struct net_if *iface) in net_stats_update_ipv6_recv()
83 static inline void net_stats_update_ipv6_drop(struct net_if *iface) in net_stats_update_ipv6_drop()
96 static inline void net_stats_update_ipv6_nd_sent(struct net_if *iface) in net_stats_update_ipv6_nd_sent()
101 static inline void net_stats_update_ipv6_nd_recv(struct net_if *iface) in net_stats_update_ipv6_nd_recv()
[all …]
/Zephyr-Core-2.7.6/include/posix/sys/
Dsocket.h16 static inline int socket(int family, int type, int proto) in socket()
21 static inline int socketpair(int family, int type, int proto, int sv[2]) in socketpair()
35 static inline int shutdown(int sock, int how) in shutdown()
40 static inline int bind(int sock, const struct sockaddr *addr, socklen_t addrlen) in bind()
45 static inline int connect(int sock, const struct sockaddr *addr, in connect()
51 static inline int listen(int sock, int backlog) in listen()
56 static inline int accept(int sock, struct sockaddr *addr, socklen_t *addrlen) in accept()
61 static inline ssize_t send(int sock, const void *buf, size_t len, int flags) in send()
66 static inline ssize_t recv(int sock, void *buf, size_t max_len, int flags) in recv()
71 static inline ssize_t sendto(int sock, const void *buf, size_t len, int flags, in sendto()
[all …]
/Zephyr-Core-2.7.6/tests/net/trickle/src/
Dmain.c37 static int token1 = 1, token2 = 2;
39 static struct k_sem wait;
40 static struct k_sem wait2;
41 static bool cb_1_called;
42 static bool cb_2_called;
62 static struct net_trickle t1;
63 static struct net_trickle t2;
65 static void cb_1(struct net_trickle *trickle, bool do_suppress, in cb_1()
75 static void cb_2(struct net_trickle *trickle, bool do_suppress, in cb_2()
85 static void test_trickle_create(void) in test_trickle_create()
[all …]
/Zephyr-Core-2.7.6/samples/subsys/ipc/rpmsg_multi_instance/remote/src/
Dmain.c29 static struct k_thread thread_data_1;
30 static struct k_thread thread_data_2;
32 static K_SEM_DEFINE(bound_ept1_sem, 0, 1);
33 static K_SEM_DEFINE(bound_ept2_sem, 0, 1);
35 static K_SEM_DEFINE(data_rx1_sem, 0, 1);
36 static K_SEM_DEFINE(data_rx2_sem, 0, 1);
38 static volatile uint8_t received_data_1;
39 static volatile uint8_t received_data_2;
41 static struct rpmsg_mi_ctx ctx_1;
42 static struct rpmsg_mi_ctx ctx_2;
[all …]
/Zephyr-Core-2.7.6/samples/subsys/ipc/rpmsg_multi_instance/src/
Dmain.c29 static struct k_thread thread_data_1;
30 static struct k_thread thread_data_2;
32 static K_SEM_DEFINE(bound_ept1_sem, 0, 1);
33 static K_SEM_DEFINE(bound_ept2_sem, 0, 1);
35 static K_SEM_DEFINE(data_rx1_sem, 0, 1);
36 static K_SEM_DEFINE(data_rx2_sem, 0, 1);
38 static volatile uint8_t received_data_1;
39 static volatile uint8_t received_data_2;
41 static struct rpmsg_mi_ctx ctx_1;
42 static struct rpmsg_mi_ctx ctx_2;
[all …]
/Zephyr-Core-2.7.6/subsys/logging/
Dlog_backend_rtt.c60 static const char *drop_msg = DROP_MSG;
61 static uint8_t rtt_buf[RTT_BUFFER_SIZE];
62 static uint8_t line_buf[MESSAGE_SIZE + DROP_MSG_LEN];
63 static uint8_t *line_pos;
64 static uint8_t char_buf[CHAR_BUF_SIZE];
65 static int drop_cnt;
66 static int drop_warn;
67 static bool panic_mode;
68 static bool host_present;
70 static int data_out_block_mode(uint8_t *data, size_t length, void *ctx);
[all …]
/Zephyr-Core-2.7.6/tests/lib/cmsis_dsp/filtering/src/
Dmisc_f16.pat1 static const uint16_t in_com1[128] = {
20 static const uint16_t in_com2[128] = {
39 static const uint16_t in_levinson_durbin_7_0[8] = {
43 static const uint16_t in_levinson_durbin_16_1[17] = {
49 static const uint16_t in_levinson_durbin_23_2[24] = {
55 static const uint16_t in_levinson_durbin_err[3] = {
59 static const uint16_t ref_correlate_4_1[7] = {
63 static const uint16_t ref_correlate_4_2[7] = {
67 static const uint16_t ref_correlate_4_3[7] = {
71 static const uint16_t ref_correlate_4_8[15] = {
[all …]
/Zephyr-Core-2.7.6/samples/bluetooth/iso_broadcast_benchmark/src/
Dreceiver.c28 static bool broadcaster_found;
29 static bool per_adv_lost;
30 static bool big_sync_lost;
31 static bool biginfo_received;
32 static bt_addr_le_t per_addr;
33 static uint8_t per_sid;
34 static uint16_t per_interval_ms;
35 static uint16_t iso_interval_ms;
36 static uint8_t bis_count;
37 static uint32_t last_received_counter;
[all …]
/Zephyr-Core-2.7.6/subsys/bluetooth/controller/ll_sw/nordic/hal/nrf5/radio/
Dradio_nrf51.h26 static inline void hal_radio_reset(void) in hal_radio_reset()
30 static inline void hal_radio_ram_prio_setup(void) in hal_radio_ram_prio_setup()
34 static inline uint32_t hal_radio_phy_mode_get(uint8_t phy, uint8_t flags) in hal_radio_phy_mode_get()
53 static inline uint32_t hal_radio_tx_power_min_get(void) in hal_radio_tx_power_min_get()
58 static inline uint32_t hal_radio_tx_power_max_get(void) in hal_radio_tx_power_max_get()
63 static inline uint32_t hal_radio_tx_power_floor(int8_t tx_power_lvl) in hal_radio_tx_power_floor()
97 static inline uint32_t hal_radio_tx_ready_delay_us_get(uint8_t phy, uint8_t flags) in hal_radio_tx_ready_delay_us_get()
104 static inline uint32_t hal_radio_rx_ready_delay_us_get(uint8_t phy, uint8_t flags) in hal_radio_rx_ready_delay_us_get()
111 static inline uint32_t hal_radio_tx_chain_delay_us_get(uint8_t phy, uint8_t flags) in hal_radio_tx_chain_delay_us_get()
118 static inline uint32_t hal_radio_rx_chain_delay_us_get(uint8_t phy, uint8_t flags) in hal_radio_rx_chain_delay_us_get()
[all …]
/Zephyr-Core-2.7.6/drivers/counter/
Dcounter_native_posix.c21 static struct counter_alarm_cfg pending_alarm;
22 static bool is_alarm_pending;
23 static const struct device *device;
25 static void counter_isr(const void *arg) in counter_isr()
37 static int ctr_init(const struct device *dev) in ctr_init()
50 static int ctr_start(const struct device *dev) in ctr_start()
58 static int ctr_stop(const struct device *dev) in ctr_stop()
66 static int ctr_get_value(const struct device *dev, uint32_t *ticks) in ctr_get_value()
74 static uint32_t ctr_get_pending_int(const struct device *dev) in ctr_get_pending_int()
80 static int ctr_set_top_value(const struct device *dev, in ctr_set_top_value()
[all …]
/Zephyr-Core-2.7.6/include/arch/xtensa/
Datomic_xtensa.h16 static ALWAYS_INLINE atomic_val_t atomic_get(const atomic_t *target) in atomic_get()
31 static ALWAYS_INLINE
41 static ALWAYS_INLINE
47 static ALWAYS_INLINE
69 static ALWAYS_INLINE
75 static ALWAYS_INLINE
81 static ALWAYS_INLINE
87 static ALWAYS_INLINE
93 static ALWAYS_INLINE
99 static ALWAYS_INLINE atomic_val_t atomic_or(atomic_t *target, in atomic_or()
[all …]
/Zephyr-Core-2.7.6/tests/bluetooth/mesh/src/
Dmain.c18 static bool has_reg_fault = true;
20 static int fault_get_cur(struct bt_mesh_model *model, uint8_t *test_id, in fault_get_cur()
35 static int fault_get_reg(struct bt_mesh_model *model, uint16_t company_id, in fault_get_reg()
58 static int fault_clear(struct bt_mesh_model *model, uint16_t company_id) in fault_clear()
69 static int fault_test(struct bt_mesh_model *model, uint8_t test_id, in fault_test()
82 static const struct bt_mesh_health_srv_cb health_srv_cb = {
89 static struct bt_mesh_health_srv health_srv = {
95 static struct bt_mesh_model root_models[] = {
100 static int vnd_publish(struct bt_mesh_model *mod) in vnd_publish()
110 static const struct bt_mesh_model_op vnd_ops[] = {
[all …]
/Zephyr-Core-2.7.6/samples/bluetooth/peripheral/src/
Dmain.c33 static struct bt_uuid_128 vnd_uuid = BT_UUID_INIT_128(
36 static struct bt_uuid_128 vnd_enc_uuid = BT_UUID_INIT_128(
39 static struct bt_uuid_128 vnd_auth_uuid = BT_UUID_INIT_128(
44 static uint8_t vnd_value[VND_MAX_LEN + 1] = { 'V', 'e', 'n', 'd', 'o', 'r'};
45 static uint8_t vnd_auth_value[VND_MAX_LEN + 1] = { 'V', 'e', 'n', 'd', 'o', 'r'};
46 static uint8_t vnd_wwr_value[VND_MAX_LEN + 1] = { 'V', 'e', 'n', 'd', 'o', 'r' };
48 static ssize_t read_vnd(struct bt_conn *conn, const struct bt_gatt_attr *attr, in read_vnd()
57 static ssize_t write_vnd(struct bt_conn *conn, const struct bt_gatt_attr *attr, in write_vnd()
73 static uint8_t simulate_vnd;
74 static uint8_t indicating;
[all …]
/Zephyr-Core-2.7.6/tests/net/mgmt/src/
Dmgmt.c31 static uint32_t event2throw;
32 static uint32_t throw_times;
33 static uint32_t throw_sleep;
34 static bool with_info;
35 static K_THREAD_STACK_DEFINE(thrower_stack, 512 + CONFIG_TEST_EXTRA_STACKSIZE);
36 static struct k_thread thrower_thread_data;
37 static struct k_sem thrower_lock;
40 static uint32_t rx_event;
41 static uint32_t rx_calls;
42 static size_t info_length_in_test;
[all …]
/Zephyr-Core-2.7.6/samples/bluetooth/mesh_demo/src/
Dmain.c25 static const uint8_t net_key[16] = {
29 static const uint8_t dev_key[16] = {
33 static const uint8_t app_key[16] = {
37 static const uint16_t net_idx;
38 static const uint16_t app_idx;
39 static const uint32_t iv_index;
40 static uint8_t flags;
41 static uint16_t addr = NODE_ADDR;
43 static void heartbeat(const struct bt_mesh_hb_sub *sub, uint8_t hops, in heartbeat()
50 static struct bt_mesh_cfg_cli cfg_cli = {
[all …]
/Zephyr-Core-2.7.6/tests/kernel/mbox/mbox_usage/src/
Dmain.c15 static K_THREAD_STACK_DEFINE(tstack, STACK_SIZE);
16 static K_THREAD_STACK_DEFINE(high_stack, STACK_SIZE);
17 static K_THREAD_STACK_DEFINE(low_stack, STACK_SIZE);
19 static struct k_thread tdata, high_tdata, low_tdata;
20 static struct k_mbox mbox, multi_tmbox;
21 static struct k_sem sync_sema;
22 static k_tid_t tid1, receiver_tid;
23 static char msg_data[2][MAIL_LEN] = {
27 static enum mmsg_type {
32 static void msg_sender(struct k_mbox *pmbox, k_timeout_t timeout) in msg_sender()
[all …]
/Zephyr-Core-2.7.6/drivers/ipm/
Dipm_mhu.c21 static enum ipm_mhu_cpu_id_t ipm_mhu_get_cpu_id(const struct device *d) in ipm_mhu_get_cpu_id()
35 static uint32_t ipm_mhu_get_status(const struct device *d, in ipm_mhu_get_status()
60 static int ipm_mhu_send(const struct device *d, int wait, uint32_t cpu_id, in ipm_mhu_send()
92 static void ipm_mhu_clear_val(const struct device *d, in ipm_mhu_clear_val()
111 static uint32_t ipm_mhu_max_id_val_get(const struct device *d) in ipm_mhu_max_id_val_get()
118 static int ipm_mhu_init(const struct device *d) in ipm_mhu_init()
127 static void ipm_mhu_isr(const struct device *d) in ipm_mhu_isr()
144 static int ipm_mhu_set_enabled(const struct device *d, int enable) in ipm_mhu_set_enabled()
151 static int ipm_mhu_max_data_size_get(const struct device *d) in ipm_mhu_max_data_size_get()
158 static void ipm_mhu_register_cb(const struct device *d, in ipm_mhu_register_cb()
[all …]
/Zephyr-Core-2.7.6/samples/subsys/ipc/ipc_service/remote/src/
Dmain.c22 static struct k_thread thread_data_1;
23 static struct k_thread thread_data_2;
25 static volatile uint8_t received_data_1;
26 static volatile uint8_t received_data_2;
28 static K_SEM_DEFINE(bound_ept1_sem, 0, 1);
29 static K_SEM_DEFINE(bound_ept2_sem, 0, 1);
31 static K_SEM_DEFINE(data_rx1_sem, 0, 1);
32 static K_SEM_DEFINE(data_rx2_sem, 0, 1);
34 static struct ipc_ept *ept_1;
35 static struct ipc_ept *ept_2;
[all …]
/Zephyr-Core-2.7.6/samples/subsys/ipc/ipc_service/src/
Dmain.c23 static struct k_thread thread_data_1;
24 static struct k_thread thread_data_2;
26 static volatile uint8_t received_data_1;
27 static volatile uint8_t received_data_2;
29 static K_SEM_DEFINE(bound_ept1_sem, 0, 1);
30 static K_SEM_DEFINE(bound_ept2_sem, 0, 1);
32 static K_SEM_DEFINE(data_rx1_sem, 0, 1);
33 static K_SEM_DEFINE(data_rx2_sem, 0, 1);
35 static struct ipc_ept *ept_1;
36 static struct ipc_ept *ept_2;
[all …]

12345678910>>...130