Last change
on this file was 679, checked in by David Azarewicz, 4 years ago |
Merge changes from Paul's uniaud32next branch.
|
File size:
761 bytes
|
Line | |
---|
1 | /* SPDX-License-Identifier: GPL-2.0-only */
|
---|
2 | /*
|
---|
3 | * fwnode.h - Firmware device node object handle type definition.
|
---|
4 | *
|
---|
5 | * Copyright (C) 2015, Intel Corporation
|
---|
6 | * Author: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
|
---|
7 | */
|
---|
8 |
|
---|
9 | #ifndef _LINUX_FWNODE_H_
|
---|
10 | #define _LINUX_FWNODE_H_
|
---|
11 |
|
---|
12 | #include <linux/types.h>
|
---|
13 |
|
---|
14 | struct fwnode_operations;
|
---|
15 | struct device;
|
---|
16 |
|
---|
17 | struct fwnode_handle {
|
---|
18 | struct fwnode_handle *secondary;
|
---|
19 | const struct fwnode_operations *ops;
|
---|
20 | struct device *dev;
|
---|
21 | };
|
---|
22 |
|
---|
23 | /**
|
---|
24 | * struct fwnode_endpoint - Fwnode graph endpoint
|
---|
25 | * @port: Port number
|
---|
26 | * @id: Endpoint id
|
---|
27 | * @local_fwnode: reference to the related fwnode
|
---|
28 | */
|
---|
29 | struct fwnode_endpoint {
|
---|
30 | unsigned int port;
|
---|
31 | unsigned int id;
|
---|
32 | const struct fwnode_handle *local_fwnode;
|
---|
33 | };
|
---|
34 |
|
---|
35 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.