Home
last modified time | relevance | path

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

/openbmc/u-boot/drivers/gpio/
H A Ddwapb_gpio.c23 #define GPIO_SWPORT_DDR(p) (0x04 + (p) * 0xc) macro
48 clrbits_le32(plat->base + GPIO_SWPORT_DDR(plat->bank), 1 << pin); in dwapb_gpio_direction_input()
57 setbits_le32(plat->base + GPIO_SWPORT_DDR(plat->bank), 1 << pin); in dwapb_gpio_direction_output()
91 gpio = readl(plat->base + GPIO_SWPORT_DDR(plat->bank)); in dwapb_gpio_get_function()