Lines Matching defs:srv

22 #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()
164 struct bt_mesh_blob_srv *srv = cb_data; in report_sent() local
177 static void block_report(struct bt_mesh_blob_srv *srv) in block_report()
206 static void phase_set(struct bt_mesh_blob_srv *srv, in phase_set()
213 static void cancel(struct bt_mesh_blob_srv *srv) in cancel()
234 static void suspend(struct bt_mesh_blob_srv *srv) in suspend()
245 static void resume(struct bt_mesh_blob_srv *srv) in resume()
253 static void end(struct bt_mesh_blob_srv *srv) in end()
266 static bool all_blocks_received(struct bt_mesh_blob_srv *srv) in all_blocks_received()
277 static bool pull_mode_xfer_complete(struct bt_mesh_blob_srv *srv) in pull_mode_xfer_complete()
286 struct bt_mesh_blob_srv *srv = in timeout() local
302 struct bt_mesh_blob_srv *srv = in report_timeout() local
319 static void xfer_status_rsp(struct bt_mesh_blob_srv *srv, in xfer_status_rsp()
352 static void block_status_rsp(struct bt_mesh_blob_srv *srv, in block_status_rsp()
420 struct bt_mesh_blob_srv *srv = mod->rt->user_data; in handle_xfer_get() local
440 struct bt_mesh_blob_srv *srv = mod->rt->user_data; in handle_xfer_start() local
572 struct bt_mesh_blob_srv *srv = mod->rt->user_data; in handle_xfer_cancel() local
600 struct bt_mesh_blob_srv *srv = mod->rt->user_data; in handle_block_get() local
630 struct bt_mesh_blob_srv *srv = mod->rt->user_data; in handle_block_start() local
725 struct bt_mesh_blob_srv *srv = mod->rt->user_data; in handle_chunk() local
815 struct bt_mesh_blob_srv *srv = mod->rt->user_data; in handle_info_get() local
851 struct bt_mesh_blob_srv *srv = mod->rt->user_data; in blob_srv_init() local
867 struct bt_mesh_blob_srv *srv = mod->rt->user_data; in blob_srv_settings_set() local
907 struct bt_mesh_blob_srv *srv = mod->rt->user_data; in blob_srv_start() local
935 struct bt_mesh_blob_srv *srv = mod->rt->user_data; in blob_srv_reset() local
951 int bt_mesh_blob_srv_recv(struct bt_mesh_blob_srv *srv, uint64_t id, in bt_mesh_blob_srv_recv()
975 int bt_mesh_blob_srv_cancel(struct bt_mesh_blob_srv *srv) in bt_mesh_blob_srv_cancel()
986 bool bt_mesh_blob_srv_is_busy(const struct bt_mesh_blob_srv *srv) in bt_mesh_blob_srv_is_busy()
993 uint8_t bt_mesh_blob_srv_progress(const struct bt_mesh_blob_srv *srv) in bt_mesh_blob_srv_progress()