Home
last modified time | relevance | path

Searched refs:GPIO_NUM (Results 1 – 8 of 8) sorted by relevance

/OK3568_Linux_fs/u-boot/arch/arm/mach-mvebu/serdes/a38x/
H A Dsys_env_lib.h246 #define MPP_REG_NUM(GPIO_NUM) (GPIO_NUM / 8) argument
247 #define MPP_MASK(GPIO_NUM) (0xf << 4 * (GPIO_NUM - \ argument
248 (MPP_REG_NUM(GPIO_NUM) * 8)));
249 #define GPP_REG_NUM(GPIO_NUM) (GPIO_NUM / 32) argument
250 #define GPP_MASK(GPIO_NUM) (1 << GPIO_NUM % 32) argument
/OK3568_Linux_fs/u-boot/drivers/gpio/
H A Dsunxi_gpio.c39 u32 num = GPIO_NUM(pin); in sunxi_gpio_output()
57 u32 num = GPIO_NUM(pin); in sunxi_gpio_input()
175 u32 num = GPIO_NUM(offset); in sunxi_gpio_direction_output()
186 u32 num = GPIO_NUM(offset); in sunxi_gpio_get_value()
199 u32 num = GPIO_NUM(offset); in sunxi_gpio_set_value()
/OK3568_Linux_fs/kernel/drivers/gpio/
H A Dgpio-mc9s08dz60.c16 #define GPIO_NUM (GPIO_GROUP_NUM*GPIO_NUM_PER_GROUP) macro
89 mc9s->chip.ngpio = GPIO_NUM; in mc9s08dz60_probe()
/OK3568_Linux_fs/kernel/drivers/media/i2c/s5c73m3/
H A Ds5c73m3.h357 GPIO_NUM, enumerator
386 struct s5c73m3_gpio gpio[GPIO_NUM];
H A Ds5c73m3-core.c1552 for (i = 0; i < GPIO_NUM; ++i) { in s5c73m3_configure_gpios()
1576 for (i = 0; i < GPIO_NUM; ++i) { in s5c73m3_parse_gpios()
/OK3568_Linux_fs/u-boot/arch/arm/include/asm/arch-sunxi/
H A Dgpio.h82 #define GPIO_NUM(pin) ((pin) & 0x1f) macro
/OK3568_Linux_fs/kernel/drivers/media/i2c/
H A Ds5k4ecgx.c177 GPIO_NUM, enumerator
193 struct s5k4ecgx_gpio gpio[GPIO_NUM];
H A Ds5k6aa.c181 GPIO_NUM, enumerator
235 struct s5k6aa_gpio gpio[GPIO_NUM];