Home
last modified time | relevance | path

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

/openbmc/linux/include/linux/usb/
H A Dpd.h231 #define PDO_FIXED_VOLT_SHIFT 10 /* 50mV units */ macro
234 #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()
/openbmc/linux/include/dt-bindings/usb/
H A Dpd.h26 #define PDO_FIXED_VOLT_SHIFT 10 /* 50mV units */ macro
29 #define PDO_FIXED_VOLT(mv) ((((mv) / 50) & PDO_VOLT_MASK) << PDO_FIXED_VOLT_SHIFT)