Searched refs:GPIO_MODE_BITS (Results 1 – 1 of 1) sorted by relevance
36 #define GPIO_MODE_BITS 3 macro678 unsigned int mask = (1L << GPIO_MODE_BITS) - 1; in mtk_pmx_set_mode()690 mask <<= (GPIO_MODE_BITS * bit); in mtk_pmx_set_mode()691 val = (mode << (GPIO_MODE_BITS * bit)); in mtk_pmx_set_mode()