Home
last modified time | relevance | path

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

/device/linaro/bootloader/arm-trusted-firmware/plat/rockchip/rk3399/drivers/gpio/
Drk3399_gpio.c67 uint32_t clock_state = 0; in gpio_get_clock() local
73 clock_state = (mmio_read_32(PMUCRU_BASE + in gpio_get_clock()
81 clock_state = (mmio_read_32(PMUCRU_BASE + in gpio_get_clock()
89 clock_state = (mmio_read_32(CRU_BASE + in gpio_get_clock()
97 clock_state = (mmio_read_32(CRU_BASE + in gpio_get_clock()
105 clock_state = (mmio_read_32(CRU_BASE + in gpio_get_clock()
116 return clock_state; in gpio_get_clock()
120 void gpio_put_clock(uint32_t gpio_number, uint32_t clock_state) in gpio_put_clock() argument
127 BITS_WITH_WMASK(clock_state, CLK_GATE_MASK, in gpio_put_clock()
132 BITS_WITH_WMASK(clock_state, CLK_GATE_MASK, in gpio_put_clock()
[all …]