Searched refs:SETPMASK (Results 1 - 2 of 2) sorted by relevance

/linux-master/drivers/clk/meson/
H A Dparm.h14 #define SETPMASK(width, shift) GENMASK(shift + width - 1, shift) macro
15 #define CLRPMASK(width, shift) (~SETPMASK(width, shift))
18 (((reg) & SETPMASK(width, shift)) >> (shift))
41 regmap_update_bits(map, p->reg_off, SETPMASK(p->width, p->shift),
H A Dclk-cpu-dyndiv.c58 SETPMASK(data->div.width, data->div.shift) |
59 SETPMASK(data->dyn.width, data->dyn.shift),

Completed in 121 milliseconds