Lines Matching +full:10 +full:mv

26 #define PDO_FIXED_VOLT_SHIFT	10	/* 50mV units */
27 #define PDO_FIXED_CURR_SHIFT 0 /* 10mA units */
29 #define PDO_FIXED_VOLT(mv) ((((mv) / 50) & PDO_VOLT_MASK) << PDO_FIXED_VOLT_SHIFT) argument
30 #define PDO_FIXED_CURR(ma) ((((ma) / 10) & PDO_CURR_MASK) << PDO_FIXED_CURR_SHIFT)
32 #define PDO_FIXED(mv, ma, flags) \ argument
34 PDO_FIXED_VOLT(mv) | PDO_FIXED_CURR(ma))
36 #define VSAFE5V 5000 /* mv units */
38 #define PDO_BATT_MAX_VOLT_SHIFT 20 /* 50mV units */
39 #define PDO_BATT_MIN_VOLT_SHIFT 10 /* 50mV units */
42 #define PDO_BATT_MIN_VOLT(mv) ((((mv) / 50) & PDO_VOLT_MASK) << PDO_BATT_MIN_VOLT_SHIFT) argument
43 #define PDO_BATT_MAX_VOLT(mv) ((((mv) / 50) & PDO_VOLT_MASK) << PDO_BATT_MAX_VOLT_SHIFT) argument
50 #define PDO_VAR_MAX_VOLT_SHIFT 20 /* 50mV units */
51 #define PDO_VAR_MIN_VOLT_SHIFT 10 /* 50mV units */
52 #define PDO_VAR_MAX_CURR_SHIFT 0 /* 10mA units */
54 #define PDO_VAR_MIN_VOLT(mv) ((((mv) / 50) & PDO_VOLT_MASK) << PDO_VAR_MIN_VOLT_SHIFT) argument
55 #define PDO_VAR_MAX_VOLT(mv) ((((mv) / 50) & PDO_VOLT_MASK) << PDO_VAR_MAX_VOLT_SHIFT) argument
56 #define PDO_VAR_MAX_CURR(ma) ((((ma) / 10) & PDO_CURR_MASK) << PDO_VAR_MAX_CURR_SHIFT)
69 #define PDO_PPS_APDO_MAX_VOLT_SHIFT 17 /* 100mV units */
70 #define PDO_PPS_APDO_MIN_VOLT_SHIFT 8 /* 100mV units */
76 #define PDO_PPS_APDO_MIN_VOLT(mv) \ argument
77 ((((mv) / 100) & PDO_PPS_APDO_VOLT_MASK) << PDO_PPS_APDO_MIN_VOLT_SHIFT)
78 #define PDO_PPS_APDO_MAX_VOLT(mv) \ argument
79 ((((mv) / 100) & PDO_PPS_APDO_VOLT_MASK) << PDO_PPS_APDO_MAX_VOLT_SHIFT)
158 * <23:22> :: Connector type (10b == receptacle, 11b == captive plug)
160 * <10:8> :: Vconn power (AMA only)
219 * <23:22> :: Connector type (10b == receptacle, 11b == captive plug)
240 * <19:18> :: type-C to Type-A/B/C/Captive (00b == A, 01 == B, 10 == C, 11 == Captive)
242 * <16:13> :: cable latency (0001 == <10ns(~1m length))
244 * <10> :: SSTX1 Directionality support (0b == fixed, 1b == cfgable)
248 * <6:5> :: Vbus current handling capability (01b == 3A, 10b == 5A)
259 * <19:18> :: Type-C to Type-C/Captive (10b == C, 11b == Captive)
261 * <16:13> :: cable latency (0001 == <10ns(~1m length))
262 * <12:11> :: cable termination type (10b == Vconn not req, 01b == Vconn req)
263 * <10:9> :: Maximum Vbus voltage (00b == 20V, 01b == 30V, 10b == 40V, 11b == 50V)
265 * <6:5> :: Vbus current handling capability (01b == 3A, 10b == 5A)
275 * <19:18> :: Connector type (10b == C, 11b == Captive)
277 * <16:13> :: cable latency (0001 == <10ns(~1m length))
278 * <12:11> :: cable termination type (10b == one end active, 11b == both ends active VCONN req)
279 * <10:9> :: Maximum Vbus voltage (00b == 20V, 01b == 30V, 10b == 40V, 11b == 50V)
282 * <6:5> :: Vbus current handling capability (01b == 3A, 10b == 5A)
343 | ((lat) & 0x7) << 13 | ((term) & 0x3) << 11 | (tx1d) << 10 \
364 * <10> :: Physical connection (0b == copper, 1b == optical)
406 | (trans) << 11 | (phy) << 10 | (ele) << 9 | (u4) << 8 \
417 * <10> :: SSTX2 Directionality support
427 | (tx1d) << 11 | (tx2d) << 10 | (rx1d) << 9 | (rx2d) << 8 \
446 * <16:15> :: Maximum Vbus voltage (00b == 20V, 01b == 30V, 10b == 40V, 11b == 50V)