Lines Matching defs:_pin
569 static bool sh_pfc_pinconf_validate(struct sh_pfc *pfc, unsigned int _pin,
572 int idx = sh_pfc_get_pin_index(pfc, _pin);
596 static int sh_pfc_pinconf_get(struct pinctrl_dev *pctldev, unsigned _pin,
605 if (!sh_pfc_pinconf_validate(pfc, _pin, param))
618 bias = pfc->info->ops->get_bias(pfc, _pin);
631 ret = sh_pfc_pinconf_get_drive_strength(pfc, _pin);
646 bit = pfc->info->ops->pin_to_pocctrl(pfc, _pin, &pocctrl);
647 if (WARN(bit < 0, "invalid pin %#x", _pin))
666 static int sh_pfc_pinconf_set(struct pinctrl_dev *pctldev, unsigned _pin,
678 if (!sh_pfc_pinconf_validate(pfc, _pin, param))
689 pfc->info->ops->set_bias(pfc, _pin, param);
699 ret = sh_pfc_pinconf_set_drive_strength(pfc, _pin, arg);
714 bit = pfc->info->ops->pin_to_pocctrl(pfc, _pin, &pocctrl);
715 if (WARN(bit < 0, "invalid pin %#x", _pin))