Lines Matching refs:sts
138 enum status_type sts = i2c_common->eventval.r.status; in __amd_mp2_process_event() local
150 if (sts == i2c_readcomplete_event) { in __amd_mp2_process_event()
156 } else if (sts != i2c_readfail_event) { in __amd_mp2_process_event()
157 pci_err(pdev, "invalid i2c status after read (%d)!\n", sts); in __amd_mp2_process_event()
161 if (sts == i2c_writecomplete_event) in __amd_mp2_process_event()
163 else if (sts != i2c_writefail_event) in __amd_mp2_process_event()
164 pci_err(pdev, "invalid i2c status after write (%d)!\n", sts); in __amd_mp2_process_event()
167 if (sts == i2c_busenable_complete) in __amd_mp2_process_event()
169 else if (sts != i2c_busenable_failed) in __amd_mp2_process_event()
170 pci_err(pdev, "invalid i2c status after bus enable (%d)!\n", sts); in __amd_mp2_process_event()
173 if (sts == i2c_busdisable_complete) in __amd_mp2_process_event()
175 else if (sts != i2c_busdisable_failed) in __amd_mp2_process_event()
176 pci_err(pdev, "invalid i2c status after bus disable (%d)!\n", sts); in __amd_mp2_process_event()