Searched refs:pm_entity (Results 1 – 4 of 4) sorted by relevance
1196 md_ctrl->pm_entity = kzalloc(sizeof(*md_ctrl->pm_entity), GFP_KERNEL); in t7xx_cldma_pm_init()1197 if (!md_ctrl->pm_entity) in t7xx_cldma_pm_init()1200 md_ctrl->pm_entity->entity_param = md_ctrl; in t7xx_cldma_pm_init()1203 md_ctrl->pm_entity->id = PM_ENTITY_ID_CTRL1; in t7xx_cldma_pm_init()1205 md_ctrl->pm_entity->id = PM_ENTITY_ID_CTRL2; in t7xx_cldma_pm_init()1207 md_ctrl->pm_entity->suspend = t7xx_cldma_suspend; in t7xx_cldma_pm_init()1208 md_ctrl->pm_entity->suspend_late = t7xx_cldma_suspend_late; in t7xx_cldma_pm_init()1209 md_ctrl->pm_entity->resume = t7xx_cldma_resume; in t7xx_cldma_pm_init()1210 md_ctrl->pm_entity->resume_early = t7xx_cldma_resume_early; in t7xx_cldma_pm_init()1212 return t7xx_pci_pm_entity_register(md_ctrl->t7xx_dev, md_ctrl->pm_entity); in t7xx_cldma_pm_init()[all …]
119 int t7xx_pci_pm_entity_register(struct t7xx_pci_dev *t7xx_dev, struct md_pm_entity *pm_entity);120 int t7xx_pci_pm_entity_unregister(struct t7xx_pci_dev *t7xx_dev, struct md_pm_entity *pm_entity);
152 int t7xx_pci_pm_entity_register(struct t7xx_pci_dev *t7xx_dev, struct md_pm_entity *pm_entity) in t7xx_pci_pm_entity_register() argument158 if (entity->id == pm_entity->id) { in t7xx_pci_pm_entity_register()164 list_add_tail(&pm_entity->entity, &t7xx_dev->md_pm_entities); in t7xx_pci_pm_entity_register()169 int t7xx_pci_pm_entity_unregister(struct t7xx_pci_dev *t7xx_dev, struct md_pm_entity *pm_entity) in t7xx_pci_pm_entity_unregister() argument175 if (entity->id == pm_entity->id) { in t7xx_pci_pm_entity_unregister()176 list_del(&pm_entity->entity); in t7xx_pci_pm_entity_unregister()
101 struct md_pm_entity *pm_entity; member