1/* 2 * Video Timing Controller Header for Xilinx DRM KMS 3 * 4 * Copyright (C) 2013 Xilinx, Inc. 5 * 6 * Author: Hyun Woo Kwon <hyunk@xilinx.com> 7 * 8 * This software is licensed under the terms of the GNU General Public 9 * License version 2, as published by the Free Software Foundation, and 10 * may be copied, distributed, and modified under those terms. 11 * 12 * This program is distributed in the hope that it will be useful, 13 * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 * GNU General Public License for more details. 16 */ 17 18#ifndef _XILINX_VTC_H_ 19#define _XILINX_VTC_H_ 20 21struct xilinx_vtc; 22 23struct videomode; 24 25void xilinx_vtc_config_sig(struct xilinx_vtc *vtc, 26 struct videomode *vm); 27void xilinx_vtc_enable_vblank_intr(struct xilinx_vtc *vtc, 28 void (*fn)(void *), void *data); 29void xilinx_vtc_disable_vblank_intr(struct xilinx_vtc *vtc); 30void xilinx_vtc_reset(struct xilinx_vtc *vtc); 31void xilinx_vtc_enable(struct xilinx_vtc *vtc); 32void xilinx_vtc_disable(struct xilinx_vtc *vtc); 33 34struct device; 35struct device_node; 36 37struct xilinx_vtc *xilinx_vtc_probe(struct device *dev, 38 struct device_node *node); 39 40#endif /* _XILINX_VTC_H_ */ 41