Lines Matching defs:state
66 /* If the USB state machine is active then we're using that with or
138 u16 state;
140 state = wm8350_reg_read(wm8350, WM8350_BATTERY_CHARGER_CONTROL_2);
141 state &= WM8350_CHG_STS_MASK;
143 switch (state) {
161 int state;
163 state = wm8350_reg_read(wm8350, WM8350_BATTERY_CHARGER_CONTROL_2) &
165 switch (state) {
327 int state;
329 state = wm8350_reg_read(wm8350, WM8350_BATTERY_CHARGER_CONTROL_2) &
331 switch (state) {