Searched refs:low_bit (Results 1 – 4 of 4) sorted by relevance
52 #define VP_MASK(high_bit, low_bit) \ argument53 (((2 << ((high_bit) - (low_bit))) - 1) << (low_bit))55 #define VP_MASK_VAL(val, high_bit, low_bit) \ argument56 (((val) << (low_bit)) & VP_MASK(high_bit, low_bit))
66 #define MXR_MASK(high_bit, low_bit) \ argument67 (((2 << ((high_bit) - (low_bit))) - 1) << (low_bit))69 #define MXR_MASK_VAL(val, high_bit, low_bit) \ argument70 (((val) << (low_bit)) & MXR_MASK(high_bit, low_bit))
81 unsigned char low_bit; member90 .low_bit = _low, \
212 bits = drv_grp->high_bit - drv_grp->low_bit + 1; in mtk_pconf_set_driving()214 shift = pin_drv->bit + drv_grp->low_bit; in mtk_pconf_set_driving()