blob: 2b93e2e04163872a6401b9fdd4d219d657f0e3d1 [file] [log] [blame]
/*
* include/linux/amlogic/media/vout/vclk_serve.h
*
* Copyright (C) 2017 Amlogic, Inc. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
* more details.
*
*/
#ifndef _AML_VCLK_H_
#define _AML_VCLK_H_
unsigned int vclk_ana_reg_read(unsigned int _reg);
void vclk_ana_reg_write(unsigned int _reg, unsigned int _value);
void vclk_ana_reg_setb(unsigned int _reg, unsigned int _value,
unsigned int _start, unsigned int _len);
unsigned int vclk_ana_reg_getb(unsigned int _reg,
unsigned int _start, unsigned int _len);
unsigned int vclk_clk_reg_read(unsigned int _reg);
void vclk_clk_reg_write(unsigned int _reg, unsigned int _value);
void vclk_clk_reg_setb(unsigned int _reg, unsigned int _value,
unsigned int _start, unsigned int _len);
unsigned int vclk_clk_reg_getb(unsigned int _reg,
unsigned int _start, unsigned int _len);
#endif