/dports/sysutils/u-boot-utilite/u-boot-2015.07/drivers/gpio/ |
H A D | xilinx_gpio.c | 68 u32 gpio_priv; in get_name() local 86 u32 val, gpio_priv; in gpio_get_output_value() local 103 u32 val, gpio_priv; in gpio_get_input_value() local 123 u32 val, gpio_priv; in gpio_set_direction() local 133 val &= ~(1 << gpio_priv); in gpio_set_direction() 135 val |= 1 << gpio_priv; in gpio_set_direction() 150 u32 val, gpio_priv; in gpio_get_direction() local 188 u32 val, gpio_priv; in gpio_set_output_value() local 197 val |= 1 << gpio_priv; in gpio_set_output_value() 267 u32 gpio_priv; in gpio_request() local [all …]
|
/dports/emulators/qemu42/qemu-4.2.1/roms/u-boot/drivers/gpio/ |
H A D | lpc32xx_gpio.c | 70 struct lpc32xx_gpio_priv *gpio_priv = dev_get_priv(dev); in lpc32xx_gpio_direction_input() local 71 struct gpio_regs *regs = gpio_priv->regs; in lpc32xx_gpio_direction_input() 100 gpio_priv->function[offset] = GPIOF_INPUT; in lpc32xx_gpio_direction_input() 113 struct gpio_regs *regs = gpio_priv->regs; in lpc32xx_gpio_get_value() 153 struct gpio_regs *regs = gpio_priv->regs; in gpio_set() 187 struct gpio_regs *regs = gpio_priv->regs; in gpio_clr() 235 struct gpio_regs *regs = gpio_priv->regs; in lpc32xx_gpio_direction_output() 263 gpio_priv->function[offset] = GPIOF_OUTPUT; in lpc32xx_gpio_direction_output() 284 return gpio_priv->function[offset]; in lpc32xx_gpio_get_function() 306 gpio_priv->regs = (struct gpio_regs *)GPIO_BASE; in lpc32xx_gpio_probe() [all …]
|
/dports/emulators/qemu5/qemu-5.2.0/roms/u-boot/drivers/gpio/ |
H A D | lpc32xx_gpio.c | 70 struct lpc32xx_gpio_priv *gpio_priv = dev_get_priv(dev); in lpc32xx_gpio_direction_input() local 71 struct gpio_regs *regs = gpio_priv->regs; in lpc32xx_gpio_direction_input() 100 gpio_priv->function[offset] = GPIOF_INPUT; in lpc32xx_gpio_direction_input() 113 struct gpio_regs *regs = gpio_priv->regs; in lpc32xx_gpio_get_value() 153 struct gpio_regs *regs = gpio_priv->regs; in gpio_set() 187 struct gpio_regs *regs = gpio_priv->regs; in gpio_clr() 235 struct gpio_regs *regs = gpio_priv->regs; in lpc32xx_gpio_direction_output() 263 gpio_priv->function[offset] = GPIOF_OUTPUT; in lpc32xx_gpio_direction_output() 284 return gpio_priv->function[offset]; in lpc32xx_gpio_get_function() 306 gpio_priv->regs = (struct gpio_regs *)GPIO_BASE; in lpc32xx_gpio_probe() [all …]
|
/dports/sysutils/u-boot-olimex-a20-som-evb/u-boot-2021.07/drivers/gpio/ |
H A D | lpc32xx_gpio.c | 70 struct lpc32xx_gpio_priv *gpio_priv = dev_get_priv(dev); in lpc32xx_gpio_direction_input() local 71 struct gpio_regs *regs = gpio_priv->regs; in lpc32xx_gpio_direction_input() 100 gpio_priv->function[offset] = GPIOF_INPUT; in lpc32xx_gpio_direction_input() 113 struct gpio_regs *regs = gpio_priv->regs; in lpc32xx_gpio_get_value() 153 struct gpio_regs *regs = gpio_priv->regs; in gpio_set() 187 struct gpio_regs *regs = gpio_priv->regs; in gpio_clr() 235 struct gpio_regs *regs = gpio_priv->regs; in lpc32xx_gpio_direction_output() 263 gpio_priv->function[offset] = GPIOF_OUTPUT; in lpc32xx_gpio_direction_output() 284 return gpio_priv->function[offset]; in lpc32xx_gpio_get_function() 306 gpio_priv->regs = (struct gpio_regs *)GPIO_BASE; in lpc32xx_gpio_probe() [all …]
|
/dports/sysutils/u-boot-olinuxino-lime/u-boot-2021.07/drivers/gpio/ |
H A D | lpc32xx_gpio.c | 70 struct lpc32xx_gpio_priv *gpio_priv = dev_get_priv(dev); in lpc32xx_gpio_direction_input() local 71 struct gpio_regs *regs = gpio_priv->regs; in lpc32xx_gpio_direction_input() 100 gpio_priv->function[offset] = GPIOF_INPUT; in lpc32xx_gpio_direction_input() 113 struct gpio_regs *regs = gpio_priv->regs; in lpc32xx_gpio_get_value() 153 struct gpio_regs *regs = gpio_priv->regs; in gpio_set() 187 struct gpio_regs *regs = gpio_priv->regs; in gpio_clr() 235 struct gpio_regs *regs = gpio_priv->regs; in lpc32xx_gpio_direction_output() 263 gpio_priv->function[offset] = GPIOF_OUTPUT; in lpc32xx_gpio_direction_output() 284 return gpio_priv->function[offset]; in lpc32xx_gpio_get_function() 306 gpio_priv->regs = (struct gpio_regs *)GPIO_BASE; in lpc32xx_gpio_probe() [all …]
|
/dports/sysutils/u-boot-olinuxino-lime2-emmc/u-boot-2021.07/drivers/gpio/ |
H A D | lpc32xx_gpio.c | 70 struct lpc32xx_gpio_priv *gpio_priv = dev_get_priv(dev); in lpc32xx_gpio_direction_input() local 71 struct gpio_regs *regs = gpio_priv->regs; in lpc32xx_gpio_direction_input() 100 gpio_priv->function[offset] = GPIOF_INPUT; in lpc32xx_gpio_direction_input() 113 struct gpio_regs *regs = gpio_priv->regs; in lpc32xx_gpio_get_value() 153 struct gpio_regs *regs = gpio_priv->regs; in gpio_set() 187 struct gpio_regs *regs = gpio_priv->regs; in gpio_clr() 235 struct gpio_regs *regs = gpio_priv->regs; in lpc32xx_gpio_direction_output() 263 gpio_priv->function[offset] = GPIOF_OUTPUT; in lpc32xx_gpio_direction_output() 284 return gpio_priv->function[offset]; in lpc32xx_gpio_get_function() 306 gpio_priv->regs = (struct gpio_regs *)GPIO_BASE; in lpc32xx_gpio_probe() [all …]
|
/dports/sysutils/u-boot-olinuxino-lime2/u-boot-2021.07/drivers/gpio/ |
H A D | lpc32xx_gpio.c | 70 struct lpc32xx_gpio_priv *gpio_priv = dev_get_priv(dev); in lpc32xx_gpio_direction_input() local 71 struct gpio_regs *regs = gpio_priv->regs; in lpc32xx_gpio_direction_input() 100 gpio_priv->function[offset] = GPIOF_INPUT; in lpc32xx_gpio_direction_input() 113 struct gpio_regs *regs = gpio_priv->regs; in lpc32xx_gpio_get_value() 153 struct gpio_regs *regs = gpio_priv->regs; in gpio_set() 187 struct gpio_regs *regs = gpio_priv->regs; in gpio_clr() 235 struct gpio_regs *regs = gpio_priv->regs; in lpc32xx_gpio_direction_output() 263 gpio_priv->function[offset] = GPIOF_OUTPUT; in lpc32xx_gpio_direction_output() 284 return gpio_priv->function[offset]; in lpc32xx_gpio_get_function() 306 gpio_priv->regs = (struct gpio_regs *)GPIO_BASE; in lpc32xx_gpio_probe() [all …]
|
/dports/sysutils/u-boot-wandboard/u-boot-2021.07/drivers/gpio/ |
H A D | lpc32xx_gpio.c | 70 struct lpc32xx_gpio_priv *gpio_priv = dev_get_priv(dev); in lpc32xx_gpio_direction_input() local 71 struct gpio_regs *regs = gpio_priv->regs; in lpc32xx_gpio_direction_input() 100 gpio_priv->function[offset] = GPIOF_INPUT; in lpc32xx_gpio_direction_input() 113 struct gpio_regs *regs = gpio_priv->regs; in lpc32xx_gpio_get_value() 153 struct gpio_regs *regs = gpio_priv->regs; in gpio_set() 187 struct gpio_regs *regs = gpio_priv->regs; in gpio_clr() 235 struct gpio_regs *regs = gpio_priv->regs; in lpc32xx_gpio_direction_output() 263 gpio_priv->function[offset] = GPIOF_OUTPUT; in lpc32xx_gpio_direction_output() 284 return gpio_priv->function[offset]; in lpc32xx_gpio_get_function() 306 gpio_priv->regs = (struct gpio_regs *)GPIO_BASE; in lpc32xx_gpio_probe() [all …]
|
/dports/sysutils/u-boot-cubox-hummingboard/u-boot-2021.07/drivers/gpio/ |
H A D | lpc32xx_gpio.c | 70 struct lpc32xx_gpio_priv *gpio_priv = dev_get_priv(dev); in lpc32xx_gpio_direction_input() local 71 struct gpio_regs *regs = gpio_priv->regs; in lpc32xx_gpio_direction_input() 100 gpio_priv->function[offset] = GPIOF_INPUT; in lpc32xx_gpio_direction_input() 113 struct gpio_regs *regs = gpio_priv->regs; in lpc32xx_gpio_get_value() 153 struct gpio_regs *regs = gpio_priv->regs; in gpio_set() 187 struct gpio_regs *regs = gpio_priv->regs; in gpio_clr() 235 struct gpio_regs *regs = gpio_priv->regs; in lpc32xx_gpio_direction_output() 263 gpio_priv->function[offset] = GPIOF_OUTPUT; in lpc32xx_gpio_direction_output() 284 return gpio_priv->function[offset]; in lpc32xx_gpio_get_function() 306 gpio_priv->regs = (struct gpio_regs *)GPIO_BASE; in lpc32xx_gpio_probe() [all …]
|
/dports/sysutils/u-boot-cubieboard2/u-boot-2021.07/drivers/gpio/ |
H A D | lpc32xx_gpio.c | 70 struct lpc32xx_gpio_priv *gpio_priv = dev_get_priv(dev); in lpc32xx_gpio_direction_input() local 71 struct gpio_regs *regs = gpio_priv->regs; in lpc32xx_gpio_direction_input() 100 gpio_priv->function[offset] = GPIOF_INPUT; in lpc32xx_gpio_direction_input() 113 struct gpio_regs *regs = gpio_priv->regs; in lpc32xx_gpio_get_value() 153 struct gpio_regs *regs = gpio_priv->regs; in gpio_set() 187 struct gpio_regs *regs = gpio_priv->regs; in gpio_clr() 235 struct gpio_regs *regs = gpio_priv->regs; in lpc32xx_gpio_direction_output() 263 gpio_priv->function[offset] = GPIOF_OUTPUT; in lpc32xx_gpio_direction_output() 284 return gpio_priv->function[offset]; in lpc32xx_gpio_get_function() 306 gpio_priv->regs = (struct gpio_regs *)GPIO_BASE; in lpc32xx_gpio_probe() [all …]
|
/dports/sysutils/u-boot-firefly-rk3399/u-boot-2021.07/drivers/gpio/ |
H A D | lpc32xx_gpio.c | 70 struct lpc32xx_gpio_priv *gpio_priv = dev_get_priv(dev); in lpc32xx_gpio_direction_input() local 71 struct gpio_regs *regs = gpio_priv->regs; in lpc32xx_gpio_direction_input() 100 gpio_priv->function[offset] = GPIOF_INPUT; in lpc32xx_gpio_direction_input() 113 struct gpio_regs *regs = gpio_priv->regs; in lpc32xx_gpio_get_value() 153 struct gpio_regs *regs = gpio_priv->regs; in gpio_set() 187 struct gpio_regs *regs = gpio_priv->regs; in gpio_clr() 235 struct gpio_regs *regs = gpio_priv->regs; in lpc32xx_gpio_direction_output() 263 gpio_priv->function[offset] = GPIOF_OUTPUT; in lpc32xx_gpio_direction_output() 284 return gpio_priv->function[offset]; in lpc32xx_gpio_get_function() 306 gpio_priv->regs = (struct gpio_regs *)GPIO_BASE; in lpc32xx_gpio_probe() [all …]
|
/dports/sysutils/u-boot-sinovoip-bpi-m3/u-boot-2021.07/drivers/gpio/ |
H A D | lpc32xx_gpio.c | 70 struct lpc32xx_gpio_priv *gpio_priv = dev_get_priv(dev); in lpc32xx_gpio_direction_input() local 71 struct gpio_regs *regs = gpio_priv->regs; in lpc32xx_gpio_direction_input() 100 gpio_priv->function[offset] = GPIOF_INPUT; in lpc32xx_gpio_direction_input() 113 struct gpio_regs *regs = gpio_priv->regs; in lpc32xx_gpio_get_value() 153 struct gpio_regs *regs = gpio_priv->regs; in gpio_set() 187 struct gpio_regs *regs = gpio_priv->regs; in gpio_clr() 235 struct gpio_regs *regs = gpio_priv->regs; in lpc32xx_gpio_direction_output() 263 gpio_priv->function[offset] = GPIOF_OUTPUT; in lpc32xx_gpio_direction_output() 284 return gpio_priv->function[offset]; in lpc32xx_gpio_get_function() 306 gpio_priv->regs = (struct gpio_regs *)GPIO_BASE; in lpc32xx_gpio_probe() [all …]
|
/dports/sysutils/u-boot-a13-olinuxino/u-boot-2021.07/drivers/gpio/ |
H A D | lpc32xx_gpio.c | 70 struct lpc32xx_gpio_priv *gpio_priv = dev_get_priv(dev); in lpc32xx_gpio_direction_input() local 71 struct gpio_regs *regs = gpio_priv->regs; in lpc32xx_gpio_direction_input() 100 gpio_priv->function[offset] = GPIOF_INPUT; in lpc32xx_gpio_direction_input() 113 struct gpio_regs *regs = gpio_priv->regs; in lpc32xx_gpio_get_value() 153 struct gpio_regs *regs = gpio_priv->regs; in gpio_set() 187 struct gpio_regs *regs = gpio_priv->regs; in gpio_clr() 235 struct gpio_regs *regs = gpio_priv->regs; in lpc32xx_gpio_direction_output() 263 gpio_priv->function[offset] = GPIOF_OUTPUT; in lpc32xx_gpio_direction_output() 284 return gpio_priv->function[offset]; in lpc32xx_gpio_get_function() 306 gpio_priv->regs = (struct gpio_regs *)GPIO_BASE; in lpc32xx_gpio_probe() [all …]
|
/dports/sysutils/u-boot-sopine/u-boot-2021.07/drivers/gpio/ |
H A D | lpc32xx_gpio.c | 70 struct lpc32xx_gpio_priv *gpio_priv = dev_get_priv(dev); in lpc32xx_gpio_direction_input() local 71 struct gpio_regs *regs = gpio_priv->regs; in lpc32xx_gpio_direction_input() 100 gpio_priv->function[offset] = GPIOF_INPUT; in lpc32xx_gpio_direction_input() 113 struct gpio_regs *regs = gpio_priv->regs; in lpc32xx_gpio_get_value() 153 struct gpio_regs *regs = gpio_priv->regs; in gpio_set() 187 struct gpio_regs *regs = gpio_priv->regs; in gpio_clr() 235 struct gpio_regs *regs = gpio_priv->regs; in lpc32xx_gpio_direction_output() 263 gpio_priv->function[offset] = GPIOF_OUTPUT; in lpc32xx_gpio_direction_output() 284 return gpio_priv->function[offset]; in lpc32xx_gpio_get_function() 306 gpio_priv->regs = (struct gpio_regs *)GPIO_BASE; in lpc32xx_gpio_probe() [all …]
|
/dports/sysutils/u-boot-a64-olinuxino/u-boot-2021.07/drivers/gpio/ |
H A D | lpc32xx_gpio.c | 70 struct lpc32xx_gpio_priv *gpio_priv = dev_get_priv(dev); in lpc32xx_gpio_direction_input() local 71 struct gpio_regs *regs = gpio_priv->regs; in lpc32xx_gpio_direction_input() 100 gpio_priv->function[offset] = GPIOF_INPUT; in lpc32xx_gpio_direction_input() 113 struct gpio_regs *regs = gpio_priv->regs; in lpc32xx_gpio_get_value() 153 struct gpio_regs *regs = gpio_priv->regs; in gpio_set() 187 struct gpio_regs *regs = gpio_priv->regs; in gpio_clr() 235 struct gpio_regs *regs = gpio_priv->regs; in lpc32xx_gpio_direction_output() 263 gpio_priv->function[offset] = GPIOF_OUTPUT; in lpc32xx_gpio_direction_output() 284 return gpio_priv->function[offset]; in lpc32xx_gpio_get_function() 306 gpio_priv->regs = (struct gpio_regs *)GPIO_BASE; in lpc32xx_gpio_probe() [all …]
|
/dports/sysutils/u-boot-qemu-arm64/u-boot-2021.07/drivers/gpio/ |
H A D | lpc32xx_gpio.c | 70 struct lpc32xx_gpio_priv *gpio_priv = dev_get_priv(dev); in lpc32xx_gpio_direction_input() local 71 struct gpio_regs *regs = gpio_priv->regs; in lpc32xx_gpio_direction_input() 100 gpio_priv->function[offset] = GPIOF_INPUT; in lpc32xx_gpio_direction_input() 113 struct gpio_regs *regs = gpio_priv->regs; in lpc32xx_gpio_get_value() 153 struct gpio_regs *regs = gpio_priv->regs; in gpio_set() 187 struct gpio_regs *regs = gpio_priv->regs; in gpio_clr() 235 struct gpio_regs *regs = gpio_priv->regs; in lpc32xx_gpio_direction_output() 263 gpio_priv->function[offset] = GPIOF_OUTPUT; in lpc32xx_gpio_direction_output() 284 return gpio_priv->function[offset]; in lpc32xx_gpio_get_function() 306 gpio_priv->regs = (struct gpio_regs *)GPIO_BASE; in lpc32xx_gpio_probe() [all …]
|
/dports/sysutils/u-boot-rpi/u-boot-2021.07/drivers/gpio/ |
H A D | lpc32xx_gpio.c | 70 struct lpc32xx_gpio_priv *gpio_priv = dev_get_priv(dev); in lpc32xx_gpio_direction_input() local 71 struct gpio_regs *regs = gpio_priv->regs; in lpc32xx_gpio_direction_input() 100 gpio_priv->function[offset] = GPIOF_INPUT; in lpc32xx_gpio_direction_input() 113 struct gpio_regs *regs = gpio_priv->regs; in lpc32xx_gpio_get_value() 153 struct gpio_regs *regs = gpio_priv->regs; in gpio_set() 187 struct gpio_regs *regs = gpio_priv->regs; in gpio_clr() 235 struct gpio_regs *regs = gpio_priv->regs; in lpc32xx_gpio_direction_output() 263 gpio_priv->function[offset] = GPIOF_OUTPUT; in lpc32xx_gpio_direction_output() 284 return gpio_priv->function[offset]; in lpc32xx_gpio_get_function() 306 gpio_priv->regs = (struct gpio_regs *)GPIO_BASE; in lpc32xx_gpio_probe() [all …]
|
/dports/sysutils/u-boot-nanopi-r4s/u-boot-2021.07/drivers/gpio/ |
H A D | lpc32xx_gpio.c | 70 struct lpc32xx_gpio_priv *gpio_priv = dev_get_priv(dev); in lpc32xx_gpio_direction_input() local 71 struct gpio_regs *regs = gpio_priv->regs; in lpc32xx_gpio_direction_input() 100 gpio_priv->function[offset] = GPIOF_INPUT; in lpc32xx_gpio_direction_input() 113 struct gpio_regs *regs = gpio_priv->regs; in lpc32xx_gpio_get_value() 153 struct gpio_regs *regs = gpio_priv->regs; in gpio_set() 187 struct gpio_regs *regs = gpio_priv->regs; in gpio_clr() 235 struct gpio_regs *regs = gpio_priv->regs; in lpc32xx_gpio_direction_output() 263 gpio_priv->function[offset] = GPIOF_OUTPUT; in lpc32xx_gpio_direction_output() 284 return gpio_priv->function[offset]; in lpc32xx_gpio_get_function() 306 gpio_priv->regs = (struct gpio_regs *)GPIO_BASE; in lpc32xx_gpio_probe() [all …]
|
/dports/sysutils/u-boot-nanopi-neo/u-boot-2021.07/drivers/gpio/ |
H A D | lpc32xx_gpio.c | 70 struct lpc32xx_gpio_priv *gpio_priv = dev_get_priv(dev); in lpc32xx_gpio_direction_input() local 71 struct gpio_regs *regs = gpio_priv->regs; in lpc32xx_gpio_direction_input() 100 gpio_priv->function[offset] = GPIOF_INPUT; in lpc32xx_gpio_direction_input() 113 struct gpio_regs *regs = gpio_priv->regs; in lpc32xx_gpio_get_value() 153 struct gpio_regs *regs = gpio_priv->regs; in gpio_set() 187 struct gpio_regs *regs = gpio_priv->regs; in gpio_clr() 235 struct gpio_regs *regs = gpio_priv->regs; in lpc32xx_gpio_direction_output() 263 gpio_priv->function[offset] = GPIOF_OUTPUT; in lpc32xx_gpio_direction_output() 284 return gpio_priv->function[offset]; in lpc32xx_gpio_get_function() 306 gpio_priv->regs = (struct gpio_regs *)GPIO_BASE; in lpc32xx_gpio_probe() [all …]
|
/dports/sysutils/u-boot-nanopi-m1plus/u-boot-2021.07/drivers/gpio/ |
H A D | lpc32xx_gpio.c | 70 struct lpc32xx_gpio_priv *gpio_priv = dev_get_priv(dev); in lpc32xx_gpio_direction_input() local 71 struct gpio_regs *regs = gpio_priv->regs; in lpc32xx_gpio_direction_input() 100 gpio_priv->function[offset] = GPIOF_INPUT; in lpc32xx_gpio_direction_input() 113 struct gpio_regs *regs = gpio_priv->regs; in lpc32xx_gpio_get_value() 153 struct gpio_regs *regs = gpio_priv->regs; in gpio_set() 187 struct gpio_regs *regs = gpio_priv->regs; in gpio_clr() 235 struct gpio_regs *regs = gpio_priv->regs; in lpc32xx_gpio_direction_output() 263 gpio_priv->function[offset] = GPIOF_OUTPUT; in lpc32xx_gpio_direction_output() 284 return gpio_priv->function[offset]; in lpc32xx_gpio_get_function() 306 gpio_priv->regs = (struct gpio_regs *)GPIO_BASE; in lpc32xx_gpio_probe() [all …]
|
/dports/sysutils/u-boot-chip/u-boot-2021.07/drivers/gpio/ |
H A D | lpc32xx_gpio.c | 70 struct lpc32xx_gpio_priv *gpio_priv = dev_get_priv(dev); in lpc32xx_gpio_direction_input() local 71 struct gpio_regs *regs = gpio_priv->regs; in lpc32xx_gpio_direction_input() 100 gpio_priv->function[offset] = GPIOF_INPUT; in lpc32xx_gpio_direction_input() 113 struct gpio_regs *regs = gpio_priv->regs; in lpc32xx_gpio_get_value() 153 struct gpio_regs *regs = gpio_priv->regs; in gpio_set() 187 struct gpio_regs *regs = gpio_priv->regs; in gpio_clr() 235 struct gpio_regs *regs = gpio_priv->regs; in lpc32xx_gpio_direction_output() 263 gpio_priv->function[offset] = GPIOF_OUTPUT; in lpc32xx_gpio_direction_output() 284 return gpio_priv->function[offset]; in lpc32xx_gpio_get_function() 306 gpio_priv->regs = (struct gpio_regs *)GPIO_BASE; in lpc32xx_gpio_probe() [all …]
|
/dports/sysutils/u-boot-beaglebone/u-boot-2021.07/drivers/gpio/ |
H A D | lpc32xx_gpio.c | 70 struct lpc32xx_gpio_priv *gpio_priv = dev_get_priv(dev); in lpc32xx_gpio_direction_input() local 71 struct gpio_regs *regs = gpio_priv->regs; in lpc32xx_gpio_direction_input() 100 gpio_priv->function[offset] = GPIOF_INPUT; in lpc32xx_gpio_direction_input() 113 struct gpio_regs *regs = gpio_priv->regs; in lpc32xx_gpio_get_value() 153 struct gpio_regs *regs = gpio_priv->regs; in gpio_set() 187 struct gpio_regs *regs = gpio_priv->regs; in gpio_clr() 235 struct gpio_regs *regs = gpio_priv->regs; in lpc32xx_gpio_direction_output() 263 gpio_priv->function[offset] = GPIOF_OUTPUT; in lpc32xx_gpio_direction_output() 284 return gpio_priv->function[offset]; in lpc32xx_gpio_get_function() 306 gpio_priv->regs = (struct gpio_regs *)GPIO_BASE; in lpc32xx_gpio_probe() [all …]
|
/dports/emulators/qemu-utils/qemu-4.2.1/roms/u-boot/drivers/gpio/ |
H A D | lpc32xx_gpio.c | 70 struct lpc32xx_gpio_priv *gpio_priv = dev_get_priv(dev); in lpc32xx_gpio_direction_input() local 71 struct gpio_regs *regs = gpio_priv->regs; in lpc32xx_gpio_direction_input() 100 gpio_priv->function[offset] = GPIOF_INPUT; in lpc32xx_gpio_direction_input() 113 struct gpio_regs *regs = gpio_priv->regs; in lpc32xx_gpio_get_value() 153 struct gpio_regs *regs = gpio_priv->regs; in gpio_set() 187 struct gpio_regs *regs = gpio_priv->regs; in gpio_clr() 235 struct gpio_regs *regs = gpio_priv->regs; in lpc32xx_gpio_direction_output() 263 gpio_priv->function[offset] = GPIOF_OUTPUT; in lpc32xx_gpio_direction_output() 284 return gpio_priv->function[offset]; in lpc32xx_gpio_get_function() 306 gpio_priv->regs = (struct gpio_regs *)GPIO_BASE; in lpc32xx_gpio_probe() [all …]
|
/dports/emulators/qemu-guest-agent/qemu-5.0.1/roms/u-boot/drivers/gpio/ |
H A D | lpc32xx_gpio.c | 70 struct lpc32xx_gpio_priv *gpio_priv = dev_get_priv(dev); in lpc32xx_gpio_direction_input() local 71 struct gpio_regs *regs = gpio_priv->regs; in lpc32xx_gpio_direction_input() 100 gpio_priv->function[offset] = GPIOF_INPUT; in lpc32xx_gpio_direction_input() 113 struct gpio_regs *regs = gpio_priv->regs; in lpc32xx_gpio_get_value() 153 struct gpio_regs *regs = gpio_priv->regs; in gpio_set() 187 struct gpio_regs *regs = gpio_priv->regs; in gpio_clr() 235 struct gpio_regs *regs = gpio_priv->regs; in lpc32xx_gpio_direction_output() 263 gpio_priv->function[offset] = GPIOF_OUTPUT; in lpc32xx_gpio_direction_output() 284 return gpio_priv->function[offset]; in lpc32xx_gpio_get_function() 306 gpio_priv->regs = (struct gpio_regs *)GPIO_BASE; in lpc32xx_gpio_probe() [all …]
|
/dports/sysutils/u-boot-clearfog/u-boot-2021.07/drivers/gpio/ |
H A D | lpc32xx_gpio.c | 70 struct lpc32xx_gpio_priv *gpio_priv = dev_get_priv(dev); in lpc32xx_gpio_direction_input() local 71 struct gpio_regs *regs = gpio_priv->regs; in lpc32xx_gpio_direction_input() 100 gpio_priv->function[offset] = GPIOF_INPUT; in lpc32xx_gpio_direction_input() 113 struct gpio_regs *regs = gpio_priv->regs; in lpc32xx_gpio_get_value() 153 struct gpio_regs *regs = gpio_priv->regs; in gpio_set() 187 struct gpio_regs *regs = gpio_priv->regs; in gpio_clr() 235 struct gpio_regs *regs = gpio_priv->regs; in lpc32xx_gpio_direction_output() 263 gpio_priv->function[offset] = GPIOF_OUTPUT; in lpc32xx_gpio_direction_output() 284 return gpio_priv->function[offset]; in lpc32xx_gpio_get_function() 306 gpio_priv->regs = (struct gpio_regs *)GPIO_BASE; in lpc32xx_gpio_probe() [all …]
|