Home
last modified time | relevance | path

Searched defs:srv (Results 1 – 25 of 30) sorted by relevance

12

/Zephyr-latest/subsys/bluetooth/mesh/
Dblob_srv.c22 #define SERVER_TIMEOUT_SECS(srv) (10 * (1 + (srv)->state.timeout_base)) argument
47 static inline uint32_t block_count_get(const struct bt_mesh_blob_srv *srv) in block_count_get()
53 static inline uint32_t max_chunk_size(const struct bt_mesh_blob_srv *srv) in max_chunk_size()
59 static inline uint32_t max_chunk_count(const struct bt_mesh_blob_srv *srv) in max_chunk_count()
77 static void store_state(const struct bt_mesh_blob_srv *srv) in store_state()
91 static void erase_state(struct bt_mesh_blob_srv *srv) in erase_state()
100 static int io_open(struct bt_mesh_blob_srv *srv) in io_open()
109 static void io_close(struct bt_mesh_blob_srv *srv) in io_close()
118 static void reset_timer(struct bt_mesh_blob_srv *srv) in reset_timer()
143 static int pull_req_max(const struct bt_mesh_blob_srv *srv) in pull_req_max()
[all …]
Ddfu_srv.c28 static void store_state(struct bt_mesh_dfu_srv *srv) in store_state()
34 static void erase_state(struct bt_mesh_dfu_srv *srv) in erase_state()
39 static void xfer_failed(struct bt_mesh_dfu_srv *srv) in xfer_failed()
53 static enum bt_mesh_dfu_status metadata_check(struct bt_mesh_dfu_srv *srv, in metadata_check()
78 struct bt_mesh_dfu_srv *srv = cb_params; in apply_rsp_sent() local
113 static void verify(struct bt_mesh_dfu_srv *srv) in verify()
136 struct bt_mesh_dfu_srv *srv = mod->rt->user_data; in handle_info_get() local
198 struct bt_mesh_dfu_srv *srv = mod->rt->user_data; in handle_metadata_check() local
223 static void update_status_rsp(struct bt_mesh_dfu_srv *srv, in update_status_rsp()
250 struct bt_mesh_dfu_srv *srv = mod->rt->user_data; in handle_get() local
[all …]
Ddfd_srv.c58 static void dfd_phase_set(struct bt_mesh_dfd_srv *srv, in dfd_phase_set()
68 static struct bt_mesh_dfu_target *target_get(struct bt_mesh_dfd_srv *srv, in target_get()
80 static bool is_busy(const struct bt_mesh_dfd_srv *srv) in is_busy()
87 static bool upload_is_busy(const struct bt_mesh_dfd_srv *srv) in upload_is_busy()
93 static int slot_del(struct bt_mesh_dfd_srv *srv, const struct bt_mesh_dfu_slot *slot) in slot_del()
102 static void receivers_status_rsp(struct bt_mesh_dfd_srv *srv, in receivers_status_rsp()
119 struct bt_mesh_dfd_srv *srv = mod->rt->user_data; in handle_receivers_add() local
149 struct bt_mesh_dfd_srv *srv = mod->rt->user_data; in handle_receivers_delete_all() local
159 struct bt_mesh_dfd_srv *srv = mod->rt->user_data; in handle_receivers_get() local
229 struct bt_mesh_dfd_srv *srv = mod->rt->user_data; in handle_capabilities_get() local
[all …]
Drpr_cli.c51 struct bt_mesh_rpr_node *srv, in link_report()
96 struct bt_mesh_rpr_node srv = RPR_NODE(ctx); in handle_extended_scan_report() local
129 struct bt_mesh_rpr_node srv = RPR_NODE(ctx); in handle_link_report() local
168 struct bt_mesh_rpr_node srv = RPR_NODE(ctx); in handle_link_status() local
202 struct bt_mesh_rpr_node srv = RPR_NODE(ctx); in handle_pdu_outbound_report() local
233 struct bt_mesh_rpr_node srv = RPR_NODE(ctx); in handle_pdu_report() local
264 struct bt_mesh_rpr_node srv = RPR_NODE(ctx); in handle_scan_caps_status() local
288 struct bt_mesh_rpr_node srv = RPR_NODE(ctx); in handle_scan_report() local
321 struct bt_mesh_rpr_node srv = RPR_NODE(ctx); in handle_scan_status() local
423 struct bt_mesh_msg_ack_ctx *ack_ctx, const struct bt_mesh_rpr_node *srv, in tx_wait()
[all …]
Dhealth_srv.c37 struct bt_mesh_health_srv *srv = mod->rt->user_data; in health_get_registered() local
69 struct bt_mesh_health_srv *srv = mod->rt->user_data; in health_get_current() local
131 struct bt_mesh_health_srv *srv = model->rt->user_data; in health_fault_clear_unrel() local
150 struct bt_mesh_health_srv *srv = model->rt->user_data; in health_fault_clear() local
179 struct bt_mesh_health_srv *srv = model->rt->user_data; in health_fault_test_unrel() local
200 struct bt_mesh_health_srv *srv = model->rt->user_data; in health_fault_test() local
235 struct bt_mesh_health_srv *srv = model->rt->user_data; in send_attention_status() local
410 struct bt_mesh_health_srv *srv = CONTAINER_OF(dwork, in attention_off() local
422 struct bt_mesh_health_srv *srv = model->rt->user_data; in health_srv_init() local
453 struct bt_mesh_health_srv *srv; in bt_mesh_attention() local
Dproxy_cli.c126 struct bt_mesh_proxy_server *srv = user_data; in proxy_connected() local
134 struct bt_mesh_proxy_server *srv = find_proxy_srv_by_conn(conn); in proxy_link_open() local
141 struct bt_mesh_proxy_server *srv = find_proxy_srv_by_conn(conn); in proxy_disconnected() local
163 struct bt_mesh_proxy_server *srv; in proxy_srv_check_and_get() local
203 struct bt_mesh_proxy_server *srv; member
307 struct bt_mesh_proxy_server *srv; in bt_mesh_proxy_connect() local
337 struct bt_mesh_proxy_server *srv; in bt_mesh_proxy_disconnect() local
Dpb_gatt_cli.c37 struct bt_mesh_proxy_role *srv; member
Dlarge_comp_data_srv.c41 } srv; variable
Dop_agg_srv.c34 } srv = {.ctx.sdu = &sdu}; variable
Dmain.c304 const struct bt_mesh_rpr_node *srv, in bt_mesh_provision_remote()
325 struct bt_mesh_rpr_node *srv, in bt_mesh_reprovision_remote()
Dprov_bearer.h127 const struct bt_mesh_rpr_node *srv; member
Dprovisioner.c858 const struct bt_mesh_rpr_node *srv, const uint8_t uuid[16], in bt_mesh_pb_remote_open()
933 struct bt_mesh_rpr_node *srv, uint16_t addr, in bt_mesh_pb_remote_open_node()
/Zephyr-latest/subsys/bluetooth/mesh/shell/
Drpr.c23 const struct bt_mesh_rpr_node *srv, in rpr_scan_report()
88 const struct bt_mesh_rpr_node srv = { in cmd_scan() local
130 const struct bt_mesh_rpr_node srv = { in cmd_scan_ext() local
171 const struct bt_mesh_rpr_node srv = { in cmd_scan_srv() local
205 const struct bt_mesh_rpr_node srv = { in cmd_scan_caps() local
233 const struct bt_mesh_rpr_node srv = { in cmd_scan_get() local
261 const struct bt_mesh_rpr_node srv = { in cmd_scan_stop() local
286 const struct bt_mesh_rpr_node srv = { in cmd_link_get() local
312 const struct bt_mesh_rpr_node srv = { in cmd_link_close() local
333 struct bt_mesh_rpr_node srv = { in cmd_provision_remote() local
[all …]
Ddfu.c76 static int dfu_meta_check(struct bt_mesh_dfu_srv *srv, in dfu_meta_check()
84 static int dfu_start(struct bt_mesh_dfu_srv *srv, in dfu_start()
96 static void dfu_end(struct bt_mesh_dfu_srv *srv, const struct bt_mesh_dfu_img *img, bool success) in dfu_end()
111 static int dfu_apply(struct bt_mesh_dfu_srv *srv, in dfu_apply()
Ddfd.c19 static void print_receivers_status(const struct shell *sh, struct bt_mesh_dfd_srv *srv, in print_receivers_status()
25 static void print_dfd_status(const struct shell *sh, struct bt_mesh_dfd_srv *srv, in print_dfd_status()
Dblob.c184 static int blob_srv_start(struct bt_mesh_blob_srv *srv, in blob_srv_start()
193 static void blob_srv_end(struct bt_mesh_blob_srv *srv, uint64_t id, in blob_srv_end()
/Zephyr-latest/tests/lib/onoff/src/
Dmain.c60 static void callback(struct onoff_manager *srv, in callback()
114 struct onoff_manager *srv; member
125 static void run_transit(struct onoff_manager *srv, in run_transit()
150 static void start(struct onoff_manager *srv, in start()
159 static void stop(struct onoff_manager *srv, in stop()
168 static void reset(struct onoff_manager *srv, in reset()
187 struct onoff_manager *srv; member
775 static void rel_in_req_cb(struct onoff_manager *srv, in rel_in_req_cb()
1057 static struct onoff_sync_service srv = {}; in ZTEST() local
1134 static struct onoff_sync_service srv = {}; in ZTEST() local
/Zephyr-latest/tests/bsim/bluetooth/mesh/src/
Dtest_provision.c835 static int provision_remote(struct bt_mesh_rpr_node *srv, uint8_t dev_idx, uint16_t *addr) in provision_remote()
858 static void rpr_scan_report(struct bt_mesh_rpr_cli *cli, const struct bt_mesh_rpr_node *srv, in rpr_scan_report()
934 struct bt_mesh_rpr_node srv = { in test_provisioner_pb_remote_client_reprovision() local
950 const struct bt_mesh_rpr_node *srv, in rpr_scan_report_parallel()
981 struct bt_mesh_rpr_node srv = { in test_provisioner_pb_remote_client_parallel() local
1031 struct bt_mesh_rpr_node srv = { in test_provisioner_pb_remote_client_provision_timeout() local
1073 static void reprovision_remote_devkey_client(struct bt_mesh_rpr_node *srv, in reprovision_remote_devkey_client()
1100 static void reprovision_remote_comp_data_client(struct bt_mesh_rpr_node *srv, in reprovision_remote_comp_data_client()
1135 static void reprovision_remote_address_client(struct bt_mesh_rpr_node *srv, in reprovision_remote_address_client()
1201 struct bt_mesh_rpr_node srv = { in test_provisioner_pb_remote_client_nppi_robustness() local
[all …]
Dtest_dfu.c119 static int dist_fw_recv(struct bt_mesh_dfd_srv *srv, in dist_fw_recv()
128 static void dist_fw_del(struct bt_mesh_dfd_srv *srv, in dist_fw_del()
133 static int dist_fw_send(struct bt_mesh_dfd_srv *srv, in dist_fw_send()
142 static void dist_phase_changed(struct bt_mesh_dfd_srv *srv, enum bt_mesh_dfd_phase phase) in dist_phase_changed()
170 static int target_metadata_check(struct bt_mesh_dfu_srv *srv, in target_metadata_check()
187 static int target_dfu_start(struct bt_mesh_dfu_srv *srv, in target_dfu_start()
207 static void target_dfu_transfer_end(struct bt_mesh_dfu_srv *srv, const struct bt_mesh_dfu_img *img, in target_dfu_transfer_end()
231 static int target_dfu_recover(struct bt_mesh_dfu_srv *srv, in target_dfu_recover()
246 static int target_dfu_apply(struct bt_mesh_dfu_srv *srv, const struct bt_mesh_dfu_img *img) in target_dfu_apply()
/Zephyr-latest/subsys/bluetooth/audio/
Dvocs.c484 struct bt_vocs_server *srv = CONTAINER_OF(inst, struct bt_vocs_server, vocs); in bt_vocs_state_get() local
507 struct bt_vocs_server *srv = CONTAINER_OF(inst, struct bt_vocs_server, vocs); in bt_vocs_location_get() local
530 struct bt_vocs_server *srv = CONTAINER_OF(inst, struct bt_vocs_server, vocs); in bt_vocs_location_set() local
550 struct bt_vocs_server *srv = CONTAINER_OF(inst, struct bt_vocs_server, vocs); in bt_vocs_state_set() local
575 struct bt_vocs_server *srv = CONTAINER_OF(inst, struct bt_vocs_server, vocs); in bt_vocs_description_get() local
603 struct bt_vocs_server *srv = CONTAINER_OF(inst, struct bt_vocs_server, vocs); in bt_vocs_description_set() local
/Zephyr-latest/include/zephyr/bluetooth/mesh/
Dhealth_srv.h175 #define BT_MESH_MODEL_HEALTH_SRV(srv, pub, ...) \ argument
Drpr_cli.h87 struct bt_mesh_rpr_node srv; member
/Zephyr-latest/tests/bluetooth/tester/src/
Dbtp_mesh.c118 static bool is_self_update(struct bt_mesh_dfd_srv *srv) in is_self_update()
130 static int dfd_srv_recv(struct bt_mesh_dfd_srv *srv, in dfd_srv_recv()
141 static void dfd_srv_del(struct bt_mesh_dfd_srv *srv, in dfd_srv_del()
147 static int dfd_srv_send(struct bt_mesh_dfd_srv *srv, in dfd_srv_send()
181 static int dfd_srv_start_oob_upload(struct bt_mesh_dfd_srv *srv, in dfd_srv_start_oob_upload()
201 static void dfd_srv_cancel_oob_upload(struct bt_mesh_dfd_srv *srv, in dfd_srv_cancel_oob_upload()
209 static uint8_t dfd_srv_oob_progress_get(struct bt_mesh_dfd_srv *srv, in dfd_srv_oob_progress_get()
368 static int dfu_meta_check(struct bt_mesh_dfu_srv *srv, in dfu_meta_check()
390 static int dfu_start(struct bt_mesh_dfu_srv *srv, in dfu_start()
402 static void dfu_end(struct bt_mesh_dfu_srv *srv, in dfu_end()
[all …]
/Zephyr-latest/lib/utils/
Donoff.c607 int onoff_sync_lock(struct onoff_sync_service *srv, in onoff_sync_lock()
614 int onoff_sync_finalize(struct onoff_sync_service *srv, in onoff_sync_finalize()
/Zephyr-latest/drivers/usb/device/
Dusb_dc_native_posix_adapt.c262 struct sockaddr_in srv; in usbip_start() local

12