Lines Matching refs:amd_mp2_dev
40 static int amd_sfh_wait_response_v2(struct amd_mp2_dev *mp2, u8 sid, u32 sensor_sts) in amd_sfh_wait_response_v2()
54 static void amd_start_sensor_v2(struct amd_mp2_dev *privdata, struct amd_mp2_sensor_info info) in amd_start_sensor_v2()
72 static void amd_stop_sensor_v2(struct amd_mp2_dev *privdata, u16 sensor_idx) in amd_stop_sensor_v2()
87 static void amd_stop_all_sensor_v2(struct amd_mp2_dev *privdata) in amd_stop_all_sensor_v2()
99 void amd_sfh_clear_intr_v2(struct amd_mp2_dev *privdata) in amd_sfh_clear_intr_v2()
107 void amd_sfh_clear_intr(struct amd_mp2_dev *privdata) in amd_sfh_clear_intr()
120 int amd_sfh_irq_init_v2(struct amd_mp2_dev *privdata) in amd_sfh_irq_init_v2()
137 static int amd_sfh_dis_sts_v2(struct amd_mp2_dev *privdata) in amd_sfh_dis_sts_v2()
143 static void amd_start_sensor(struct amd_mp2_dev *privdata, struct amd_mp2_sensor_info info) in amd_start_sensor()
164 static void amd_stop_sensor(struct amd_mp2_dev *privdata, u16 sensor_idx) in amd_stop_sensor()
178 static void amd_stop_all_sensors(struct amd_mp2_dev *privdata) in amd_stop_all_sensors()
207 int amd_mp2_get_sensor_num(struct amd_mp2_dev *privdata, u8 *sensor_id) in amd_mp2_get_sensor_num()
247 struct amd_mp2_dev *mp2 = privdata; in amd_mp2_pci_remove()
272 static void mp2_select_ops(struct amd_mp2_dev *privdata) in mp2_select_ops()
289 int amd_sfh_irq_init(struct amd_mp2_dev *privdata) in amd_sfh_irq_init()
334 struct amd_mp2_dev *privdata; in amd_mp2_pci_probe()
400 struct amd_mp2_dev *mp2 = pci_get_drvdata(pdev); in amd_sfh_shutdown()
408 struct amd_mp2_dev *mp2 = dev_get_drvdata(dev); in amd_mp2_pci_resume()
417 struct amd_mp2_dev *mp2 = dev_get_drvdata(dev); in amd_mp2_pci_suspend()