Blame view

include/linux/fwnode.h 630 Bytes
ce793486e   Rafael J. Wysocki   driver core / ACP...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
  /*
   * fwnode.h - Firmware device node object handle type definition.
   *
   * Copyright (C) 2015, Intel Corporation
   * Author: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
   *
   * This program is free software; you can redistribute it and/or modify
   * it under the terms of the GNU General Public License version 2 as
   * published by the Free Software Foundation.
   */
  
  #ifndef _LINUX_FWNODE_H_
  #define _LINUX_FWNODE_H_
  
  enum fwnode_type {
  	FWNODE_INVALID = 0,
  	FWNODE_OF,
  	FWNODE_ACPI,
445b0eb05   Rafael J. Wysocki   ACPI / property: ...
19
  	FWNODE_ACPI_DATA,
16ba08d5c   Rafael J. Wysocki   device property: ...
20
  	FWNODE_PDATA,
b145dcc45   Marc Zyngier   irqdomain: Add a ...
21
  	FWNODE_IRQCHIP,
ce793486e   Rafael J. Wysocki   driver core / ACP...
22
23
24
25
  };
  
  struct fwnode_handle {
  	enum fwnode_type type;
97badf873   Rafael J. Wysocki   device property: ...
26
  	struct fwnode_handle *secondary;
ce793486e   Rafael J. Wysocki   driver core / ACP...
27
28
29
  };
  
  #endif