Home
last modified time | relevance | path

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

/linux-6.1.9/include/linux/usb/
Dpd.h220 #define PDO_PWR_MASK 0x3ff macro
249 #define PDO_BATT_MAX_POWER(mw) ((((mw) / 250) & PDO_PWR_MASK) << PDO_BATT_MAX_PWR_SHIFT)
322 return ((pdo >> PDO_BATT_MAX_PWR_SHIFT) & PDO_PWR_MASK) * 250; in pdo_max_power()
/linux-6.1.9/include/dt-bindings/usb/
Dpd.h18 #define PDO_PWR_MASK 0x3ff macro
44 #define PDO_BATT_MAX_POWER(mw) ((((mw) / 250) & PDO_PWR_MASK) << PDO_BATT_MAX_PWR_SHIFT)