Searched refs:pm_entity (Results 1 – 4 of 4) sorted by relevance
131 int t7xx_pci_pm_entity_register(struct t7xx_pci_dev *t7xx_dev, struct md_pm_entity *pm_entity);132 int t7xx_pci_pm_entity_unregister(struct t7xx_pci_dev *t7xx_dev, struct md_pm_entity *pm_entity);
1212 md_ctrl->pm_entity = kzalloc(sizeof(*md_ctrl->pm_entity), GFP_KERNEL); in t7xx_cldma_pm_init()1213 if (!md_ctrl->pm_entity) in t7xx_cldma_pm_init()1216 md_ctrl->pm_entity->entity_param = md_ctrl; in t7xx_cldma_pm_init()1219 md_ctrl->pm_entity->id = PM_ENTITY_ID_CTRL1; in t7xx_cldma_pm_init()1221 md_ctrl->pm_entity->id = PM_ENTITY_ID_CTRL2; in t7xx_cldma_pm_init()1223 md_ctrl->pm_entity->suspend = t7xx_cldma_suspend; in t7xx_cldma_pm_init()1224 md_ctrl->pm_entity->suspend_late = t7xx_cldma_suspend_late; in t7xx_cldma_pm_init()1225 md_ctrl->pm_entity->resume = t7xx_cldma_resume; in t7xx_cldma_pm_init()1226 md_ctrl->pm_entity->resume_early = t7xx_cldma_resume_early; in t7xx_cldma_pm_init()1228 return t7xx_pci_pm_entity_register(md_ctrl->t7xx_dev, md_ctrl->pm_entity); in t7xx_cldma_pm_init()[all …]
238 int t7xx_pci_pm_entity_register(struct t7xx_pci_dev *t7xx_dev, struct md_pm_entity *pm_entity) in t7xx_pci_pm_entity_register() argument244 if (entity->id == pm_entity->id) { in t7xx_pci_pm_entity_register()250 list_add_tail(&pm_entity->entity, &t7xx_dev->md_pm_entities); in t7xx_pci_pm_entity_register()255 int t7xx_pci_pm_entity_unregister(struct t7xx_pci_dev *t7xx_dev, struct md_pm_entity *pm_entity) in t7xx_pci_pm_entity_unregister() argument261 if (entity->id == pm_entity->id) { in t7xx_pci_pm_entity_unregister()262 list_del(&pm_entity->entity); in t7xx_pci_pm_entity_unregister()
111 struct md_pm_entity *pm_entity; member