Lines Matching refs:mesh_tx
1083 struct mgmt_mesh_tx *mesh_tx, bool silent) in mesh_send_complete() argument
1085 u8 handle = mesh_tx->handle; in mesh_send_complete()
1091 mgmt_mesh_remove(mesh_tx); in mesh_send_complete()
1096 struct mgmt_mesh_tx *mesh_tx; in mesh_send_done_sync() local
1101 mesh_tx = mgmt_mesh_next(hdev, NULL); in mesh_send_done_sync()
1103 if (mesh_tx) in mesh_send_done_sync()
1104 mesh_send_complete(hdev, mesh_tx, false); in mesh_send_done_sync()
1113 struct mgmt_mesh_tx *mesh_tx = mgmt_mesh_next(hdev, NULL); in mesh_next() local
1115 if (!mesh_tx) in mesh_next()
1118 err = hci_cmd_sync_queue(hdev, mesh_send_sync, mesh_tx, in mesh_next()
1122 mesh_send_complete(hdev, mesh_tx, false); in mesh_next()
2305 struct mgmt_mesh_tx *mesh_tx = data; in mesh_send_start_complete() local
2306 struct mgmt_cp_mesh_send *send = (void *)mesh_tx->param; in mesh_send_start_complete()
2315 mesh_send_complete(hdev, mesh_tx, false); in mesh_send_start_complete()
2326 struct mgmt_mesh_tx *mesh_tx = data; in mesh_send_sync() local
2327 struct mgmt_cp_mesh_send *send = (void *)mesh_tx->param; in mesh_send_sync()
2345 mesh_tx->handle); in mesh_send_sync()
2348 mesh_tx->instance = instance; in mesh_send_sync()
2378 static void send_count(struct mgmt_mesh_tx *mesh_tx, void *data) in send_count() argument
2385 rp->handles[rp->used_handles++] = mesh_tx->handle; in send_count()
2419 struct mgmt_mesh_tx *mesh_tx; in send_cancel() local
2423 mesh_tx = mgmt_mesh_next(hdev, cmd->sk); in send_cancel()
2425 if (mesh_tx) in send_cancel()
2426 mesh_send_complete(hdev, mesh_tx, false); in send_cancel()
2427 } while (mesh_tx); in send_cancel()
2429 mesh_tx = mgmt_mesh_find(hdev, cancel->handle); in send_cancel()
2431 if (mesh_tx && mesh_tx->sk == cmd->sk) in send_cancel()
2432 mesh_send_complete(hdev, mesh_tx, false); in send_cancel()
2478 struct mgmt_mesh_tx *mesh_tx; in mesh_send() local
2516 mesh_tx = mgmt_mesh_add(sk, hdev, send, len); in mesh_send()
2518 if (!mesh_tx) in mesh_send()
2521 err = hci_cmd_sync_queue(hdev, mesh_send_sync, mesh_tx, in mesh_send()
2529 if (mesh_tx) { in mesh_send()
2531 mgmt_mesh_remove(mesh_tx); in mesh_send()
2537 &mesh_tx->handle, 1); in mesh_send()
10615 struct mgmt_mesh_tx *mesh_tx; in mgmt_cleanup() local
10622 mesh_tx = mgmt_mesh_next(hdev, sk); in mgmt_cleanup()
10624 if (mesh_tx) in mgmt_cleanup()
10625 mesh_send_complete(hdev, mesh_tx, true); in mgmt_cleanup()
10626 } while (mesh_tx); in mgmt_cleanup()