brintos

brintos / linux-shallow public Read only

0
0
Text · 709 B · 991849b Raw
32 lines · c
1/* SPDX-License-Identifier: GPL-2.0 */2/*3 * Copyright (C) STMicroelectronics SA 20144 * Author: Fabien Dessenne <fabien.dessenne@st.com> for STMicroelectronics.5 */6 7#ifndef _STI_VID_H_8#define _STI_VID_H_9 10/**11 * STI VID structure12 *13 * @dev:   driver device14 * @regs:  vid registers15 * @id:    id of the vid16 */17struct sti_vid {18	struct device *dev;19	void __iomem *regs;20	int id;21};22 23void sti_vid_commit(struct sti_vid *vid,24		    struct drm_plane_state *state);25void sti_vid_disable(struct sti_vid *vid);26struct sti_vid *sti_vid_create(struct device *dev, struct drm_device *drm_dev,27			       int id, void __iomem *baseaddr);28 29void vid_debugfs_init(struct sti_vid *vid, struct drm_minor *minor);30 31#endif32