Lines Matching refs:of_entry
130 struct mfd_of_node_entry *of_entry; in mfd_match_of_node_to_dev() local
135 list_for_each_entry(of_entry, &mfd_of_node_list, list) in mfd_match_of_node_to_dev()
136 if (of_entry->np == np) in mfd_match_of_node_to_dev()
156 of_entry = kzalloc(sizeof(*of_entry), GFP_KERNEL); in mfd_match_of_node_to_dev()
157 if (!of_entry) in mfd_match_of_node_to_dev()
160 of_entry->dev = &pdev->dev; in mfd_match_of_node_to_dev()
161 of_entry->np = np; in mfd_match_of_node_to_dev()
162 list_add_tail(&of_entry->list, &mfd_of_node_list); in mfd_match_of_node_to_dev()
178 struct mfd_of_node_entry *of_entry, *tmp; in mfd_add_device() local
312 list_for_each_entry_safe(of_entry, tmp, &mfd_of_node_list, list) in mfd_add_device()
313 if (of_entry->dev == &pdev->dev) { in mfd_add_device()
314 list_del(&of_entry->list); in mfd_add_device()
315 kfree(of_entry); in mfd_add_device()
371 struct mfd_of_node_entry *of_entry, *tmp; in mfd_remove_devices_fn() local
386 list_for_each_entry_safe(of_entry, tmp, &mfd_of_node_list, list) in mfd_remove_devices_fn()
387 if (of_entry->dev == &pdev->dev) { in mfd_remove_devices_fn()
388 list_del(&of_entry->list); in mfd_remove_devices_fn()
389 kfree(of_entry); in mfd_remove_devices_fn()