Home
last modified time | relevance | path

Searched refs:pm_entity (Results 1 – 4 of 4) sorted by relevance

/drivers/net/wwan/t7xx/
Dt7xx_hif_cldma.c1188 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 …]
Dt7xx_pci.h116 int t7xx_pci_pm_entity_register(struct t7xx_pci_dev *t7xx_dev, struct md_pm_entity *pm_entity);
117 int t7xx_pci_pm_entity_unregister(struct t7xx_pci_dev *t7xx_dev, struct md_pm_entity *pm_entity);
Dt7xx_pci.c152 int t7xx_pci_pm_entity_register(struct t7xx_pci_dev *t7xx_dev, struct md_pm_entity *pm_entity) in t7xx_pci_pm_entity_register() argument
158 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() argument
175 if (entity->id == pm_entity->id) { in t7xx_pci_pm_entity_unregister()
176 list_del(&pm_entity->entity); in t7xx_pci_pm_entity_unregister()
Dt7xx_hif_cldma.h101 struct md_pm_entity *pm_entity; member