Searched refs:drmode (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/drivers/pinctrl/
H A Dpinctrl-coh901.c296 u32 drmode; u300_gpio_config_get() local
302 drmode = readl(U300_PIN_REG(offset, pcr)); u300_gpio_config_get()
303 drmode &= (U300_GPIO_PXPCR_PIN_MODE_MASK << ((offset & 0x07) << 1)); u300_gpio_config_get()
304 drmode >>= ((offset & 0x07) << 1); u300_gpio_config_get()
323 if (drmode == U300_GPIO_PXPCR_PIN_MODE_OUTPUT_PUSH_PULL) u300_gpio_config_get()
330 if (drmode == U300_GPIO_PXPCR_PIN_MODE_OUTPUT_OPEN_DRAIN) u300_gpio_config_get()
337 if (drmode == U300_GPIO_PXPCR_PIN_MODE_OUTPUT_OPEN_SOURCE) u300_gpio_config_get()

Completed in 62 milliseconds