Home
last modified time | relevance | path

Searched refs:pin_cap (Results 1 – 1 of 1) sorted by relevance

/Linux-v5.10/drivers/pinctrl/
Dpinctrl-lpc18xx.c786 struct lpc18xx_pin_caps *pin_cap) in lpc18xx_pconf_get_pin() argument
818 if (pin_cap->type == TYPE_HD) in lpc18xx_pconf_get_pin()
835 if (pin_cap->type != TYPE_HD) in lpc18xx_pconf_get_pin()
877 struct lpc18xx_pin_caps *pin_cap; in lpc18xx_pconf_get() local
881 pin_cap = lpc18xx_get_pin_caps(pin); in lpc18xx_pconf_get()
882 if (!pin_cap) in lpc18xx_pconf_get()
885 reg = readl(scu->base + pin_cap->offset); in lpc18xx_pconf_get()
887 if (pin_cap->type == TYPE_I2C0) in lpc18xx_pconf_get()
889 else if (pin_cap->type == TYPE_USB1) in lpc18xx_pconf_get()
892 ret = lpc18xx_pconf_get_pin(pctldev, param, &arg, reg, pin, pin_cap); in lpc18xx_pconf_get()
[all …]