Lines Matching refs:mp2
36 static int amd_sfh_wait_response_v2(struct amd_mp2_dev *mp2, u8 sid, u32 sensor_sts) in amd_sfh_wait_response_v2() argument
41 if (!readl_poll_timeout(mp2->mmio + AMD_P2C_MSG(0), cmd_resp.resp, in amd_sfh_wait_response_v2()
240 struct amd_mp2_dev *mp2 = privdata; in amd_mp2_pci_remove() local
242 mp2->mp2_ops->stop_all(mp2); in amd_mp2_pci_remove()
243 pci_intx(mp2->pdev, false); in amd_mp2_pci_remove()
244 amd_sfh_clear_intr(mp2); in amd_mp2_pci_remove()
360 struct amd_mp2_dev *mp2 = dev_get_drvdata(dev); in amd_mp2_pci_resume() local
361 struct amdtp_cl_data *cl_data = mp2->cl_data; in amd_mp2_pci_resume()
370 mp2->mp2_ops->start(mp2, info); in amd_mp2_pci_resume()
372 (mp2, cl_data->sensor_idx[i], SENSOR_ENABLED); in amd_mp2_pci_resume()
382 amd_sfh_clear_intr(mp2); in amd_mp2_pci_resume()
389 struct amd_mp2_dev *mp2 = dev_get_drvdata(dev); in amd_mp2_pci_suspend() local
390 struct amdtp_cl_data *cl_data = mp2->cl_data; in amd_mp2_pci_suspend()
396 mp2->mp2_ops->stop(mp2, cl_data->sensor_idx[i]); in amd_mp2_pci_suspend()
398 (mp2, cl_data->sensor_idx[i], SENSOR_DISABLED); in amd_mp2_pci_suspend()
408 amd_sfh_clear_intr(mp2); in amd_mp2_pci_suspend()