Home
last modified time | relevance | path

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

/linux-4.1.27/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.c110 struct pdev_entry { struct
438 struct pdev_entry *p; in coretemp_get_pdev()
608 struct pdev_entry *pdev_entry; in coretemp_device_add() local
619 pdev_entry = kzalloc(sizeof(struct pdev_entry), GFP_KERNEL); in coretemp_device_add()
620 if (!pdev_entry) { in coretemp_device_add()
631 pdev_entry->pdev = pdev; in coretemp_device_add()
632 pdev_entry->phys_proc_id = pdev->id; in coretemp_device_add()
634 list_add_tail(&pdev_entry->list, &pdev_list); in coretemp_device_add()
640 kfree(pdev_entry); in coretemp_device_add()
650 struct pdev_entry *p, *n; in coretemp_device_remove()
[all …]