Lines Matching defs:online
315 // Sends a message to the host to notify when a xdc device stream becomes online or offline.
317 static void xdc_notify_stream_state(xdc_t* xdc, uint32_t stream_id, bool online) {
320 .notify_stream_state = { .stream_id = stream_id, .online = online }
369 xdc_notify_stream_state(xdc, stream_id, true /* online */);
520 xdc_notify_stream_state(xdc, inst->stream_id, false /* online */);
678 static void xdc_update_write_signal_locked(xdc_t* xdc, bool online)
681 xdc->writable = online && xdc_has_free_trbs(xdc, false /* in */);
704 xdc_update_write_signal_locked(xdc, status != ZX_ERR_IO_NOT_PRESENT /* online */);
752 xdc_update_write_signal_locked(xdc, status != ZX_ERR_IO_NOT_PRESENT /* online */);
766 if (state->online == (host_stream != NULL)) {
768 state->stream_id, state->online ? "online" : "offline");
772 if (state->online) {
779 zxlogf(TRACE, "setting host stream id %u as online\n", state->stream_id);
794 state->stream_id, state->online ? "connected" : "disconnected");
795 test->connected = state->online;
1154 xdc_update_write_signal_locked(xdc, true /* online */);