simplefb_common.h 522 B

123456789101112131415161718192021
  1. /* SPDX-License-Identifier: GPL-2.0+ */
  2. /*
  3. * (C) Copyright 2017 Icenowy Zheng <icenowy@aosc.io>
  4. */
  5. #ifndef __SIMPLEFB_COMMON_H
  6. #define __SIMPLEFB_COMMON_H
  7. /**
  8. * sunxi_simplefb_fdt_match() - match a sunxi simplefb node
  9. *
  10. * Match a sunxi simplefb device node with a specified pipeline, and
  11. * return its offset.
  12. *
  13. * @blob: device tree blob
  14. * @pipeline: display pipeline
  15. * @return device node offset in blob, or negative values if failed
  16. */
  17. int sunxi_simplefb_fdt_match(void *blob, const char *pipeline);
  18. #endif