Searched refs:newprop (Results 1 – 4 of 4) sorted by relevance
| /linux/arch/arm/mach-versatile/ |
| H A D | versatile.c | 127 struct property *newprop; in versatile_dt_pci_init() local 145 newprop = kzalloc_obj(*newprop); 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/drivers/memory/ |
| H A D | atmel-ebi.c | 499 struct property *newprop; in atmel_ebi_dev_disable() local 501 newprop = devm_kzalloc(dev, sizeof(*newprop), GFP_KERNEL); in atmel_ebi_dev_disable() 502 if (!newprop) in atmel_ebi_dev_disable() 505 newprop->name = devm_kstrdup(dev, "status", GFP_KERNEL); in atmel_ebi_dev_disable() 506 if (!newprop->name) in atmel_ebi_dev_disable() 509 newprop->value = devm_kstrdup(dev, "disabled", GFP_KERNEL); in atmel_ebi_dev_disable() 510 if (!newprop->value) in atmel_ebi_dev_disable() 513 newprop->length = sizeof("disabled"); in atmel_ebi_dev_disable() 515 return of_update_property(np, newprop); in atmel_ebi_dev_disable()
|
| /linux/arch/powerpc/platforms/pseries/ |
| H 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/drivers/of/ |
| H 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()
|