Home
last modified time | relevance | path

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

/linux-6.12.1/include/linux/usb/
Dpd.h246 #define PDO_BATT_MAX_PWR_SHIFT 0 /* 250mW units */ macro
250 #define PDO_BATT_MAX_POWER(mw) ((((mw) / 250) & PDO_PWR_MASK) << PDO_BATT_MAX_PWR_SHIFT)
323 return ((pdo >> PDO_BATT_MAX_PWR_SHIFT) & PDO_PWR_MASK) * 250; in pdo_max_power()
/linux-6.12.1/include/dt-bindings/usb/
Dpd.h40 #define PDO_BATT_MAX_PWR_SHIFT 0 /* 250mW units */ macro
44 #define PDO_BATT_MAX_POWER(mw) ((((mw) / 250) & PDO_PWR_MASK) << PDO_BATT_MAX_PWR_SHIFT)