Lines Matching refs:mesh_tx
1070 struct mgmt_mesh_tx *mesh_tx, bool silent) in mesh_send_complete() argument
1072 u8 handle = mesh_tx->handle; in mesh_send_complete()
1078 mgmt_mesh_remove(mesh_tx); in mesh_send_complete()
1083 struct mgmt_mesh_tx *mesh_tx; in mesh_send_done_sync() local
1087 mesh_tx = mgmt_mesh_next(hdev, NULL); in mesh_send_done_sync()
1089 if (mesh_tx) in mesh_send_done_sync()
1090 mesh_send_complete(hdev, mesh_tx, false); in mesh_send_done_sync()
1099 struct mgmt_mesh_tx *mesh_tx = mgmt_mesh_next(hdev, NULL); in mesh_next() local
1101 if (!mesh_tx) in mesh_next()
1104 err = hci_cmd_sync_queue(hdev, mesh_send_sync, mesh_tx, in mesh_next()
1108 mesh_send_complete(hdev, mesh_tx, false); in mesh_next()
2252 struct mgmt_mesh_tx *mesh_tx = data; in mesh_send_start_complete() local
2253 struct mgmt_cp_mesh_send *send = (void *)mesh_tx->param; in mesh_send_start_complete()
2262 mesh_send_complete(hdev, mesh_tx, false); in mesh_send_start_complete()
2273 struct mgmt_mesh_tx *mesh_tx = data; in mesh_send_sync() local
2274 struct mgmt_cp_mesh_send *send = (void *)mesh_tx->param; in mesh_send_sync()
2292 mesh_tx->handle); in mesh_send_sync()
2295 mesh_tx->instance = instance; in mesh_send_sync()
2325 static void send_count(struct mgmt_mesh_tx *mesh_tx, void *data) in send_count() argument
2332 rp->handles[rp->used_handles++] = mesh_tx->handle; in send_count()
2366 struct mgmt_mesh_tx *mesh_tx; in send_cancel() local
2370 mesh_tx = mgmt_mesh_next(hdev, cmd->sk); in send_cancel()
2372 if (mesh_tx) in send_cancel()
2373 mesh_send_complete(hdev, mesh_tx, false); in send_cancel()
2374 } while (mesh_tx); in send_cancel()
2376 mesh_tx = mgmt_mesh_find(hdev, cancel->handle); in send_cancel()
2378 if (mesh_tx && mesh_tx->sk == cmd->sk) in send_cancel()
2379 mesh_send_complete(hdev, mesh_tx, false); in send_cancel()
2425 struct mgmt_mesh_tx *mesh_tx; in mesh_send() local
2455 mesh_tx = mgmt_mesh_add(sk, hdev, send, len); in mesh_send()
2457 if (!mesh_tx) in mesh_send()
2460 err = hci_cmd_sync_queue(hdev, mesh_send_sync, mesh_tx, in mesh_send()
2468 if (mesh_tx) { in mesh_send()
2470 mgmt_mesh_remove(mesh_tx); in mesh_send()
2476 &mesh_tx->handle, 1); in mesh_send()
10553 struct mgmt_mesh_tx *mesh_tx; in mgmt_cleanup() local
10560 mesh_tx = mgmt_mesh_next(hdev, sk); in mgmt_cleanup()
10562 if (mesh_tx) in mgmt_cleanup()
10563 mesh_send_complete(hdev, mesh_tx, true); in mgmt_cleanup()
10564 } while (mesh_tx); in mgmt_cleanup()