Home
last modified time | relevance | path

Searched refs:BITS_PER_REG (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/reset/
H A Dreset-meson.c18 #define BITS_PER_REG 32 macro
37 unsigned int bank = id / BITS_PER_REG; in meson_reset_reset()
38 unsigned int offset = id % BITS_PER_REG; in meson_reset_reset()
51 unsigned int bank = id / BITS_PER_REG; in meson_reset_level()
52 unsigned int offset = id % BITS_PER_REG; in meson_reset_level()
134 data->rcdev.nr_resets = data->param->reg_count * BITS_PER_REG; in meson_reset_probe()
/openbmc/u-boot/drivers/reset/
H A Dreset-meson.c15 #define BITS_PER_REG 32 macro
24 if (reset_ctl->id > (REG_COUNT * BITS_PER_REG)) in meson_reset_request()
38 uint bank = reset_ctl->id / BITS_PER_REG; in meson_reset_level()
39 uint offset = reset_ctl->id % BITS_PER_REG; in meson_reset_level()