Lines Matching refs:mesh_tx

1076 			       struct mgmt_mesh_tx *mesh_tx, bool silent)  in mesh_send_complete()  argument
1078 u8 handle = mesh_tx->handle; in mesh_send_complete()
1084 mgmt_mesh_remove(mesh_tx); in mesh_send_complete()
1089 struct mgmt_mesh_tx *mesh_tx; in mesh_send_done_sync() local
1093 mesh_tx = mgmt_mesh_next(hdev, NULL); in mesh_send_done_sync()
1095 if (mesh_tx) in mesh_send_done_sync()
1096 mesh_send_complete(hdev, mesh_tx, false); in mesh_send_done_sync()
1105 struct mgmt_mesh_tx *mesh_tx = mgmt_mesh_next(hdev, NULL); in mesh_next() local
1107 if (!mesh_tx) in mesh_next()
1110 err = hci_cmd_sync_queue(hdev, mesh_send_sync, mesh_tx, in mesh_next()
1114 mesh_send_complete(hdev, mesh_tx, false); in mesh_next()
2266 struct mgmt_mesh_tx *mesh_tx = data; in mesh_send_start_complete() local
2267 struct mgmt_cp_mesh_send *send = (void *)mesh_tx->param; in mesh_send_start_complete()
2276 mesh_send_complete(hdev, mesh_tx, false); in mesh_send_start_complete()
2287 struct mgmt_mesh_tx *mesh_tx = data; in mesh_send_sync() local
2288 struct mgmt_cp_mesh_send *send = (void *)mesh_tx->param; in mesh_send_sync()
2306 mesh_tx->handle); in mesh_send_sync()
2309 mesh_tx->instance = instance; in mesh_send_sync()
2339 static void send_count(struct mgmt_mesh_tx *mesh_tx, void *data) in send_count() argument
2346 rp->handles[rp->used_handles++] = mesh_tx->handle; in send_count()
2380 struct mgmt_mesh_tx *mesh_tx; in send_cancel() local
2384 mesh_tx = mgmt_mesh_next(hdev, cmd->sk); in send_cancel()
2386 if (mesh_tx) in send_cancel()
2387 mesh_send_complete(hdev, mesh_tx, false); in send_cancel()
2388 } while (mesh_tx); in send_cancel()
2390 mesh_tx = mgmt_mesh_find(hdev, cancel->handle); in send_cancel()
2392 if (mesh_tx && mesh_tx->sk == cmd->sk) in send_cancel()
2393 mesh_send_complete(hdev, mesh_tx, false); in send_cancel()
2439 struct mgmt_mesh_tx *mesh_tx; in mesh_send() local
2469 mesh_tx = mgmt_mesh_add(sk, hdev, send, len); in mesh_send()
2471 if (!mesh_tx) in mesh_send()
2474 err = hci_cmd_sync_queue(hdev, mesh_send_sync, mesh_tx, in mesh_send()
2482 if (mesh_tx) { in mesh_send()
2484 mgmt_mesh_remove(mesh_tx); in mesh_send()
2490 &mesh_tx->handle, 1); in mesh_send()
10545 struct mgmt_mesh_tx *mesh_tx; in mgmt_cleanup() local
10552 mesh_tx = mgmt_mesh_next(hdev, sk); in mgmt_cleanup()
10554 if (mesh_tx) in mgmt_cleanup()
10555 mesh_send_complete(hdev, mesh_tx, true); in mgmt_cleanup()
10556 } while (mesh_tx); in mgmt_cleanup()