Home
last modified time | relevance | path

Searched refs:pdev_entry (Results 1 – 2 of 2) sorted by relevance

/linux-4.4.14/drivers/hwmon/
Dvia-cputemp.c214 struct pdev_entry { struct
227 struct pdev_entry *pdev_entry; in via_cputemp_device_add() argument
236 pdev_entry = kzalloc(sizeof(struct pdev_entry), GFP_KERNEL); in via_cputemp_device_add()
237 if (!pdev_entry) { in via_cputemp_device_add()
248 pdev_entry->pdev = pdev; in via_cputemp_device_add()
249 pdev_entry->cpu = cpu; in via_cputemp_device_add()
251 list_add_tail(&pdev_entry->list, &pdev_list); in via_cputemp_device_add()
257 kfree(pdev_entry); in via_cputemp_device_add()
266 struct pdev_entry *p; in via_cputemp_device_remove()
361 struct pdev_entry *p, *n; in via_cputemp_exit()
Dcoretemp.c111 struct pdev_entry { struct
439 struct pdev_entry *p; in coretemp_get_pdev()
609 struct pdev_entry *pdev_entry; in coretemp_device_add() local
620 pdev_entry = kzalloc(sizeof(struct pdev_entry), GFP_KERNEL); in coretemp_device_add()
621 if (!pdev_entry) { in coretemp_device_add()
632 pdev_entry->pdev = pdev; in coretemp_device_add()
633 pdev_entry->phys_proc_id = pdev->id; in coretemp_device_add()
635 list_add_tail(&pdev_entry->list, &pdev_list); in coretemp_device_add()
641 kfree(pdev_entry); in coretemp_device_add()
651 struct pdev_entry *p, *n; in coretemp_device_remove()
[all …]