Lines Matching refs:pullud
209 struct pullud *pullud; in abx500_get_pull_updown() local
211 if (!pct->soc->pullud) { in abx500_get_pull_updown()
218 pullud = pct->soc->pullud; in abx500_get_pull_updown()
220 if ((offset < pullud->first_pin) in abx500_get_pull_updown()
221 || (offset > pullud->last_pin)) { in abx500_get_pull_updown()
229 pos = (offset - pullud->first_pin) << 1; in abx500_get_pull_updown()
244 struct pullud *pullud; in abx500_set_pull_updown() local
246 if (!pct->soc->pullud) { in abx500_set_pull_updown()
253 pullud = pct->soc->pullud; in abx500_set_pull_updown()
255 if ((offset < pullud->first_pin) in abx500_set_pull_updown()
256 || (offset > pullud->last_pin)) { in abx500_set_pull_updown()
260 pos = (offset - pullud->first_pin) << 1; in abx500_set_pull_updown()
276 struct pullud *pullud = pct->soc->pullud; in abx500_pullud_supported() local
278 return (pullud && in abx500_pullud_supported()
279 gpio >= pullud->first_pin && in abx500_pullud_supported()
280 gpio <= pullud->last_pin); in abx500_pullud_supported()