Home
last modified time | relevance | path

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

/openbmc/qemu/hw/vmapple/
H A Dvmapple.c320 DeviceState *pl061_dev; in create_gpio_devices() local
325 pl061_dev = qdev_new("pl061"); in create_gpio_devices()
327 qdev_prop_set_uint32(pl061_dev, "pullups", 0); in create_gpio_devices()
328 qdev_prop_set_uint32(pl061_dev, "pulldowns", 0xff); in create_gpio_devices()
329 s = SYS_BUS_DEVICE(pl061_dev); in create_gpio_devices()
334 qdev_get_gpio_in(pl061_dev, 3)); in create_gpio_devices()
/openbmc/qemu/hw/arm/
H A Dvirt.c1050 static void create_gpio_keys(char *fdt, DeviceState *pl061_dev, in create_gpio_keys() argument
1054 qdev_get_gpio_in(pl061_dev, in create_gpio_keys()
1072 static void create_secure_gpio_pwr(char *fdt, DeviceState *pl061_dev, in create_secure_gpio_pwr() argument
1081 qdev_connect_gpio_out(pl061_dev, SECURE_GPIO_RESET, in create_secure_gpio_pwr()
1083 qdev_connect_gpio_out(pl061_dev, SECURE_GPIO_POWEROFF, in create_secure_gpio_pwr()
1109 DeviceState *pl061_dev; in create_gpio_devices() local
1117 pl061_dev = qdev_new("pl061"); in create_gpio_devices()
1119 qdev_prop_set_uint32(pl061_dev, "pullups", 0); in create_gpio_devices()
1120 qdev_prop_set_uint32(pl061_dev, "pulldowns", 0xff); in create_gpio_devices()
1121 s = SYS_BUS_DEVICE(pl061_dev); in create_gpio_devices()
[all …]
H A Dsbsa-ref.c569 DeviceState *pl061_dev; in create_gpio() local
573 pl061_dev = sysbus_create_simple("pl061", base, in create_gpio()
577 qdev_get_gpio_in(pl061_dev, 3)); in create_gpio()