Lines Matching refs:service_fd
92 int service_fd; member
111 .service_fd = -1,
137 if (send(u->service_fd, msg, length, 0) > 0) in service_send()
159 if (recv(u->service_fd, rsp, length, 0) > 0) { in service_recv()
186 assert(u->service_fd >= 0); in service_expect()
211 if (u->service_fd != -1) in init_bt()
216 u->service_fd = bt_audio_service_open(); in init_bt()
217 if (u->service_fd <= 0) { in init_bt()
691 if (u->service_fd != -1) { in shutdown_bt()
693 bt_audio_service_close(u->service_fd); in shutdown_bt()
694 u->service_fd = -1; in shutdown_bt()
866 if ((u->stream_fd = bt_audio_service_get_data_fd(u->service_fd)) < 0) { in start_stream()