Searched refs:pm_entity (Results 1 – 4 of 4) sorted by relevance
115 int t7xx_pci_pm_entity_register(struct t7xx_pci_dev *t7xx_dev, struct md_pm_entity *pm_entity);116 int t7xx_pci_pm_entity_unregister(struct t7xx_pci_dev *t7xx_dev, struct md_pm_entity *pm_entity);
1188 md_ctrl->pm_entity = kzalloc(sizeof(*md_ctrl->pm_entity), GFP_KERNEL); in t7xx_cldma_pm_init()1189 if (!md_ctrl->pm_entity) in t7xx_cldma_pm_init()1192 md_ctrl->pm_entity->entity_param = md_ctrl; in t7xx_cldma_pm_init()1195 md_ctrl->pm_entity->id = PM_ENTITY_ID_CTRL1; in t7xx_cldma_pm_init()1197 md_ctrl->pm_entity->id = PM_ENTITY_ID_CTRL2; in t7xx_cldma_pm_init()1199 md_ctrl->pm_entity->suspend = t7xx_cldma_suspend; in t7xx_cldma_pm_init()1200 md_ctrl->pm_entity->suspend_late = t7xx_cldma_suspend_late; in t7xx_cldma_pm_init()1201 md_ctrl->pm_entity->resume = t7xx_cldma_resume; in t7xx_cldma_pm_init()1202 md_ctrl->pm_entity->resume_early = t7xx_cldma_resume_early; in t7xx_cldma_pm_init()1204 return t7xx_pci_pm_entity_register(md_ctrl->t7xx_dev, md_ctrl->pm_entity); in t7xx_cldma_pm_init()[all …]
147 int t7xx_pci_pm_entity_register(struct t7xx_pci_dev *t7xx_dev, struct md_pm_entity *pm_entity) in t7xx_pci_pm_entity_register() argument153 if (entity->id == pm_entity->id) { in t7xx_pci_pm_entity_register()159 list_add_tail(&pm_entity->entity, &t7xx_dev->md_pm_entities); in t7xx_pci_pm_entity_register()164 int t7xx_pci_pm_entity_unregister(struct t7xx_pci_dev *t7xx_dev, struct md_pm_entity *pm_entity) in t7xx_pci_pm_entity_unregister() argument170 if (entity->id == pm_entity->id) { in t7xx_pci_pm_entity_unregister()171 list_del(&pm_entity->entity); in t7xx_pci_pm_entity_unregister()
101 struct md_pm_entity *pm_entity; member