Lines Matching +full:0 +full:x2000
23 #define LPC18XX_REG_DIR(n) (0x2000 + n * sizeof(u32))
29 #define LPC18XX_GPIO_PIN_IC_ISEL 0x00
30 #define LPC18XX_GPIO_PIN_IC_IENR 0x04
31 #define LPC18XX_GPIO_PIN_IC_SIENR 0x08
32 #define LPC18XX_GPIO_PIN_IC_CIENR 0x0c
33 #define LPC18XX_GPIO_PIN_IC_IENF 0x10
34 #define LPC18XX_GPIO_PIN_IC_SIENF 0x14
35 #define LPC18XX_GPIO_PIN_IC_CIENF 0x18
36 #define LPC18XX_GPIO_PIN_IC_RISE 0x1c
37 #define LPC18XX_GPIO_PIN_IC_FALL 0x20
38 #define LPC18XX_GPIO_PIN_IC_IST 0x24
151 return 0; in lpc18xx_gpio_pin_ic_set_type()
175 hwirq = fwspec->param[0]; in lpc18xx_gpio_pin_ic_domain_alloc()
185 parent_fwspec.param[0] = hwirq + 32; in lpc18xx_gpio_pin_ic_domain_alloc()
188 if (ret < 0) { in lpc18xx_gpio_pin_ic_domain_alloc()
190 parent_fwspec.param[0], ret); in lpc18xx_gpio_pin_ic_domain_alloc()
228 if (index < 0) { in lpc18xx_gpio_pin_ic_probe()
234 if (ret < 0) in lpc18xx_gpio_pin_ic_probe()
245 ic->domain = irq_domain_add_hierarchy(parent_domain, 0, in lpc18xx_gpio_pin_ic_probe()
258 return 0; in lpc18xx_gpio_pin_ic_probe()
271 writeb(value ? 1 : 0, gc->base + offset); in lpc18xx_gpio_set()
299 return 0; in lpc18xx_gpio_direction()
341 if (index < 0) { in lpc18xx_gpio_probe()
343 gc->base = devm_platform_ioremap_resource(pdev, 0); in lpc18xx_gpio_probe()
348 if (ret < 0) in lpc18xx_gpio_probe()
382 return 0; in lpc18xx_gpio_probe()
394 return 0; in lpc18xx_gpio_remove()