Searched refs:rdo (Results 1 – 2 of 2) sorted by relevance
400 static inline unsigned int rdo_index(u32 rdo) in rdo_index() argument402 return (rdo >> RDO_OBJ_POS_SHIFT) & RDO_OBJ_POS_MASK; in rdo_index()405 static inline unsigned int rdo_op_current(u32 rdo) in rdo_op_current() argument407 return ((rdo >> RDO_FIXED_OP_CURR_SHIFT) & RDO_CURR_MASK) * 10; in rdo_op_current()410 static inline unsigned int rdo_max_current(u32 rdo) in rdo_max_current() argument412 return ((rdo >> RDO_FIXED_MAX_CURR_SHIFT) & in rdo_max_current()416 static inline unsigned int rdo_op_power(u32 rdo) in rdo_op_power() argument418 return ((rdo >> RDO_BATT_OP_PWR_SHIFT) & RDO_PWR_MASK) * 250; in rdo_op_power()421 static inline unsigned int rdo_max_power(u32 rdo) in rdo_max_power() argument423 return ((rdo >> RDO_BATT_MAX_PWR_SHIFT) & RDO_PWR_MASK) * 250; in rdo_max_power()
1013 con->rdo = UCSI_CONSTAT(con, RDO); in ucsi_pwr_opmode_change()1021 con->rdo = 0; in ucsi_pwr_opmode_change()1025 con->rdo = 0; in ucsi_pwr_opmode_change()1029 con->rdo = 0; in ucsi_pwr_opmode_change()