blob: bd68fbe819ff2320b401b20041df721252cd6845 [file] [log] [blame]
// Copyright 2018 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
library fuchsia.hardware.intelhda.codec;
using zx;
@transport("Banjo")
@banjo_layout("ddk-protocol")
protocol IhdaCodec {
/// Fetch a zx_handle_t to a channel which can be used to communicate with the codec device.
GetDriverChannel() -> (resource struct {
s zx.Status;
channel zx.Handle:CHANNEL;
});
};