Home
last modified time | relevance | path

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

/include/linux/usb/
Dpd.h399 static inline unsigned int rdo_index(u32 rdo) in rdo_index() argument
401 return (rdo >> RDO_OBJ_POS_SHIFT) & RDO_OBJ_POS_MASK; in rdo_index()
404 static inline unsigned int rdo_op_current(u32 rdo) in rdo_op_current() argument
406 return ((rdo >> RDO_FIXED_OP_CURR_SHIFT) & RDO_CURR_MASK) * 10; in rdo_op_current()
409 static inline unsigned int rdo_max_current(u32 rdo) in rdo_max_current() argument
411 return ((rdo >> RDO_FIXED_MAX_CURR_SHIFT) & in rdo_max_current()
415 static inline unsigned int rdo_op_power(u32 rdo) in rdo_op_power() argument
417 return ((rdo >> RDO_BATT_OP_PWR_SHIFT) & RDO_PWR_MASK) * 250; in rdo_op_power()
420 static inline unsigned int rdo_max_power(u32 rdo) in rdo_max_power() argument
422 return ((rdo >> RDO_BATT_MAX_PWR_SHIFT) & RDO_PWR_MASK) * 250; in rdo_max_power()