/kernel/linux/linux-5.10/arch/arm/mach-versatile/ |
H A D | versatile_dt.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()
|
/kernel/linux/linux-6.6/arch/arm/mach-versatile/ |
H 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()
|
/kernel/linux/linux-5.10/drivers/memory/ |
H 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() [all...] |
/kernel/linux/linux-6.6/drivers/memory/ |
H 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() [all...] |
/kernel/linux/linux-5.10/drivers/of/ |
H A D | of_private.h | 64 void __of_update_property_sysfs(struct device_node *np, struct property *newprop, 75 struct property *newprop, struct property *oldprop) {} in __of_update_property_sysfs() 134 struct property *newprop, struct property **oldprop); 136 struct property *newprop, struct property *oldprop); 74 __of_update_property_sysfs(struct device_node *np, struct property *newprop, struct property *oldprop) __of_update_property_sysfs() argument
|
H A D | base.c | 1886 int __of_update_property(struct device_node *np, struct property *newprop, in __of_update_property() argument 1892 if (of_prop_cmp((*next)->name, newprop->name) == 0) in __of_update_property() 1899 newprop->next = oldprop->next; in __of_update_property() 1900 *next = newprop; in __of_update_property() 1905 newprop->next = NULL; in __of_update_property() 1906 *next = newprop; in __of_update_property() 1921 int of_update_property(struct device_node *np, struct property *newprop) in of_update_property() argument 1927 if (!newprop->name) in of_update_property() 1933 rc = __of_update_property(np, newprop, &oldprop); in of_update_property() 1937 __of_update_property_sysfs(np, newprop, oldpro in of_update_property() [all...] |
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()
|
/kernel/linux/linux-6.6/drivers/of/ |
H A D | of_private.h | 73 void __of_update_property_sysfs(struct device_node *np, struct property *newprop, 84 struct property *newprop, struct property *oldprop) {} in __of_update_property_sysfs() 139 struct property *newprop, struct property **oldprop); 83 __of_update_property_sysfs(struct device_node *np, struct property *newprop, struct property *oldprop) __of_update_property_sysfs() argument
|
H A D | base.c | 1654 int __of_update_property(struct device_node *np, struct property *newprop, in __of_update_property() argument 1662 __of_remove_property_from_list(&np->deadprops, newprop); in __of_update_property() 1665 if (of_prop_cmp((*next)->name, newprop->name) == 0) in __of_update_property() 1672 newprop->next = oldprop->next; in __of_update_property() 1673 *next = newprop; in __of_update_property() 1678 newprop->next = NULL; in __of_update_property() 1679 *next = newprop; in __of_update_property() 1684 __of_update_property_sysfs(np, newprop, oldprop); in __of_update_property() 1698 int of_update_property(struct device_node *np, struct property *newprop) in of_update_property() argument 1703 if (!newprop in of_update_property() [all...] |
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()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-6.6/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()
|
/kernel/linux/linux-5.10/include/linux/ |
H A D | of.h | 404 extern int of_update_property(struct device_node *np, struct property *newprop);
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | of.h | 409 extern int of_update_property(struct device_node *np, struct property *newprop);
|