Home
last modified time | relevance | path

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

/linux-6.1.9/include/linux/usb/
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()
/linux-6.1.9/include/dt-bindings/usb/
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)