Lines Matching defs:state
69 /* If the USB state machine is active then we're using that with or
141 u16 state;
143 state = wm8350_reg_read(wm8350, WM8350_BATTERY_CHARGER_CONTROL_2);
144 state &= WM8350_CHG_STS_MASK;
146 switch (state) {
164 int state;
166 state = wm8350_reg_read(wm8350, WM8350_BATTERY_CHARGER_CONTROL_2) &
168 switch (state) {
329 int state;
331 state = wm8350_reg_read(wm8350, WM8350_BATTERY_CHARGER_CONTROL_2) &
333 switch (state) {