Home
last modified time | relevance | path

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

/openbmc/linux/drivers/pinctrl/
H A Dpinctrl-lpc18xx.c788 struct lpc18xx_pin_caps *pin_cap) in lpc18xx_pconf_get_pin() argument
820 if (pin_cap->type == TYPE_HD) in lpc18xx_pconf_get_pin()
837 if (pin_cap->type != TYPE_HD) in lpc18xx_pconf_get_pin()
879 struct lpc18xx_pin_caps *pin_cap; in lpc18xx_pconf_get() local
883 pin_cap = lpc18xx_get_pin_caps(pin); in lpc18xx_pconf_get()
884 if (!pin_cap) in lpc18xx_pconf_get()
887 reg = readl(scu->base + pin_cap->offset); in lpc18xx_pconf_get()
889 if (pin_cap->type == TYPE_I2C0) in lpc18xx_pconf_get()
891 else if (pin_cap->type == TYPE_USB1) in lpc18xx_pconf_get()
894 ret = lpc18xx_pconf_get_pin(pctldev, param, &arg, reg, pin, pin_cap); in lpc18xx_pconf_get()
[all …]