Lines Matching full:ipc
15 #include <zephyr/ipc/ipc_service.h>
30 const struct device *ipc; member
212 struct ipc_data *ipc = dev->data; in bt_ipc_rx() local
217 LOG_HEXDUMP_DBG(data, len, "ipc data:"); in bt_ipc_rx()
242 ipc->recv(dev, buf); in bt_ipc_rx()
286 struct ipc_data *ipc = dev->data; in hci_ept_bound() local
288 k_sem_give(&ipc->bound_sem); in hci_ept_bound()
312 struct ipc_data *ipc = dev->data; in bt_ipc_open() local
323 err = ipc_service_open_instance(ipc->ipc); in bt_ipc_open()
325 LOG_ERR("IPC service instance initialization failed: %d\n", err); in bt_ipc_open()
329 err = ipc_service_register_endpoint(ipc->ipc, &ipc->hci_ept, &ipc->hci_ept_cfg); in bt_ipc_open()
335 err = k_sem_take(&ipc->bound_sem, IPC_BOUND_TIMEOUT_IN_MS); in bt_ipc_open()
341 ipc->recv = recv; in bt_ipc_open()
348 struct ipc_data *ipc = dev->data; in bt_ipc_close() local
359 err = ipc_service_deregister_endpoint(&ipc->hci_ept); in bt_ipc_close()
365 err = ipc_service_close_instance(ipc->ipc); in bt_ipc_close()
367 LOG_ERR("Closing IPC service failed with: %d", err); in bt_ipc_close()
377 ipc->recv = NULL; in bt_ipc_close()
399 .ipc = DEVICE_DT_GET(DT_INST_PARENT(inst)), \