Lines Matching defs:cli
18 #define TARGETS_FOR_EACH(cli, target) \ argument
25 #define CLIENT_TIMEOUT_MSEC(cli) (10 * MSEC_PER_SEC * (cli->inputs->timeout_base + 2) + \ argument
30 #define SENDING_CHUNKS_IN_PULL_MODE(cli) ((cli)->state == BT_MESH_BLOB_CLI_STATE_BLOCK_SEND && \ argument
32 #define UNICAST_MODE(cli) ((cli)->inputs->group == BT_MESH_ADDR_UNASSIGNED || \ argument
60 static void start_retry_timer(struct bt_mesh_blob_cli *cli) in start_retry_timer()
89 static void cli_state_reset(struct bt_mesh_blob_cli *cli) in cli_state_reset()
99 static struct bt_mesh_blob_target *target_get(struct bt_mesh_blob_cli *cli, in target_get()
114 static void target_drop(struct bt_mesh_blob_cli *cli, in target_drop()
126 static uint32_t targets_reset(struct bt_mesh_blob_cli *cli) in targets_reset()
141 static bool targets_active(struct bt_mesh_blob_cli *cli) in targets_active()
154 static bool targets_timedout(struct bt_mesh_blob_cli *cli) in targets_timedout()
167 static int io_open(struct bt_mesh_blob_cli *cli) in io_open()
176 static void io_close(struct bt_mesh_blob_cli *cli) in io_close()
185 static uint16_t next_missing_chunk(struct bt_mesh_blob_cli *cli, in next_missing_chunk()
199 static void update_missing_chunks(struct bt_mesh_blob_cli *cli) in update_missing_chunks()
264 static void block_set(struct bt_mesh_blob_cli *cli, uint16_t block_idx) in block_set()
290 static void suspend(struct bt_mesh_blob_cli *cli) in suspend()
299 static void end(struct bt_mesh_blob_cli *cli, bool success) in end()
312 static enum bt_mesh_blob_status caps_adjust(struct bt_mesh_blob_cli *cli, in caps_adjust()
348 static struct bt_mesh_blob_target *next_target(struct bt_mesh_blob_cli *cli, in next_target()
383 static void send(struct bt_mesh_blob_cli *cli) in send()
393 static void broadcast_complete(struct bt_mesh_blob_cli *cli) in broadcast_complete()
411 struct bt_mesh_blob_cli *cli = CONTAINER_OF(dwork, struct bt_mesh_blob_cli, tx.complete); in tx_complete() local
441 static void drop_remaining_targets(struct bt_mesh_blob_cli *cli) in drop_remaining_targets()
465 struct bt_mesh_blob_cli *cli = in retry_timeout() local
514 void blob_cli_broadcast(struct bt_mesh_blob_cli *cli, in blob_cli_broadcast()
541 void blob_cli_broadcast_tx_complete(struct bt_mesh_blob_cli *cli) in blob_cli_broadcast_tx_complete()
546 void blob_cli_broadcast_rsp(struct bt_mesh_blob_cli *cli, in blob_cli_broadcast_rsp()
562 void blob_cli_broadcast_abort(struct bt_mesh_blob_cli *cli) in blob_cli_broadcast_abort()
578 static int tx(struct bt_mesh_blob_cli *cli, uint16_t addr, in tx()
612 struct bt_mesh_blob_cli *cli = user_data; in send_end() local
625 static void info_get_tx(struct bt_mesh_blob_cli *cli, uint16_t dst) in info_get_tx()
633 static void xfer_start_tx(struct bt_mesh_blob_cli *cli, uint16_t dst) in xfer_start_tx()
646 static void xfer_get_tx(struct bt_mesh_blob_cli *cli, uint16_t dst) in xfer_get_tx()
654 static void xfer_cancel_tx(struct bt_mesh_blob_cli *cli, uint16_t dst) in xfer_cancel_tx()
663 static void block_start_tx(struct bt_mesh_blob_cli *cli, uint16_t dst) in block_start_tx()
673 static void chunk_tx(struct bt_mesh_blob_cli *cli, uint16_t dst) in chunk_tx()
695 static void block_get_tx(struct bt_mesh_blob_cli *cli, uint16_t dst) in block_get_tx()
787 static void caps_get(struct bt_mesh_blob_cli *cli) in caps_get()
799 static void caps_collected(struct bt_mesh_blob_cli *cli) in caps_collected()
826 static int xfer_start(struct bt_mesh_blob_cli *cli) in xfer_start()
846 static void block_start(struct bt_mesh_blob_cli *cli) in block_start()
895 static void chunk_tx_complete(struct bt_mesh_blob_cli *cli, uint16_t dst) in chunk_tx_complete()
929 static void chunk_send(struct bt_mesh_blob_cli *cli) in chunk_send()
959 static void chunk_send_end(struct bt_mesh_blob_cli *cli) in chunk_send_end()
985 static void block_check(struct bt_mesh_blob_cli *cli) in block_check()
1000 static void block_report_wait(struct bt_mesh_blob_cli *cli) in block_report_wait()
1024 static void block_check_end(struct bt_mesh_blob_cli *cli) in block_check_end()
1068 static void confirm_transfer(struct bt_mesh_blob_cli *cli) in confirm_transfer()
1083 static void progress_checked(struct bt_mesh_blob_cli *cli) in progress_checked()
1094 static void check_transfer(struct bt_mesh_blob_cli *cli) in check_transfer()
1109 static void transfer_cancel(struct bt_mesh_blob_cli *cli) in transfer_cancel()
1124 static void transfer_complete(struct bt_mesh_blob_cli *cli) in transfer_complete()
1136 static void rx_block_status(struct bt_mesh_blob_cli *cli, in rx_block_status()
1209 struct bt_mesh_blob_cli *cli = mod->rt->user_data; in handle_xfer_status() local
1281 struct bt_mesh_blob_cli *cli = mod->rt->user_data; in handle_block_report() local
1335 struct bt_mesh_blob_cli *cli = mod->rt->user_data; in handle_block_status() local
1406 struct bt_mesh_blob_cli *cli = mod->rt->user_data; in handle_info_status() local
1462 struct bt_mesh_blob_cli *cli = mod->rt->user_data; in blob_cli_init() local
1476 struct bt_mesh_blob_cli *cli = mod->rt->user_data; in blob_cli_reset() local
1487 int bt_mesh_blob_cli_caps_get(struct bt_mesh_blob_cli *cli, in bt_mesh_blob_cli_caps_get()
1514 int bt_mesh_blob_cli_send(struct bt_mesh_blob_cli *cli, in bt_mesh_blob_cli_send()
1561 int bt_mesh_blob_cli_suspend(struct bt_mesh_blob_cli *cli) in bt_mesh_blob_cli_suspend()
1582 int bt_mesh_blob_cli_resume(struct bt_mesh_blob_cli *cli) in bt_mesh_blob_cli_resume()
1608 void bt_mesh_blob_cli_cancel(struct bt_mesh_blob_cli *cli) in bt_mesh_blob_cli_cancel()
1627 int bt_mesh_blob_cli_xfer_progress_get(struct bt_mesh_blob_cli *cli, in bt_mesh_blob_cli_xfer_progress_get()
1641 uint8_t bt_mesh_blob_cli_xfer_progress_active_get(struct bt_mesh_blob_cli *cli) in bt_mesh_blob_cli_xfer_progress_active_get()
1650 bool bt_mesh_blob_cli_is_busy(struct bt_mesh_blob_cli *cli) in bt_mesh_blob_cli_is_busy()
1655 void bt_mesh_blob_cli_set_chunk_interval_ms(struct bt_mesh_blob_cli *cli, uint32_t interval_ms) in bt_mesh_blob_cli_set_chunk_interval_ms()