cregit-Linux how code gets into the kernel

Release 4.7 drivers/clk/mmp/reset.h

Directory: drivers/clk/mmp
#ifndef __MACH_MMP_CLK_RESET_H

#define __MACH_MMP_CLK_RESET_H

#include <linux/reset-controller.h>


#define MMP_RESET_INVERT	1


struct mmp_clk_reset_cell {
	
unsigned int clk_id;
	
void __iomem *reg;
	
u32 bits;
	
unsigned int flags;
	
spinlock_t *lock;
};


struct mmp_clk_reset_unit {
	
struct reset_controller_dev rcdev;
	
struct mmp_clk_reset_cell *cells;
};

#ifdef CONFIG_RESET_CONTROLLER
void mmp_clk_reset_register(struct device_node *np,
			struct mmp_clk_reset_cell *cells, int nr_resets);
#else

static inline void mmp_clk_reset_register(struct device_node *np, struct mmp_clk_reset_cell *cells, int nr_resets) { }

Contributors

PersonTokensPropCommitsCommitProp
chao xiechao xie19100.00%1100.00%
Total19100.00%1100.00%

#endif #endif

Overall Contributors

PersonTokensPropCommitsCommitProp
chao xiechao xie97100.00%1100.00%
Total97100.00%1100.00%
Directory: drivers/clk/mmp
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.
{% endraw %}