Lines Matching refs:mesh_tx
1058 struct mgmt_mesh_tx *mesh_tx, bool silent) in mesh_send_complete() argument
1060 u8 handle = mesh_tx->handle; in mesh_send_complete()
1066 mgmt_mesh_remove(mesh_tx); in mesh_send_complete()
1071 struct mgmt_mesh_tx *mesh_tx; in mesh_send_done_sync() local
1075 mesh_tx = mgmt_mesh_next(hdev, NULL); in mesh_send_done_sync()
1077 if (mesh_tx) in mesh_send_done_sync()
1078 mesh_send_complete(hdev, mesh_tx, false); in mesh_send_done_sync()
1087 struct mgmt_mesh_tx *mesh_tx = mgmt_mesh_next(hdev, NULL); in mesh_next() local
1089 if (!mesh_tx) in mesh_next()
1092 err = hci_cmd_sync_queue(hdev, mesh_send_sync, mesh_tx, in mesh_next()
1096 mesh_send_complete(hdev, mesh_tx, false); in mesh_next()
2240 struct mgmt_mesh_tx *mesh_tx = data; in mesh_send_start_complete() local
2241 struct mgmt_cp_mesh_send *send = (void *)mesh_tx->param; in mesh_send_start_complete()
2250 mesh_send_complete(hdev, mesh_tx, false); in mesh_send_start_complete()
2261 struct mgmt_mesh_tx *mesh_tx = data; in mesh_send_sync() local
2262 struct mgmt_cp_mesh_send *send = (void *)mesh_tx->param; in mesh_send_sync()
2280 mesh_tx->handle); in mesh_send_sync()
2283 mesh_tx->instance = instance; in mesh_send_sync()
2313 static void send_count(struct mgmt_mesh_tx *mesh_tx, void *data) in send_count() argument
2320 rp->handles[rp->used_handles++] = mesh_tx->handle; in send_count()
2354 struct mgmt_mesh_tx *mesh_tx; in send_cancel() local
2358 mesh_tx = mgmt_mesh_next(hdev, cmd->sk); in send_cancel()
2360 if (mesh_tx) in send_cancel()
2361 mesh_send_complete(hdev, mesh_tx, false); in send_cancel()
2362 } while (mesh_tx); in send_cancel()
2364 mesh_tx = mgmt_mesh_find(hdev, cancel->handle); in send_cancel()
2366 if (mesh_tx && mesh_tx->sk == cmd->sk) in send_cancel()
2367 mesh_send_complete(hdev, mesh_tx, false); in send_cancel()
2413 struct mgmt_mesh_tx *mesh_tx; in mesh_send() local
2443 mesh_tx = mgmt_mesh_add(sk, hdev, send, len); in mesh_send()
2445 if (!mesh_tx) in mesh_send()
2448 err = hci_cmd_sync_queue(hdev, mesh_send_sync, mesh_tx, in mesh_send()
2456 if (mesh_tx) { in mesh_send()
2458 mgmt_mesh_remove(mesh_tx); in mesh_send()
2464 &mesh_tx->handle, 1); in mesh_send()
10542 struct mgmt_mesh_tx *mesh_tx; in mgmt_cleanup() local
10549 mesh_tx = mgmt_mesh_next(hdev, sk); in mgmt_cleanup()
10551 if (mesh_tx) in mgmt_cleanup()
10552 mesh_send_complete(hdev, mesh_tx, true); in mgmt_cleanup()
10553 } while (mesh_tx); in mgmt_cleanup()