Benjamin Gaignard | cfd8d74 | 2014-07-28 10:30:02 +0200 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) STMicroelectronics SA 2014 |
| 3 | * Author: Fabien Dessenne <fabien.dessenne@st.com> for STMicroelectronics. |
| 4 | * License terms: GNU General Public License (GPL), version 2 |
| 5 | */ |
| 6 | |
| 7 | #ifndef _STI_VID_H_ |
| 8 | #define _STI_VID_H_ |
| 9 | |
Vincent Abriou | 871bcdf | 2015-07-31 11:32:13 +0200 | [diff] [blame^] | 10 | /** |
| 11 | * STI VID structure |
| 12 | * |
| 13 | * @dev: driver device |
| 14 | * @regs: vid registers |
| 15 | * @id: id of the vid |
| 16 | */ |
| 17 | struct sti_vid { |
| 18 | struct device *dev; |
| 19 | void __iomem *regs; |
| 20 | int id; |
| 21 | }; |
| 22 | |
| 23 | int sti_vid_commit(struct sti_vid *vid, struct sti_plane *plane); |
| 24 | int sti_vid_disable(struct sti_vid *vid); |
| 25 | struct sti_vid *sti_vid_create(struct device *dev, int id, |
| 26 | void __iomem *baseaddr); |
Benjamin Gaignard | cfd8d74 | 2014-07-28 10:30:02 +0200 | [diff] [blame] | 27 | |
| 28 | #endif |