Searched refs:newprop (Results 1 – 7 of 7) sorted by relevance
/linux-6.3-rc2/arch/arm/mach-versatile/ |
A D | versatile.c | 127 struct property *newprop; in versatile_dt_pci_init() local 145 newprop = kzalloc(sizeof(*newprop), GFP_KERNEL); in versatile_dt_pci_init() 146 if (!newprop) in versatile_dt_pci_init() 149 newprop->name = kstrdup("status", GFP_KERNEL); in versatile_dt_pci_init() 150 newprop->value = kstrdup("disabled", GFP_KERNEL); in versatile_dt_pci_init() 151 newprop->length = sizeof("disabled"); in versatile_dt_pci_init() 152 of_update_property(np, newprop); in versatile_dt_pci_init()
|
/linux-6.3-rc2/drivers/memory/ |
A D | atmel-ebi.c | 495 struct property *newprop; in atmel_ebi_dev_disable() local 497 newprop = devm_kzalloc(dev, sizeof(*newprop), GFP_KERNEL); in atmel_ebi_dev_disable() 498 if (!newprop) in atmel_ebi_dev_disable() 501 newprop->name = devm_kstrdup(dev, "status", GFP_KERNEL); in atmel_ebi_dev_disable() 502 if (!newprop->name) in atmel_ebi_dev_disable() 505 newprop->value = devm_kstrdup(dev, "disabled", GFP_KERNEL); in atmel_ebi_dev_disable() 506 if (!newprop->value) in atmel_ebi_dev_disable() 509 newprop->length = sizeof("disabled"); in atmel_ebi_dev_disable() 511 return of_update_property(np, newprop); in atmel_ebi_dev_disable()
|
/linux-6.3-rc2/drivers/of/ |
A D | of_private.h | 66 void __of_update_property_sysfs(struct device_node *np, struct property *newprop, 77 struct property *newprop, struct property *oldprop) {} in __of_update_property_sysfs() argument 132 struct property *newprop, struct property **oldprop);
|
A D | base.c | 1821 int __of_update_property(struct device_node *np, struct property *newprop, in __of_update_property() argument 1827 if (of_prop_cmp((*next)->name, newprop->name) == 0) in __of_update_property() 1834 newprop->next = oldprop->next; in __of_update_property() 1835 *next = newprop; in __of_update_property() 1840 newprop->next = NULL; in __of_update_property() 1841 *next = newprop; in __of_update_property() 1856 int of_update_property(struct device_node *np, struct property *newprop) in of_update_property() argument 1862 if (!newprop->name) in of_update_property() 1868 rc = __of_update_property(np, newprop, &oldprop); in of_update_property() 1872 __of_update_property_sysfs(np, newprop, oldprop); in of_update_property() [all …]
|
A D | kobj.c | 103 void __of_update_property_sysfs(struct device_node *np, struct property *newprop, in __of_update_property_sysfs() argument 112 __of_add_property_sysfs(np, newprop); in __of_update_property_sysfs()
|
/linux-6.3-rc2/arch/powerpc/platforms/pseries/ |
A D | reconfig.c | 322 struct property *newprop; in do_update_property() local 336 newprop = new_property(name, length, value, NULL); in do_update_property() 337 if (!newprop) in do_update_property() 343 return of_update_property(np, newprop); in do_update_property()
|
/linux-6.3-rc2/include/linux/ |
A D | of.h | 407 extern int of_update_property(struct device_node *np, struct property *newprop);
|
Completed in 21 milliseconds