android_kernel_xiaomi_sm8350/techpack/display/msm/sde/sde_hw_reg_dma_v1.h
Michael Bestas 23b65c3a24
Add 'techpack/display/' from tag 'LA.UM.9.14.r1-18300-LAHAINA.0'
git-subtree-dir: techpack/display
git-subtree-mainline: 2d46776923
git-subtree-split: 64f31403b4
Change-Id: I7f4c42a3ba6b11a8db861cdd171a52d8f58f2e06
2022-05-19 00:04:54 +03:00

39 lines
1.1 KiB
C

/* SPDX-License-Identifier: GPL-2.0-only */
/*
* Copyright (c) 2017-2020, The Linux Foundation. All rights reserved.
*/
#ifndef _SDE_HW_REG_DMA_V1_H
#define _SDE_HW_REG_DMA_V1_H
#include "sde_reg_dma.h"
/**
* init_v1() - initialize the reg dma v1 driver by installing v1 ops
* @reg_dma - reg_dma hw info structure exposing capabilities.
*/
int init_v1(struct sde_hw_reg_dma *reg_dma);
/**
* init_v11() - initialize the reg dma v11 driver by installing v11 ops
* @reg_dma - reg_dma hw info structure exposing capabilities.
*/
int init_v11(struct sde_hw_reg_dma *reg_dma);
/**
* init_v12() - initialize the reg dma v12 driver by installing v12 ops
* @reg_dma - reg_dma hw info structure exposing capabilities.
*/
int init_v12(struct sde_hw_reg_dma *reg_dma);
/**
* init_v2() - initialize the reg dma v2 driver by installing v2 ops
* @reg_dma - reg_dma hw info structure exposing capabilities.
*/
int init_v2(struct sde_hw_reg_dma *reg_dma);
/**
* deinit_v1() - free up any resources allocated during the v1 reg dma init
*/
void deinit_v1(void);
#endif /* _SDE_HW_REG_DMA_V1_H */