Lines Matching refs:func
40 uint32_t pin, uint32_t func) in pinmux_it8xxx2_set() argument
59 switch (func) { in pinmux_it8xxx2_set()
90 uint32_t pin, uint32_t *func) in pinmux_it8xxx2_get() argument
97 if (pin >= IT8XXX2_PINMUX_PINS || func == NULL) { in pinmux_it8xxx2_get()
101 *func = (*reg_gpcr & (GPCR_PORT_PIN_MODE_INPUT | in pinmux_it8xxx2_get()
111 uint32_t pin, uint8_t func) in pinmux_it8xxx2_pullup() argument
118 if (func == PINMUX_PULLUP_ENABLE) { in pinmux_it8xxx2_pullup()
121 } else if (func == PINMUX_PULLUP_DISABLE) { in pinmux_it8xxx2_pullup()
132 uint32_t pin, uint8_t func) in pinmux_it8xxx2_input() argument
142 if (func == PINMUX_INPUT_ENABLED) { in pinmux_it8xxx2_input()
144 } else if (func == PINMUX_OUTPUT_ENABLED) { in pinmux_it8xxx2_input()