Searched refs:PDO_FIXED_VOLT_SHIFT (Results 1 – 2 of 2) sorted by relevance
231 #define PDO_FIXED_VOLT_SHIFT 10 /* 50mV units */ macro234 #define PDO_FIXED_VOLT(mv) ((((mv) / 50) & PDO_VOLT_MASK) << PDO_FIXED_VOLT_SHIFT)302 return ((pdo >> PDO_FIXED_VOLT_SHIFT) & PDO_VOLT_MASK) * 50; in pdo_fixed_voltage()
26 #define PDO_FIXED_VOLT_SHIFT 10 /* 50mV units */ macro29 #define PDO_FIXED_VOLT(mv) ((((mv) / 50) & PDO_VOLT_MASK) << PDO_FIXED_VOLT_SHIFT)