Lines Matching refs:of_entry
113 struct mfd_of_node_entry *of_entry; in mfd_match_of_node_to_dev() local
118 list_for_each_entry(of_entry, &mfd_of_node_list, list) in mfd_match_of_node_to_dev()
119 if (of_entry->np == np) in mfd_match_of_node_to_dev()
139 of_entry = kzalloc(sizeof(*of_entry), GFP_KERNEL); in mfd_match_of_node_to_dev()
140 if (!of_entry) in mfd_match_of_node_to_dev()
143 of_entry->dev = &pdev->dev; in mfd_match_of_node_to_dev()
144 of_entry->np = np; in mfd_match_of_node_to_dev()
145 list_add_tail(&of_entry->list, &mfd_of_node_list); in mfd_match_of_node_to_dev()
161 struct mfd_of_node_entry *of_entry, *tmp; in mfd_add_device() local
295 list_for_each_entry_safe(of_entry, tmp, &mfd_of_node_list, list) in mfd_add_device()
296 if (of_entry->dev == &pdev->dev) { in mfd_add_device()
297 list_del(&of_entry->list); in mfd_add_device()
298 kfree(of_entry); in mfd_add_device()