Lines Matching refs:of_entry
114 struct mfd_of_node_entry *of_entry; in mfd_match_of_node_to_dev() local
119 list_for_each_entry(of_entry, &mfd_of_node_list, list) in mfd_match_of_node_to_dev()
120 if (of_entry->np == np) in mfd_match_of_node_to_dev()
138 of_entry = kzalloc_obj(*of_entry); in mfd_match_of_node_to_dev()
139 if (!of_entry) in mfd_match_of_node_to_dev()
142 of_entry->dev = &pdev->dev; in mfd_match_of_node_to_dev()
143 of_entry->np = of_node_get(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()
158 struct mfd_of_node_entry *of_entry, *tmp; in mfd_add_device() local
299 list_for_each_entry_safe(of_entry, tmp, &mfd_of_node_list, list) in mfd_add_device()
300 if (of_entry->dev == &pdev->dev) { in mfd_add_device()
301 list_del(&of_entry->list); in mfd_add_device()
302 kfree(of_entry); in mfd_add_device()
359 struct mfd_of_node_entry *of_entry, *tmp; in mfd_remove_devices_fn() local
375 list_for_each_entry_safe(of_entry, tmp, &mfd_of_node_list, list) in mfd_remove_devices_fn()
376 if (of_entry->dev == &pdev->dev) { in mfd_remove_devices_fn()
377 list_del(&of_entry->list); in mfd_remove_devices_fn()
378 kfree(of_entry); in mfd_remove_devices_fn()