Home
last modified time | relevance | path

Searched defs:sub (Results 1 – 25 of 41) sorted by relevance

12

/Zephyr-latest/subsys/bluetooth/mesh/
Dsubnet.c68 static void subnet_evt(struct bt_mesh_subnet *sub, enum bt_mesh_key_evt evt) in subnet_evt()
93 const struct bt_mesh_subnet *sub; in store_subnet() local
146 uint8_t bt_mesh_net_flags(struct bt_mesh_subnet *sub) in bt_mesh_net_flags()
211 static void key_refresh(struct bt_mesh_subnet *sub, uint8_t new_phase) in key_refresh()
247 void bt_mesh_kr_update(struct bt_mesh_subnet *sub, bool kr_flag, bool new_key) in bt_mesh_kr_update()
266 struct bt_mesh_subnet *sub = NULL; in subnet_alloc() local
282 static void subnet_del(struct bt_mesh_subnet *sub) in subnet_del()
373 struct bt_mesh_subnet *sub = NULL; in bt_mesh_subnet_add() local
422 struct bt_mesh_subnet *sub; in bt_mesh_subnet_update() local
466 struct bt_mesh_subnet *sub; in bt_mesh_subnet_del() local
[all …]
Dbeacon.c83 static struct bt_mesh_beacon *subnet_beacon_get_by_type(struct bt_mesh_subnet *sub, bool priv) in subnet_beacon_get_by_type()
92 static bool beacon_cache_match(struct bt_mesh_subnet *sub, void *data) in beacon_cache_match()
108 void bt_mesh_beacon_cache_clear(struct bt_mesh_subnet *sub) in bt_mesh_beacon_cache_clear()
138 static int secure_beacon_create(struct bt_mesh_subnet *sub, in secure_beacon_create()
197 static int private_beacon_update(struct bt_mesh_subnet *sub) in private_beacon_update()
215 static int private_beacon_create(struct bt_mesh_subnet *sub, in private_beacon_create()
243 int bt_mesh_beacon_create(struct bt_mesh_subnet *sub, struct net_buf_simple *buf, bool priv) in bt_mesh_beacon_create()
265 static int net_beacon_send(struct bt_mesh_subnet *sub, struct bt_mesh_beacon *beacon, in net_beacon_send()
266 int (*beacon_create)(struct bt_mesh_subnet *sub, in net_beacon_send()
306 static int net_beacon_for_subnet_send(struct bt_mesh_subnet *sub) in net_beacon_for_subnet_send()
[all …]
Dproxy_srv.c321 struct bt_mesh_subnet *sub) in beacon_send()
342 static bool send_beacon_cb(struct bt_mesh_subnet *sub, void *cb_data) in send_beacon_cb()
358 void bt_mesh_proxy_beacon_send(struct bt_mesh_subnet *sub) in bt_mesh_proxy_beacon_send()
375 static void identity_enabled(struct bt_mesh_subnet *sub) in identity_enabled()
387 static void node_id_start(struct bt_mesh_subnet *sub) in node_id_start()
396 static void private_node_id_start(struct bt_mesh_subnet *sub) in private_node_id_start()
405 void bt_mesh_proxy_identity_start(struct bt_mesh_subnet *sub, bool private) in bt_mesh_proxy_identity_start()
417 void bt_mesh_proxy_identity_stop(struct bt_mesh_subnet *sub) in bt_mesh_proxy_identity_stop()
492 static int enc_id_adv(struct bt_mesh_subnet *sub, uint8_t type, in enc_id_adv()
546 static int node_id_adv(struct bt_mesh_subnet *sub, int32_t duration) in node_id_adv()
[all …]
Dsolicitation.c57 static int srpl_entry_save(struct bt_mesh_subnet *sub, uint32_t sseq, uint16_t ssrc) in srpl_entry_save()
138 static bool sol_pdu_decrypt(struct bt_mesh_subnet *sub, void *data) in sol_pdu_decrypt()
182 struct bt_mesh_subnet *sub; in bt_mesh_sol_recv() local
269 struct bt_mesh_subnet *sub; in bt_mesh_proxy_solicit() local
298 static int sol_pdu_create(struct bt_mesh_subnet *sub, struct net_buf_simple *pdu) in sol_pdu_create()
484 static bool sol_subnet_find(struct bt_mesh_subnet *sub, void *cb_data) in sol_subnet_find()
494 struct bt_mesh_subnet *sub; in bt_mesh_sol_send() local
Dproxy_cli.c160 static bool proxy_srv_check_and_get(struct bt_mesh_subnet *sub, const uint8_t *net_id, in proxy_srv_check_and_get()
206 static bool is_hash_equal(struct bt_mesh_subnet *sub, struct find_net_id *res, uint8_t idx) in is_hash_equal()
226 static bool has_net_id(struct bt_mesh_subnet *sub, void *user_data) in has_net_id()
250 struct bt_mesh_subnet *sub; in handle_net_id() local
378 static void subnet_evt(struct bt_mesh_subnet *sub, enum bt_mesh_key_evt evt) in subnet_evt()
Dcdb.c278 struct bt_mesh_cdb_subnet *sub; in cdb_subnet_set() local
483 static void store_cdb_subnet(const struct bt_mesh_cdb_subnet *sub) in store_cdb_subnet()
652 static void update_cdb_subnet_settings(const struct bt_mesh_cdb_subnet *sub, in update_cdb_subnet_settings()
734 struct bt_mesh_cdb_subnet *sub; in bt_mesh_cdb_create() local
814 struct bt_mesh_cdb_subnet *sub; in bt_mesh_cdb_subnet_alloc() local
836 void bt_mesh_cdb_subnet_del(struct bt_mesh_cdb_subnet *sub, bool store) in bt_mesh_cdb_subnet_del()
863 void bt_mesh_cdb_subnet_store(const struct bt_mesh_cdb_subnet *sub) in bt_mesh_cdb_subnet_store()
870 uint8_t bt_mesh_cdb_subnet_flags(const struct bt_mesh_cdb_subnet *sub) in bt_mesh_cdb_subnet_flags()
885 int bt_mesh_cdb_subnet_key_import(struct bt_mesh_cdb_subnet *sub, int key_idx, in bt_mesh_cdb_subnet_key_import()
897 int bt_mesh_cdb_subnet_key_export(const struct bt_mesh_cdb_subnet *sub, int key_idx, in bt_mesh_cdb_subnet_key_export()
[all …]
Dsubnet.h27 #define SUBNET_KEY_TX_IDX(sub) ((sub)->kr_phase == BT_MESH_KR_PHASE_2) argument
228 bt_mesh_subnet_has_new_key(const struct bt_mesh_subnet *sub) in bt_mesh_subnet_has_new_key()
Dapp_keys.c295 struct bt_mesh_subnet *sub; in bt_mesh_app_key_update() local
473 struct bt_mesh_subnet **sub, in bt_mesh_keys_resolve()
619 static void subnet_evt(struct bt_mesh_subnet *sub, enum bt_mesh_key_evt evt) in subnet_evt()
Dbrg_cfg.c168 static void brg_tbl_netkey_removed_evt(struct bt_mesh_subnet *sub, enum bt_mesh_key_evt evt) in brg_tbl_netkey_removed_evt()
Dnet.h171 struct bt_mesh_subnet *sub; member
262 struct bt_mesh_subnet *sub; member
276 struct bt_mesh_subnet *sub; member
Dmain.c661 struct bt_mesh_subnet *sub = bt_mesh_subnet_next(NULL); in bt_mesh_start() local
Dprovisionee.c481 struct bt_mesh_subnet *sub = bt_mesh_subnet_get(net_idx); in refresh_is_valid() local
Dlpn.c1050 struct bt_mesh_subnet *sub = rx->sub; in bt_mesh_lpn_friend_update() local
1145 static void subnet_evt(struct bt_mesh_subnet *sub, enum bt_mesh_key_evt evt) in subnet_evt()
Dcfg.c165 static bool node_id_is_running(struct bt_mesh_subnet *sub, void *cb_data) in node_id_is_running()
Dheartbeat.c34 static struct bt_mesh_hb_sub sub; variable
/Zephyr-latest/samples/subsys/zbus/msg_subscriber/src/
Dmain.c83 static void msg_subscriber_task(void *sub) in msg_subscriber_task()
135 static void subscriber_task(void *sub) in subscriber_task()
/Zephyr-latest/samples/subsys/zbus/benchmark/src/
Dsub.c38 struct zbus_observer *sub = sub_ref; in sub_thread() local
/Zephyr-latest/samples/bluetooth/mesh_demo/src/
Dmain.c43 static void heartbeat(const struct bt_mesh_hb_sub *sub, uint8_t hops, in heartbeat()
207 struct bt_mesh_cfg_cli_hb_sub sub = { in bt_ready() local
/Zephyr-latest/tests/bsim/bluetooth/mesh/src/
Dtest_heartbeat.c58 static void sub_hb_recv_cb(const struct bt_mesh_hb_sub *sub, uint8_t hops, uint16_t feat) in sub_hb_recv_cb()
94 static void sub_hb_end_cb(const struct bt_mesh_hb_sub *sub) in sub_hb_end_cb()
Dtest_proxy_sol.c157 static void sol_fixed_pdu_create(struct bt_mesh_subnet *sub, struct net_buf_simple *pdu) in sol_fixed_pdu_create()
182 struct bt_mesh_subnet *sub = bt_mesh_subnet_find(NULL, NULL); in sol_fixed_pdu_send() local
/Zephyr-latest/include/zephyr/usb/
Dusbh.h63 uint8_t sub; member
/Zephyr-latest/tests/subsys/zbus/hlp_priority_boost/src/
Dmain.c44 const struct zbus_observer *sub = ptr1; in consumer_sub_thread() local
/Zephyr-latest/subsys/zbus/
Dzbus.c488 int zbus_sub_wait(const struct zbus_observer *sub, const struct zbus_channel **chan, in zbus_sub_wait()
502 int zbus_sub_wait_msg(const struct zbus_observer *sub, const struct zbus_channel **chan, void *msg, in zbus_sub_wait_msg()
/Zephyr-latest/tests/subsys/settings/file/src/
Dsettings_test_file.c190 char const *memmem(char const *mem, size_t mem_len, char const *sub, in memmem()
/Zephyr-latest/subsys/bluetooth/host/
Dgatt.c3522 static bool gatt_sub_is_empty(struct gatt_sub *sub) in gatt_sub_is_empty()
3529 static void gatt_sub_free(struct gatt_sub *sub) in gatt_sub_free()
3535 static void gatt_sub_remove(struct bt_conn *conn, struct gatt_sub *sub, in gatt_sub_remove()
3555 struct gatt_sub *sub = &subscriptions[i]; in gatt_sub_find() local
3571 struct gatt_sub *sub; in gatt_sub_add() local
3589 struct gatt_sub *sub = &subscriptions[i]; in gatt_sub_find_by_addr() local
3602 struct gatt_sub *sub; in gatt_sub_add_by_addr() local
3625 static void call_notify_cb_and_maybe_unsubscribe(struct bt_conn *conn, struct gatt_sub *sub, in call_notify_cb_and_maybe_unsubscribe()
3650 struct gatt_sub *sub; in bt_gatt_notification() local
3667 struct gatt_sub *sub; in bt_gatt_mult_notification() local
[all …]

12