Lines Matching full:pullups
16 * + QOM property "pullups": an integer defining whether non-floating lines
27 * It is an error to set a bit in both "pullups" and "pulldowns". If a bit
82 uint32_t pullups; member
131 floating = ~(s->pullups | s->pulldowns); in pl061_floating()
142 uint8_t pullups; in pl061_pullups() local
150 pullups = s->pur; in pl061_pullups()
152 pullups = s->pullups; in pl061_pullups()
154 return pullups & ~s->dir; in pl061_pullups()
163 uint8_t pullups = pl061_pullups(s); in pl061_update() local
167 pullups, floating); in pl061_update()
175 out = (s->data & s->dir) | pullups | (s->old_out_data & floating); in pl061_update()
492 uint8_t pullups = pl061_pullups(s); in pl061_hold_reset() local
498 level = extract32(pullups, i, 1); in pl061_hold_reset()
502 s->old_out_data = pullups; in pl061_hold_reset()
551 if (s->pullups > 0xff) { in pl061_realize()
552 error_setg(errp, "pullups property must be between 0 and 0xff"); in pl061_realize()
559 if (s->pullups & s->pulldowns) { in pl061_realize()
560 error_setg(errp, "no bit may be set both in pullups and pulldowns"); in pl061_realize()
566 DEFINE_PROP_UINT32("pullups", PL061State, pullups, 0xff),