blob: fb0bc38ea78b80208adf0060384574e217255dc4 [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;
});
};