Lines Matching defs:cli
20 #define TARGETS_FOR_EACH(cli, target) \ argument
24 #define MSG_CTX(cli, dst) \ argument
71 static struct bt_mesh_dfu_target *target_get(struct bt_mesh_dfu_cli *cli, in target_get()
85 static void target_failed(struct bt_mesh_dfu_cli *cli, in target_failed()
105 static void dfu_complete(struct bt_mesh_dfu_cli *cli) in dfu_complete()
114 static void dfu_applied(struct bt_mesh_dfu_cli *cli) in dfu_applied()
125 static void dfu_failed(struct bt_mesh_dfu_cli *cli, in dfu_failed()
137 static int req_setup(struct bt_mesh_dfu_cli *cli, enum req type, uint16_t addr, in req_setup()
151 static int req_wait(struct bt_mesh_dfu_cli *cli, k_timeout_t timeout) in req_wait()
161 static bool targets_active(struct bt_mesh_dfu_cli *cli) in targets_active()
182 struct bt_mesh_dfu_cli *cli = DFU_CLI(b); in blob_caps() local
221 struct bt_mesh_dfu_cli *cli = DFU_CLI(b); in blob_lost_target() local
237 struct bt_mesh_dfu_cli *cli = DFU_CLI(b); in blob_suspended() local
251 struct bt_mesh_dfu_cli *cli = DFU_CLI(b); in blob_end() local
303 struct bt_mesh_dfu_cli *cli = cb_data; in tx_end() local
310 struct bt_mesh_dfu_cli *cli) in tx()
326 static int info_get(struct bt_mesh_dfu_cli *cli, struct bt_mesh_msg_ctx *ctx, in info_get()
340 struct bt_mesh_dfu_cli *cli = DFU_CLI(b); in send_info_get() local
350 struct bt_mesh_dfu_cli *cli = DFU_CLI(b); in send_update_start() local
378 struct bt_mesh_dfu_cli *cli = DFU_CLI(b); in send_update_get() local
389 struct bt_mesh_dfu_cli *cli = DFU_CLI(b); in send_update_cancel() local
400 struct bt_mesh_dfu_cli *cli = DFU_CLI(b); in send_update_apply() local
418 static void initiate(struct bt_mesh_dfu_cli *cli) in initiate()
448 static void skip_targets_from_broadcast(struct bt_mesh_dfu_cli *cli, bool skip) in skip_targets_from_broadcast()
465 static bool transfer_skip(struct bt_mesh_dfu_cli *cli) in transfer_skip()
480 struct bt_mesh_dfu_cli *cli = DFU_CLI(b); in transfer() local
525 struct bt_mesh_dfu_cli *cli = DFU_CLI(b); in refreshed() local
536 static void refresh(struct bt_mesh_dfu_cli *cli) in refresh()
557 static void apply(struct bt_mesh_dfu_cli *cli) in apply()
575 struct bt_mesh_dfu_cli *cli = DFU_CLI(b); in applied() local
585 static enum bt_mesh_dfu_iter target_img_cb(struct bt_mesh_dfu_cli *cli, in target_img_cb()
611 static void confirm(struct bt_mesh_dfu_cli *cli) in confirm()
631 struct bt_mesh_dfu_cli *cli = DFU_CLI(b); in confirmed() local
675 static void cancel(struct bt_mesh_dfu_cli *cli) in cancel()
692 struct bt_mesh_dfu_cli *cli = DFU_CLI(b); in cancelled() local
705 struct bt_mesh_dfu_cli *cli = mod->rt->user_data; in handle_status() local
831 struct bt_mesh_dfu_cli *cli = mod->rt->user_data; in handle_info_status() local
930 struct bt_mesh_dfu_cli *cli = mod->rt->user_data; in handle_metadata_status() local
967 struct bt_mesh_dfu_cli *cli = mod->rt->user_data; in dfu_cli_init() local
991 struct bt_mesh_dfu_cli *cli = mod->rt->user_data; in dfu_cli_reset() local
1010 int bt_mesh_dfu_cli_send(struct bt_mesh_dfu_cli *cli, in bt_mesh_dfu_cli_send()
1055 int bt_mesh_dfu_cli_suspend(struct bt_mesh_dfu_cli *cli) in bt_mesh_dfu_cli_suspend()
1067 int bt_mesh_dfu_cli_resume(struct bt_mesh_dfu_cli *cli) in bt_mesh_dfu_cli_resume()
1089 int bt_mesh_dfu_cli_cancel(struct bt_mesh_dfu_cli *cli, in bt_mesh_dfu_cli_cancel()
1122 int bt_mesh_dfu_cli_apply(struct bt_mesh_dfu_cli *cli) in bt_mesh_dfu_cli_apply()
1133 int bt_mesh_dfu_cli_confirm(struct bt_mesh_dfu_cli *cli) in bt_mesh_dfu_cli_confirm()
1145 uint8_t bt_mesh_dfu_cli_progress(struct bt_mesh_dfu_cli *cli) in bt_mesh_dfu_cli_progress()
1161 bool bt_mesh_dfu_cli_is_busy(struct bt_mesh_dfu_cli *cli) in bt_mesh_dfu_cli_is_busy()
1170 int bt_mesh_dfu_cli_imgs_get(struct bt_mesh_dfu_cli *cli, in bt_mesh_dfu_cli_imgs_get()
1205 int bt_mesh_dfu_cli_metadata_check(struct bt_mesh_dfu_cli *cli, in bt_mesh_dfu_cli_metadata_check()
1239 int bt_mesh_dfu_cli_status_get(struct bt_mesh_dfu_cli *cli, in bt_mesh_dfu_cli_status_get()