Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/wwan/t7xx/
Dt7xx_pci.h131 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);
Dt7xx_hif_cldma.c1212 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 …]
Dt7xx_pci.c238 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
244 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() argument
261 if (entity->id == pm_entity->id) { in t7xx_pci_pm_entity_unregister()
262 list_del(&pm_entity->entity); in t7xx_pci_pm_entity_unregister()
Dt7xx_hif_cldma.h111 struct md_pm_entity *pm_entity; member