Searched refs:pinmux_type (Results 1 – 2 of 2) sorted by relevance
323 int pinmux_type, int cfg_mode) in pinmux_config_gpio() argument331 switch (pinmux_type) { in pinmux_config_gpio()445 int i, ret, pinmux_type; in sh_gpio_request() local458 pinmux_type = PINMUX_TYPE_FUNCTION; in sh_gpio_request()460 pinmux_type = PINMUX_TYPE_GPIO; in sh_gpio_request()462 if (pinmux_type == PINMUX_TYPE_FUNCTION) { in sh_gpio_request()464 pinmux_type, in sh_gpio_request()469 pinmux_type, in sh_gpio_request()475 gpioc->gpios[offset].flags |= pinmux_type; in sh_gpio_request()484 int pinmux_type; in sh_gpio_free() local[all …]
257 int sh_pfc_config_mux(struct sh_pfc *pfc, unsigned mark, int pinmux_type) in sh_pfc_config_mux() argument262 switch (pinmux_type) { in sh_pfc_config_mux()302 if (pinmux_type == PINMUX_TYPE_FUNCTION) { in sh_pfc_config_mux()307 } else if (pinmux_type != PINMUX_TYPE_GPIO) { in sh_pfc_config_mux()