23b65c3a24
git-subtree-dir: techpack/display git-subtree-mainline:2d46776923
git-subtree-split:64f31403b4
Change-Id: I7f4c42a3ba6b11a8db861cdd171a52d8f58f2e06
39 lines
1.1 KiB
C
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 */
|