Home
last modified time | relevance | path

Searched refs:GPIO_BASE (Results 1 – 4 of 4) sorted by relevance

/linux-4.4.14/arch/arm/mach-gemini/
Dgpio.c25 #define GPIO_BASE(x) IO_ADDRESS(GEMINI_GPIO_BASE(x)) macro
61 void __iomem *base = GPIO_BASE(gpio / 32); in gpio_ack_irq()
69 void __iomem *base = GPIO_BASE(gpio / 32); in gpio_mask_irq()
77 void __iomem *base = GPIO_BASE(gpio / 32); in gpio_unmask_irq()
86 void __iomem *base = GPIO_BASE(gpio / 32); in gpio_set_irq_type()
134 irq_stat = __raw_readl(GPIO_BASE(port) + GPIO_INT_STAT); in gpio_irq_handler()
157 void __iomem *base = GPIO_BASE(offset / 32); in _set_gpio_direction()
170 void __iomem *base = GPIO_BASE(offset / 32); in gemini_gpio_set()
180 void __iomem *base = GPIO_BASE(offset / 32); in gemini_gpio_get()
215 __raw_writel(0x0, GPIO_BASE(i) + GPIO_INT_EN); in gemini_gpio_init()
[all …]
/linux-4.4.14/drivers/pinctrl/
Dpinctrl-xway.c44 #define GPIO_BASE(p) (REG_OFF * PORT(p)) macro
45 #define GPIO_OUT(p) GPIO_BASE(p)
46 #define GPIO_IN(p) (GPIO_BASE(p) + 0x04)
47 #define GPIO_DIR(p) (GPIO_BASE(p) + 0x08)
48 #define GPIO_ALT0(p) (GPIO_BASE(p) + 0x0C)
49 #define GPIO_ALT1(p) (GPIO_BASE(p) + 0x10)
50 #define GPIO_OD(p) (GPIO_BASE(p) + 0x14)
51 #define GPIO_PUDSEL(p) (GPIO_BASE(p) + 0x1c)
52 #define GPIO_PUDEN(p) (GPIO_BASE(p) + 0x20)
55 #define GPIO3_OD (GPIO_BASE(0) + 0x24)
[all …]
/linux-4.4.14/arch/arm/mach-w90x900/
Dgpio.c27 #define GPIO_BASE (W90X900_VA_GPIO) macro
151 gpio_chip->regbase = GPIO_BASE + i * GROUPINERV; in nuc900_init_gpio()
/linux-4.4.14/drivers/leds/
Dleds-ss4200.c42 #define GPIO_BASE 0x048 macro
370 status = pci_read_config_dword(dev, GPIO_BASE, &nas_gpio_io_base); in ich7_lpc_probe()