Merge tag 'xfs-for-linus-3.17-rc1' of git://oss.sgi.com/xfs/xfs
[deliverable/linux.git] / drivers / gpu / drm / sti / sti_vtg.h
CommitLineData
f2cb3148
BG
1/*
2 * Copyright (C) STMicroelectronics SA 2014
3 * Author: Benjamin Gaignard <benjamin.gaignard@st.com> for STMicroelectronics.
4 * License terms: GNU General Public License (GPL), version 2
5 */
6
7#ifndef _STI_VTG_H_
8#define _STI_VTG_H_
9
10#define VTG_TOP_FIELD_EVENT 1
11#define VTG_BOTTOM_FIELD_EVENT 2
12
13struct sti_vtg;
14struct drm_display_mode;
15struct notifier_block;
16
17struct sti_vtg *of_vtg_find(struct device_node *np);
18void sti_vtg_set_config(struct sti_vtg *vtg,
19 const struct drm_display_mode *mode);
20int sti_vtg_register_client(struct sti_vtg *vtg,
21 struct notifier_block *nb, int crtc_id);
22int sti_vtg_unregister_client(struct sti_vtg *vtg,
23 struct notifier_block *nb);
24
25u32 sti_vtg_get_line_number(struct drm_display_mode mode, int y);
26u32 sti_vtg_get_pixel_number(struct drm_display_mode mode, int x);
27
28#endif
This page took 0.029039 seconds and 5 git commands to generate.