Lines Matching refs:mesh_tx
1065 struct mgmt_mesh_tx *mesh_tx, bool silent) in mesh_send_complete() argument
1067 u8 handle = mesh_tx->handle; in mesh_send_complete()
1073 mgmt_mesh_remove(mesh_tx); in mesh_send_complete()
1078 struct mgmt_mesh_tx *mesh_tx; in mesh_send_done_sync() local
1083 mesh_tx = mgmt_mesh_next(hdev, NULL); in mesh_send_done_sync()
1085 if (mesh_tx) in mesh_send_done_sync()
1086 mesh_send_complete(hdev, mesh_tx, false); in mesh_send_done_sync()
1095 struct mgmt_mesh_tx *mesh_tx = mgmt_mesh_next(hdev, NULL); in mesh_next() local
1097 if (!mesh_tx) in mesh_next()
1100 err = hci_cmd_sync_queue(hdev, mesh_send_sync, mesh_tx, in mesh_next()
1104 mesh_send_complete(hdev, mesh_tx, false); in mesh_next()
2226 struct mgmt_mesh_tx *mesh_tx = data; in mesh_send_start_complete() local
2227 struct mgmt_cp_mesh_send *send = (void *)mesh_tx->param; in mesh_send_start_complete()
2236 mesh_send_complete(hdev, mesh_tx, false); in mesh_send_start_complete()
2247 struct mgmt_mesh_tx *mesh_tx = data; in mesh_send_sync() local
2248 struct mgmt_cp_mesh_send *send = (void *)mesh_tx->param; in mesh_send_sync()
2266 mesh_tx->handle); in mesh_send_sync()
2269 mesh_tx->instance = instance; in mesh_send_sync()
2299 static void send_count(struct mgmt_mesh_tx *mesh_tx, void *data) in send_count() argument
2306 rp->handles[rp->used_handles++] = mesh_tx->handle; in send_count()
2340 struct mgmt_mesh_tx *mesh_tx; in send_cancel() local
2344 mesh_tx = mgmt_mesh_next(hdev, cmd->sk); in send_cancel()
2346 if (mesh_tx) in send_cancel()
2347 mesh_send_complete(hdev, mesh_tx, false); in send_cancel()
2348 } while (mesh_tx); in send_cancel()
2350 mesh_tx = mgmt_mesh_find(hdev, cancel->handle); in send_cancel()
2352 if (mesh_tx && mesh_tx->sk == cmd->sk) in send_cancel()
2353 mesh_send_complete(hdev, mesh_tx, false); in send_cancel()
2399 struct mgmt_mesh_tx *mesh_tx; in mesh_send() local
2429 mesh_tx = mgmt_mesh_add(sk, hdev, send, len); in mesh_send()
2431 if (!mesh_tx) in mesh_send()
2434 err = hci_cmd_sync_queue(hdev, mesh_send_sync, mesh_tx, in mesh_send()
2442 if (mesh_tx) { in mesh_send()
2444 mgmt_mesh_remove(mesh_tx); in mesh_send()
2450 &mesh_tx->handle, 1); in mesh_send()
10469 struct mgmt_mesh_tx *mesh_tx; in mgmt_cleanup() local
10476 mesh_tx = mgmt_mesh_next(hdev, sk); in mgmt_cleanup()
10478 if (mesh_tx) in mgmt_cleanup()
10479 mesh_send_complete(hdev, mesh_tx, true); in mgmt_cleanup()
10480 } while (mesh_tx); in mgmt_cleanup()