| /OK3568_Linux_fs/u-boot/drivers/gpio/ |
| H A D | kona_gpio.c | 11 #define GPIO_BASE (void *)GPIO2_BASE_ADDR macro 50 writel(GPIO_PASSWD, GPIO_BASE + GPIO_GPPWR_OFFSET); in gpio_request() 52 value = readl(GPIO_BASE + off) & ~GPIO_BITMASK(gpio); in gpio_request() 53 writel(value, GPIO_BASE + off); in gpio_request() 62 writel(GPIO_PASSWD, GPIO_BASE + GPIO_GPPWR_OFFSET); in gpio_free() 64 value = readl(GPIO_BASE + off) | GPIO_BITMASK(gpio); in gpio_free() 65 writel(value, GPIO_BASE + off); in gpio_free() 74 val = readl(GPIO_BASE + GPIO_CONTROL(gpio)); in gpio_direction_input() 77 writel(val, GPIO_BASE + GPIO_CONTROL(gpio)); in gpio_direction_input() 88 val = readl(GPIO_BASE + GPIO_CONTROL(gpio)); in gpio_direction_output() [all …]
|
| H A D | lpc32xx_gpio.c | 307 gpio_priv->regs = (struct gpio_regs *)GPIO_BASE; in lpc32xx_gpio_probe()
|
| /OK3568_Linux_fs/u-boot/board/renesas/sh7785lcr/ |
| H A D | lowlevel_init.S | 189 #define GPIO_BASE 0xffe70000 macro 190 PACR_A: .long GPIO_BASE + 0x00 191 PBCR_A: .long GPIO_BASE + 0x02 192 PCCR_A: .long GPIO_BASE + 0x04 193 PDCR_A: .long GPIO_BASE + 0x06 194 PECR_A: .long GPIO_BASE + 0x08 195 PFCR_A: .long GPIO_BASE + 0x0a 196 PGCR_A: .long GPIO_BASE + 0x0c 197 PHCR_A: .long GPIO_BASE + 0x0e 198 PJCR_A: .long GPIO_BASE + 0x10 [all …]
|
| /OK3568_Linux_fs/kernel/drivers/staging/media/atomisp/pci/hive_isp_css_common/host/ |
| H A D | gpio_private.h | 31 OP___assert(GPIO_BASE[ID] != (hrt_address) - 1); in gpio_reg_store() 32 ia_css_device_store_uint32(GPIO_BASE[ID] + reg * sizeof(hrt_data), value); in gpio_reg_store() 41 OP___assert(GPIO_BASE[ID] != (hrt_address) - 1); in gpio_reg_load() 42 return ia_css_device_load_uint32(GPIO_BASE[ID] + reg * sizeof(hrt_data)); in gpio_reg_load()
|
| H A D | timed_ctrl.c | 71 OP___assert(GPIO_BASE[GPIO_ID] != (hrt_address)-1); in timed_ctrl_snd_gpio_commnd() 74 GPIO_BASE[GPIO_ID] + offset, value); in timed_ctrl_snd_gpio_commnd()
|
| /OK3568_Linux_fs/u-boot/drivers/pch/ |
| H A D | pch7.c | 11 #define GPIO_BASE 0x44 macro 55 dm_pci_read_config32(dev, GPIO_BASE, &base); in pch7_get_gpio_base()
|
| H A D | pch9.c | 11 #define GPIO_BASE 0x48 macro 39 dm_pci_read_config32(dev, GPIO_BASE, &base); in pch9_get_gpio_base()
|
| /OK3568_Linux_fs/u-boot/arch/arm/cpu/arm920t/ep93xx/ |
| H A D | led.c | 18 register struct gpio_regs *gpio = (struct gpio_regs *)GPIO_BASE; in switch_LED_on() 26 register struct gpio_regs *gpio = (struct gpio_regs *)GPIO_BASE; in switch_LED_off()
|
| /OK3568_Linux_fs/u-boot/board/renesas/sh7752evb/ |
| H A D | sh7752evb.c | 24 struct gpio_regs *gpio = GPIO_BASE; in init_gpio() 84 struct gpio_regs *gpio = GPIO_BASE; in init_gether_mdio() 164 struct gpio_regs *gpio = GPIO_BASE; in board_mmc_init()
|
| /OK3568_Linux_fs/u-boot/board/renesas/sh7753evb/ |
| H A D | sh7753evb.c | 24 struct gpio_regs *gpio = GPIO_BASE; in init_gpio() 91 struct gpio_regs *gpio = GPIO_BASE; in init_gether_mdio() 180 struct gpio_regs *gpio = GPIO_BASE; in board_mmc_init()
|
| /OK3568_Linux_fs/u-boot/arch/x86/cpu/ivybridge/ |
| H A D | bd82x6x.c | 24 #define GPIO_BASE 0x48 macro 199 dm_pci_read_config32(dev, GPIO_BASE, &base); in bd82x6x_get_gpio_base()
|
| /OK3568_Linux_fs/kernel/drivers/mfd/ |
| H A D | lpc_sch.c | 25 #define GPIO_BASE 0x44 macro 148 ret = lpc_sch_populate_cell(dev, GPIO_BASE, "sch_gpio", in lpc_sch_probe()
|
| /OK3568_Linux_fs/u-boot/arch/x86/include/asm/arch-ivybridge/ |
| H A D | pch.h | 73 #define GPIO_BASE 0x48 /* LPC GPIO Base Address Register */ macro 96 #define GPIO_BASE 0x48 /* LPC GPIO Base Address Register */ macro
|
| /OK3568_Linux_fs/u-boot/arch/arm/include/asm/arch-lpc32xx/ |
| H A D | cpu.h | 29 #define GPIO_BASE 0x40028000 /* GPIO registers base */ macro
|
| /OK3568_Linux_fs/u-boot/board/timll/devkit3250/ |
| H A D | devkit3250_spl.c | 17 static struct gpio_regs *gpio = (struct gpio_regs *)GPIO_BASE;
|
| /OK3568_Linux_fs/kernel/drivers/pinctrl/ |
| H A D | pinctrl-xway.c | 42 #define GPIO_BASE(p) (REG_OFF * PORT(p)) macro 43 #define GPIO_OUT(p) GPIO_BASE(p) 44 #define GPIO_IN(p) (GPIO_BASE(p) + 0x04) 45 #define GPIO_DIR(p) (GPIO_BASE(p) + 0x08) 46 #define GPIO_ALT0(p) (GPIO_BASE(p) + 0x0C) 47 #define GPIO_ALT1(p) (GPIO_BASE(p) + 0x10) 48 #define GPIO_OD(p) (GPIO_BASE(p) + 0x14) 49 #define GPIO_PUDSEL(p) (GPIO_BASE(p) + 0x1c) 50 #define GPIO_PUDEN(p) (GPIO_BASE(p) + 0x20) 53 #define GPIO3_OD (GPIO_BASE(0) + 0x24) [all …]
|
| /OK3568_Linux_fs/kernel/drivers/staging/media/atomisp/pci/ |
| H A D | system_local.c | 102 const hrt_address GPIO_BASE[N_GPIO_ID] = { variable
|
| H A D | system_local.h | 71 extern const hrt_address GPIO_BASE[N_GPIO_ID];
|
| /OK3568_Linux_fs/u-boot/arch/arm/mach-s5pc1xx/include/mach/ |
| H A D | cpu.h | 94 SAMSUNG_BASE(gpio, GPIO_BASE)
|
| /OK3568_Linux_fs/u-boot/arch/x86/include/asm/arch-broadwell/ |
| H A D | pch.h | 17 #define GPIO_BASE 0x48 /* LPC GPIO Base Address Register */ macro
|
| /OK3568_Linux_fs/kernel/drivers/leds/ |
| H A D | leds-ss4200.c | 30 #define GPIO_BASE 0x048 macro 371 status = pci_read_config_dword(dev, GPIO_BASE, &nas_gpio_io_base); in ich7_lpc_probe()
|
| /OK3568_Linux_fs/u-boot/arch/x86/cpu/broadwell/ |
| H A D | pch.c | 46 dm_pci_write_config32(dev, GPIO_BASE, GPIO_BASE_ADDRESS | 1); in broadwell_pch_early_init() 518 dm_pci_read_config32(dev, GPIO_BASE, gbasep); in broadwell_get_gpio_base()
|
| /OK3568_Linux_fs/u-boot/arch/sh/include/asm/ |
| H A D | cpu_sh7753.h | 194 #define GPIO_BASE ((struct gpio_regs *)0xffec0000) macro
|
| H A D | cpu_sh7752.h | 194 #define GPIO_BASE ((struct gpio_regs *)0xffec0000) macro
|
| /OK3568_Linux_fs/u-boot/arch/x86/cpu/quark/ |
| H A D | Kconfig | 105 config GPIO_BASE config
|