Searched refs:SETPMASK (Results 1 – 2 of 2) sorted by relevance
/Linux-v5.4/drivers/clk/meson/ |
D | parm.h | 14 #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), in meson_parm_write()
|
D | clk-cpu-dyndiv.c | 59 SETPMASK(data->div.width, data->div.shift) | in meson_clk_cpu_dyndiv_set_rate() 60 SETPMASK(data->dyn.width, data->dyn.shift), in meson_clk_cpu_dyndiv_set_rate()
|