cregit-Linux how code gets into the kernel

Release 4.11 drivers/gpu/drm/arm/hdlcd_drv.h

/*
 *  ARM HDLCD Controller register definition
 */

#ifndef __HDLCD_DRV_H__

#define __HDLCD_DRV_H__


struct hdlcd_drm_private {
	
void __iomem			*mmio;
	
struct clk			*clk;
	
struct drm_fbdev_cma		*fbdev;
	
struct drm_crtc			crtc;
	
struct drm_plane		*plane;
	
struct drm_atomic_state		*state;
#ifdef CONFIG_DEBUG_FS
	
atomic_t buffer_underrun_count;
	
atomic_t bus_error_count;
	
atomic_t vsync_count;
	
atomic_t dma_end_count;
#endif
};


#define crtc_to_hdlcd_priv(x)	container_of(x, struct hdlcd_drm_private, crtc)


static inline void hdlcd_write(struct hdlcd_drm_private *hdlcd, unsigned int reg, u32 value) { writel(value, hdlcd->mmio + reg); }

Contributors

PersonTokensPropCommitsCommitProp
Liviu Dudau30100.00%1100.00%
Total30100.00%1100.00%


static inline u32 hdlcd_read(struct hdlcd_drm_private *hdlcd, unsigned int reg) { return readl(hdlcd->mmio + reg); }

Contributors

PersonTokensPropCommitsCommitProp
Liviu Dudau26100.00%1100.00%
Total26100.00%1100.00%

int hdlcd_setup_crtc(struct drm_device *dev); void hdlcd_set_scanout(struct hdlcd_drm_private *hdlcd); #endif /* __HDLCD_DRV_H__ */

Overall Contributors

PersonTokensPropCommitsCommitProp
Liviu Dudau142100.00%2100.00%
Total142100.00%2100.00%
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.
Created with cregit.