Home
last modified time | relevance | path

Searched refs:newprop (Results 1 – 4 of 4) sorted by relevance

/drivers/memory/
Datmel-ebi.c495 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()
/drivers/of/
Dof_private.h64 void __of_update_property_sysfs(struct device_node *np, struct property *newprop,
75 struct property *newprop, struct property *oldprop) {} in __of_update_property_sysfs() argument
134 struct property *newprop, struct property **oldprop);
136 struct property *newprop, struct property *oldprop);
Dbase.c1914 int __of_update_property(struct device_node *np, struct property *newprop, in __of_update_property() argument
1920 if (of_prop_cmp((*next)->name, newprop->name) == 0) in __of_update_property()
1927 newprop->next = oldprop->next; in __of_update_property()
1928 *next = newprop; in __of_update_property()
1933 newprop->next = NULL; in __of_update_property()
1934 *next = newprop; in __of_update_property()
1949 int of_update_property(struct device_node *np, struct property *newprop) in of_update_property() argument
1955 if (!newprop->name) in of_update_property()
1961 rc = __of_update_property(np, newprop, &oldprop); in of_update_property()
1965 __of_update_property_sysfs(np, newprop, oldprop); in of_update_property()
[all …]
Dkobj.c103 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()