cregit-Linux how code gets into the kernel

Release 4.17 include/dt-bindings/gpio/uniphier-gpio.h

/*
 * Copyright (C) 2017 Socionext Inc.
 *   Author: Masahiro Yamada <yamada.masahiro@socionext.com>
 */

#ifndef _DT_BINDINGS_GPIO_UNIPHIER_H

#define _DT_BINDINGS_GPIO_UNIPHIER_H


#define UNIPHIER_GPIO_LINES_PER_BANK	8


#define UNIPHIER_GPIO_IRQ_OFFSET	((UNIPHIER_GPIO_LINES_PER_BANK) * 15)


#define UNIPHIER_GPIO_PORT(bank, line)	\
			((UNIPHIER_GPIO_LINES_PER_BANK) * (bank) + (line))


#define UNIPHIER_GPIO_IRQ(n)		((UNIPHIER_GPIO_IRQ_OFFSET) + (n))

#endif /* _DT_BINDINGS_GPIO_UNIPHIER_H */

Overall Contributors

PersonTokensPropCommitsCommitProp
Masahiro Yamada35100.00%1100.00%
Total35100.00%1100.00%
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.
Created with cregit.