linux/drivers/gpu/drm/lima/lima_device.c

// SPDX-License-Identifier: GPL-2.0 OR MIT
/* Copyright 2017-2019 Qiang Yu <[email protected]> */

#include <linux/regulator/consumer.h>
#include <linux/reset.h>
#include <linux/clk.h>
#include <linux/slab.h>
#include <linux/dma-mapping.h>
#include <linux/platform_device.h>

#include "lima_device.h"
#include "lima_gp.h"
#include "lima_pp.h"
#include "lima_mmu.h"
#include "lima_pmu.h"
#include "lima_l2_cache.h"
#include "lima_dlbu.h"
#include "lima_bcast.h"
#include "lima_vm.h"

struct lima_ip_desc {};

#define LIMA_IP_DESC(ipname, mst0, mst1, off0, off1, func, irq)

static struct lima_ip_desc lima_ip_desc[lima_ip_num] =;

const char *lima_ip_name(struct lima_ip *ip)
{}

static int lima_clk_enable(struct lima_device *dev)
{}

static void lima_clk_disable(struct lima_device *dev)
{}

static int lima_clk_init(struct lima_device *dev)
{}

static void lima_clk_fini(struct lima_device *dev)
{}

static int lima_regulator_enable(struct lima_device *dev)
{}

static void lima_regulator_disable(struct lima_device *dev)
{}

static int lima_regulator_init(struct lima_device *dev)
{}

static void lima_regulator_fini(struct lima_device *dev)
{}

static int lima_init_ip(struct lima_device *dev, int index)
{}

static void lima_fini_ip(struct lima_device *ldev, int index)
{}

static int lima_resume_ip(struct lima_device *ldev, int index)
{}

static void lima_suspend_ip(struct lima_device *ldev, int index)
{}

static int lima_init_gp_pipe(struct lima_device *dev)
{}

static void lima_fini_gp_pipe(struct lima_device *dev)
{}

static int lima_init_pp_pipe(struct lima_device *dev)
{}

static void lima_fini_pp_pipe(struct lima_device *dev)
{}

int lima_device_init(struct lima_device *ldev)
{}

void lima_device_fini(struct lima_device *ldev)
{}

int lima_device_resume(struct device *dev)
{}

int lima_device_suspend(struct device *dev)
{}