Home
last modified time | relevance | path

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

12

/OK3568_Linux_fs/u-boot/drivers/gpio/
H A Dkona_gpio.c11 #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 Dlpc32xx_gpio.c307 gpio_priv->regs = (struct gpio_regs *)GPIO_BASE; in lpc32xx_gpio_probe()
/OK3568_Linux_fs/u-boot/board/renesas/sh7785lcr/
H A Dlowlevel_init.S189 #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 Dgpio_private.h31 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 Dtimed_ctrl.c71 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 Dpch7.c11 #define GPIO_BASE 0x44 macro
55 dm_pci_read_config32(dev, GPIO_BASE, &base); in pch7_get_gpio_base()
H A Dpch9.c11 #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 Dled.c18 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 Dsh7752evb.c24 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 Dsh7753evb.c24 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 Dbd82x6x.c24 #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 Dlpc_sch.c25 #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 Dpch.h73 #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 Dcpu.h29 #define GPIO_BASE 0x40028000 /* GPIO registers base */ macro
/OK3568_Linux_fs/u-boot/board/timll/devkit3250/
H A Ddevkit3250_spl.c17 static struct gpio_regs *gpio = (struct gpio_regs *)GPIO_BASE;
/OK3568_Linux_fs/kernel/drivers/pinctrl/
H A Dpinctrl-xway.c42 #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 Dsystem_local.c102 const hrt_address GPIO_BASE[N_GPIO_ID] = { variable
H A Dsystem_local.h71 extern const hrt_address GPIO_BASE[N_GPIO_ID];
/OK3568_Linux_fs/u-boot/arch/arm/mach-s5pc1xx/include/mach/
H A Dcpu.h94 SAMSUNG_BASE(gpio, GPIO_BASE)
/OK3568_Linux_fs/u-boot/arch/x86/include/asm/arch-broadwell/
H A Dpch.h17 #define GPIO_BASE 0x48 /* LPC GPIO Base Address Register */ macro
/OK3568_Linux_fs/kernel/drivers/leds/
H A Dleds-ss4200.c30 #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 Dpch.c46 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 Dcpu_sh7753.h194 #define GPIO_BASE ((struct gpio_regs *)0xffec0000) macro
H A Dcpu_sh7752.h194 #define GPIO_BASE ((struct gpio_regs *)0xffec0000) macro
/OK3568_Linux_fs/u-boot/arch/x86/cpu/quark/
H A DKconfig105 config GPIO_BASE config

12