Lines Matching refs:ctrl_reg
64 unsigned int ctrl_reg; in bd70528_set_wake() local
66 ret = regmap_read(bd70528->regmap, BD70528_REG_WAKE_EN, &ctrl_reg); in bd70528_set_wake()
71 if (ctrl_reg & BD70528_MASK_WAKE_EN) in bd70528_set_wake()
81 ctrl_reg |= BD70528_MASK_WAKE_EN; in bd70528_set_wake()
83 ctrl_reg &= ~BD70528_MASK_WAKE_EN; in bd70528_set_wake()
86 ctrl_reg); in bd70528_set_wake()
93 unsigned int ctrl_reg; in bd70528_set_elapsed_tmr() local
108 &ctrl_reg); in bd70528_set_elapsed_tmr()
113 if (ctrl_reg & BD70528_MASK_ELAPSED_TIMER_EN) in bd70528_set_elapsed_tmr()
123 ctrl_reg |= BD70528_MASK_ELAPSED_TIMER_EN; in bd70528_set_elapsed_tmr()
125 ctrl_reg &= ~BD70528_MASK_ELAPSED_TIMER_EN; in bd70528_set_elapsed_tmr()
128 ctrl_reg); in bd70528_set_elapsed_tmr()