Home
last modified time | relevance | path

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

/openbmc/linux/drivers/gpio/
H A Dgpio-zynqmp-modepin.c63 u32 bootpin_val = 0; in modepin_gpio_set_value() local
66 zynqmp_pm_bootmode_read(&bootpin_val); in modepin_gpio_set_value()
69 bootpin_val |= BIT(pin); in modepin_gpio_set_value()
72 bootpin_val |= BIT(pin + 8); in modepin_gpio_set_value()
74 bootpin_val &= ~BIT(pin + 8); in modepin_gpio_set_value()
77 ret = zynqmp_pm_bootmode_write(bootpin_val); in modepin_gpio_set_value()