Lines Matching refs:status_clean
69 u8 status_clean) in siox_device_counter_error() argument
71 return (status_clean & SIOX_STATUS_COUNTER) != 0; in siox_device_counter_error()
74 static bool siox_device_type_error(struct siox_device *sdevice, u8 status_clean) in siox_device_type_error() argument
76 u8 statustype = (status_clean & SIOX_STATUS_TYPE) >> 4; in siox_device_type_error()
97 static bool siox_device_wdg_error(struct siox_device *sdevice, u8 status_clean) in siox_device_wdg_error() argument
99 return (status_clean & SIOX_STATUS_WDG) == 0; in siox_device_wdg_error()
198 u8 status_clean; in siox_poll() local
214 status_clean = in siox_poll()
219 if (siox_device_counter_error(sdevice, status_clean) || in siox_poll()
220 siox_device_type_error(sdevice, status_clean)) { in siox_poll()
241 status_clean &= ~SIOX_STATUS_WDG; in siox_poll()
244 if (siox_device_wdg_error(sdevice, status_clean)) in siox_poll()
248 if ((status_clean ^ prev_status_clean) & SIOX_STATUS_WDG) { in siox_poll()
251 if (siox_device_wdg_error(sdevice, status_clean)) { in siox_poll()
263 sdevice->status_read_clean = status_clean; in siox_poll()
267 trace_siox_get_data(smaster, sdevice, devno, status_clean, i); in siox_poll()