linux/drivers/gpu/drm/omapdrm/dss/base.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 * OMAP Display Subsystem Base
 *
 * Copyright (C) 2015-2017 Texas Instruments Incorporated - https://www.ti.com/
 */

#include <linux/kernel.h>
#include <linux/list.h>
#include <linux/module.h>
#include <linux/mutex.h>
#include <linux/of.h>
#include <linux/of_graph.h>
#include <linux/platform_device.h>

#include "dss.h"
#include "omapdss.h"

struct dispc_device *dispc_get_dispc(struct dss_device *dss)
{}

/* -----------------------------------------------------------------------------
 * OMAP DSS Devices Handling
 */

static LIST_HEAD(omapdss_devices_list);
static DEFINE_MUTEX(omapdss_devices_lock);

void omapdss_device_register(struct omap_dss_device *dssdev)
{}

void omapdss_device_unregister(struct omap_dss_device *dssdev)
{}

static bool omapdss_device_is_registered(struct device_node *node)
{}

struct omap_dss_device *omapdss_device_get(struct omap_dss_device *dssdev)
{}

void omapdss_device_put(struct omap_dss_device *dssdev)
{}

struct omap_dss_device *omapdss_find_device_by_node(struct device_node *node)
{}

/*
 * Search for the next output device starting at @from. Release the reference to
 * the @from device, and acquire a reference to the returned device if found.
 */
struct omap_dss_device *omapdss_device_next_output(struct omap_dss_device *from)
{}

static bool omapdss_device_is_connected(struct omap_dss_device *dssdev)
{}

int omapdss_device_connect(struct dss_device *dss,
			   struct omap_dss_device *src,
			   struct omap_dss_device *dst)
{}

void omapdss_device_disconnect(struct omap_dss_device *src,
			       struct omap_dss_device *dst)
{}

/* -----------------------------------------------------------------------------
 * Components Handling
 */

static struct list_head omapdss_comp_list;

struct omapdss_comp_node {};

static bool omapdss_list_contains(const struct device_node *node)
{}

static void omapdss_walk_device(struct device *dev, struct device_node *node,
				bool dss_core)
{}

void omapdss_gather_components(struct device *dev)
{}

static bool omapdss_component_is_loaded(struct omapdss_comp_node *comp)
{}

bool omapdss_stack_is_ready(void)
{}