Lines Matching +full:85 +full:v
85 case 0 ... 85: in spacemit_pin_to_offset()
161 /* External: IO voltage via external source, can be 1.8V or 3.3V */
509 u32 v = 0, voltage = 0, arg, val; in spacemit_pinconf_generate_config() local
521 v &= ~(PAD_PULL_EN | PAD_PULLDOWN | PAD_PULLUP); in spacemit_pinconf_generate_config()
522 v &= ~PAD_STRONG_PULL; in spacemit_pinconf_generate_config()
525 v &= ~(PAD_PULLUP | PAD_STRONG_PULL); in spacemit_pinconf_generate_config()
526 v |= (PAD_PULL_EN | PAD_PULLDOWN); in spacemit_pinconf_generate_config()
529 v &= ~PAD_PULLDOWN; in spacemit_pinconf_generate_config()
530 v |= (PAD_PULL_EN | PAD_PULLUP); in spacemit_pinconf_generate_config()
533 v |= PAD_STRONG_PULL; in spacemit_pinconf_generate_config()
540 v &= ~PAD_SCHMITT; in spacemit_pinconf_generate_config()
541 v |= FIELD_PREP(PAD_SCHMITT, arg); in spacemit_pinconf_generate_config()
549 v |= PAD_SLEW_RATE_EN; in spacemit_pinconf_generate_config()
552 v &= ~PAD_SLEW_RATE_EN; in spacemit_pinconf_generate_config()
579 v &= ~PAD_DRIVE; in spacemit_pinconf_generate_config()
580 v |= FIELD_PREP(PAD_DRIVE, val); in spacemit_pinconf_generate_config()
586 val = FIELD_GET(PAD_SLEW_RATE, v) + 2; in spacemit_pinconf_generate_config()
592 v &= ~PAD_SLEW_RATE; in spacemit_pinconf_generate_config()
594 v |= FIELD_PREP(PAD_SLEW_RATE, slew_rate); in spacemit_pinconf_generate_config()
598 *value = v; in spacemit_pinconf_generate_config()
851 PINCTRL_PIN(85, "GPIO_85"),
982 K1_FUNC_PIN(85, 0, IO_TYPE_1V8),