SETPMASK
SETPMASK(data->div.width, data->div.shift) |
SETPMASK(data->dyn.width, data->dyn.shift),
#define CLRPMASK(width, shift) (~SETPMASK(width, shift))
(((reg) & SETPMASK(width, shift)) >> (shift))
regmap_update_bits(map, p->reg_off, SETPMASK(p->width, p->shift),