Searched refs:mp2_dev (Results 1 – 3 of 3) sorted by relevance
43 struct device *dev_pci = &i2c_common->mp2_dev->pci_dev->dev; in i2c_amd_dma_map()66 struct device *dev_pci = &i2c_common->mp2_dev->pci_dev->dev; in i2c_amd_dma_unmap()160 if (unlikely(!i2c_dev->common.mp2_dev)) in i2c_amd_xfer()163 amd_mp2_pm_runtime_get(i2c_dev->common.mp2_dev); in i2c_amd_xfer()172 amd_mp2_pm_runtime_put(i2c_dev->common.mp2_dev); in i2c_amd_xfer()250 struct amd_mp2_dev *mp2_dev; in i2c_amd_probe() local264 mp2_dev = amd_mp2_find_device(); in i2c_amd_probe()265 if (!mp2_dev || !mp2_dev->probed) in i2c_amd_probe()274 i2c_dev->common.mp2_dev = mp2_dev; in i2c_amd_probe()285 amd_mp2_pm_runtime_get(mp2_dev); in i2c_amd_probe()[all …]
154 struct amd_mp2_dev *mp2_dev; member203 static inline void amd_mp2_pm_runtime_get(struct amd_mp2_dev *mp2_dev) in amd_mp2_pm_runtime_get() argument205 pm_runtime_get_sync(&mp2_dev->pci_dev->dev); in amd_mp2_pm_runtime_get()208 static inline void amd_mp2_pm_runtime_put(struct amd_mp2_dev *mp2_dev) in amd_mp2_pm_runtime_put() argument210 pm_runtime_mark_last_busy(&mp2_dev->pci_dev->dev); in amd_mp2_pm_runtime_put()211 pm_runtime_put_autosuspend(&mp2_dev->pci_dev->dev); in amd_mp2_pm_runtime_put()
21 struct amd_mp2_dev *privdata = i2c_common->mp2_dev; in amd_mp2_c2p_mutex_lock()30 struct amd_mp2_dev *privdata = i2c_common->mp2_dev; in amd_mp2_c2p_mutex_unlock()45 struct amd_mp2_dev *privdata = i2c_common->mp2_dev; in amd_mp2_cmd()59 struct amd_mp2_dev *privdata = i2c_common->mp2_dev; in amd_mp2_bus_enable_set()88 struct amd_mp2_dev *privdata = i2c_common->mp2_dev; in amd_mp2_rw()112 struct amd_mp2_dev *privdata = i2c_common->mp2_dev; in amd_mp2_pci_check_rw_event()136 struct amd_mp2_dev *privdata = i2c_common->mp2_dev; in __amd_mp2_process_event()185 struct amd_mp2_dev *privdata = i2c_common->mp2_dev; in amd_mp2_process_event()250 struct amd_mp2_dev *privdata = i2c_common->mp2_dev; in amd_mp2_register_cb()269 struct amd_mp2_dev *privdata = i2c_common->mp2_dev; in amd_mp2_unregister_cb()