Home
last modified time | relevance | path

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

/freebsd/sys/arm/freescale/vybrid/
H A Dvf_dcu4.c365 device_t gpio_dev; in dcu_attach() local
399 gpio_dev = devclass_get_device(devclass_find("gpio"), 0); in dcu_attach()
400 if (gpio_dev == NULL) { in dcu_attach()
407 GPIO_PIN_SETFLAGS(gpio_dev, panel.backlight_pin, GPIO_PIN_OUTPUT); in dcu_attach()
408 GPIO_PIN_SET(gpio_dev, panel.backlight_pin, GPIO_PIN_HIGH); in dcu_attach()
/freebsd/sys/arm64/rockchip/
H A Drk_pinctrl.c84 device_t gpio_dev; member
1111 if (gpio->gpio_dev == NULL) { in rk_pinctrl_handle_io()
1119 rv = GPIO_PIN_SET(gpio->gpio_dev, pin, pin_value); in rk_pinctrl_handle_io()
1128 rv = GPIO_PIN_SETFLAGS(gpio->gpio_dev, pin, direction_value); in rk_pinctrl_handle_io()
1347 if (sc->conf->gpio_bank[i].gpio_dev == gpio) in rk_pinctrl_get_bank()
1534 sc->conf->gpio_bank[gpio_unit].gpio_dev = cdev; in rk_pinctrl_attach()