Lines Matching defs:srv
58 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
246 static void status_rsp(struct bt_mesh_dfd_srv *srv, struct bt_mesh_msg_ctx *ctx, in status_rsp()
274 struct bt_mesh_dfd_srv *srv = mod->rt->user_data; in handle_get() local
284 struct bt_mesh_dfd_srv *srv = mod->rt->user_data; in handle_start() local
317 struct bt_mesh_dfd_srv *srv = mod->rt->user_data; in handle_suspend() local
327 struct bt_mesh_dfd_srv *srv = mod->rt->user_data; in handle_cancel() local
337 struct bt_mesh_dfd_srv *srv = mod->rt->user_data; in handle_apply() local
344 static void upload_status_rsp_with_progress(struct bt_mesh_dfd_srv *srv, in upload_status_rsp_with_progress()
378 static void upload_status_rsp(struct bt_mesh_dfd_srv *srv, in upload_status_rsp()
399 struct bt_mesh_dfd_srv *srv = mod->rt->user_data; in handle_upload_get() local
406 static inline int set_upload_fwid(struct bt_mesh_dfd_srv *srv, struct bt_mesh_msg_ctx *ctx, in set_upload_fwid()
444 struct bt_mesh_dfd_srv *srv = mod->rt->user_data; in handle_upload_start() local
566 struct bt_mesh_dfd_srv *srv = mod->rt->user_data; in handle_upload_start_oob() local
657 struct bt_mesh_dfd_srv *srv = mod->rt->user_data; in handle_upload_cancel() local
673 static void fw_status_rsp(struct bt_mesh_dfd_srv *srv, in fw_status_rsp()
696 struct bt_mesh_dfd_srv *srv = mod->rt->user_data; in handle_fw_get() local
720 struct bt_mesh_dfd_srv *srv = mod->rt->user_data; in handle_fw_get_by_index() local
741 struct bt_mesh_dfd_srv *srv = mod->rt->user_data; in handle_fw_delete() local
758 struct bt_mesh_dfd_srv *srv = user_data; in slot_del_cb() local
770 struct bt_mesh_dfd_srv *srv = mod->rt->user_data; in handle_fw_delete_all() local
801 struct bt_mesh_dfd_srv *srv = in dfu_suspended() local
810 struct bt_mesh_dfd_srv *srv = in dfu_ended() local
846 struct bt_mesh_dfd_srv *srv = in dfu_applied() local
868 struct bt_mesh_dfd_srv *srv = in dfu_confirmed() local
895 struct bt_mesh_dfd_srv *srv = in upload_end() local
929 struct bt_mesh_dfd_srv *srv = mod->rt->user_data; in dfd_srv_init() local
963 struct bt_mesh_dfd_srv *srv = mod->rt->user_data; in dfd_srv_reset() local
980 enum bt_mesh_dfd_status bt_mesh_dfd_srv_receiver_add(struct bt_mesh_dfd_srv *srv, uint16_t addr, in bt_mesh_dfd_srv_receiver_add()
1018 enum bt_mesh_dfd_status bt_mesh_dfd_srv_receivers_delete_all(struct bt_mesh_dfd_srv *srv) in bt_mesh_dfd_srv_receivers_delete_all()
1030 enum bt_mesh_dfd_status bt_mesh_dfd_srv_start(struct bt_mesh_dfd_srv *srv, in bt_mesh_dfd_srv_start()
1117 enum bt_mesh_dfd_status bt_mesh_dfd_srv_suspend(struct bt_mesh_dfd_srv *srv) in bt_mesh_dfd_srv_suspend()
1138 enum bt_mesh_dfd_status bt_mesh_dfd_srv_cancel(struct bt_mesh_dfd_srv *srv, in bt_mesh_dfd_srv_cancel()
1195 enum bt_mesh_dfd_status bt_mesh_dfd_srv_apply(struct bt_mesh_dfd_srv *srv) in bt_mesh_dfd_srv_apply()
1221 enum bt_mesh_dfd_status bt_mesh_dfd_srv_fw_delete(struct bt_mesh_dfd_srv *srv, size_t *fwid_len, in bt_mesh_dfd_srv_fw_delete()
1248 enum bt_mesh_dfd_status bt_mesh_dfd_srv_fw_delete_all(struct bt_mesh_dfd_srv *srv) in bt_mesh_dfd_srv_fw_delete_all()
1262 int bt_mesh_dfd_srv_oob_check_complete(struct bt_mesh_dfd_srv *srv, in bt_mesh_dfd_srv_oob_check_complete()
1295 int bt_mesh_dfd_srv_oob_store_complete(struct bt_mesh_dfd_srv *srv, in bt_mesh_dfd_srv_oob_store_complete()