Home
last modified time | relevance | path

Searched refs:property (Results 1 – 25 of 65) sorted by relevance

123

/arch/arm/boot/compressed/
Datags_to_fdt.c12 static int setprop(void *fdt, const char *node_path, const char *property, in setprop() argument
18 return fdt_setprop(fdt, offset, property, val_array, size); in setprop()
22 const char *property, const char *string) in setprop_string() argument
27 return fdt_setprop_string(fdt, offset, property, string); in setprop_string()
31 const char *property, uint32_t val) in setprop_cell() argument
36 return fdt_setprop_cell(fdt, offset, property, val); in setprop_cell()
/arch/powerpc/platforms/chrp/
Dsetup.c259 const char *property; in chrp_init_early() local
269 property = of_get_property(node, "model", NULL); in chrp_init_early()
270 if (!property) in chrp_init_early()
272 if (strcmp(property, "Pegasos2")) in chrp_init_early()
275 property = of_get_property(of_chosen, "linux,stdout-path", NULL); in chrp_init_early()
276 if (!property) in chrp_init_early()
279 node = of_find_node_by_path(property); in chrp_init_early()
282 property = of_get_property(node, "device_type", NULL); in chrp_init_early()
283 if (!property) in chrp_init_early()
285 if (strcmp(property, "serial")) in chrp_init_early()
[all …]
/arch/m68k/include/asm/
Doplib.h223 extern int prom_getproplen(int thisnode, char *property);
228 extern int prom_getproperty(int thisnode, char *property,
232 extern int prom_getint(int node, char *property);
235 extern int prom_getintdefault(int node, char *property, int defval);
262 extern int prom_node_has_property(int node, char *property);
/arch/sparc/include/asm/
Doplib_64.h191 extern int prom_getproplen(phandle thisnode, const char *property);
196 extern int prom_getproperty(phandle thisnode, const char *property,
200 extern int prom_getint(phandle node, const char *property);
203 extern int prom_getintdefault(phandle node, const char *property, int defval);
231 extern int prom_node_has_property(phandle node, const char *property);
Doplib_32.h132 extern int prom_getproplen(phandle thisnode, const char *property);
137 extern int __must_check prom_getproperty(phandle thisnode, const char *property,
141 extern int prom_getint(phandle node, char *property);
144 extern int prom_getintdefault(phandle node, char *property, int defval);
/arch/powerpc/platforms/pseries/
Ddlpar.c36 void dlpar_free_cc_property(struct property *prop) in dlpar_free_cc_property()
43 static struct property *dlpar_parse_cc_property(struct cc_workarea *ccwa) in dlpar_parse_cc_property()
45 struct property *prop; in dlpar_parse_cc_property()
92 struct property *prop; in dlpar_free_one_cc_node()
129 struct property *property; in dlpar_configure_connector() local
130 struct property *last_property = NULL; in dlpar_configure_connector()
192 property = dlpar_parse_cc_property(ccwa); in dlpar_configure_connector()
193 if (!property) in dlpar_configure_connector()
197 last_dn->properties = property; in dlpar_configure_connector()
199 last_property->next = property; in dlpar_configure_connector()
[all …]
Dreconfig.c46 struct property *pp = np->properties; in remove_node_proc_entries()
120 static int pSeries_reconfig_add_node(const char *path, struct property *proplist) in pSeries_reconfig_add_node()
196 static void release_prop_list(const struct property *prop) in release_prop_list()
198 struct property *next; in release_prop_list()
274 static struct property *new_property(const char *name, const int length, in new_property()
275 const unsigned char *value, struct property *last) in new_property()
277 struct property *new = kzalloc(sizeof(*new), GFP_KERNEL); in new_property()
305 struct property *prop = NULL; in do_add_node()
325 struct property *last = prop; in do_add_node()
381 struct property *prop = NULL; in do_add_property()
[all …]
Dmobility.c66 static int update_dt_property(struct device_node *dn, struct property **prop, in update_dt_property()
69 struct property *new_prop = *prop; in update_dt_property()
70 struct property *old_prop; in update_dt_property()
136 struct property *prop = NULL; in update_dt_node()
Dpseries.h55 extern void dlpar_free_cc_property(struct property *);
/arch/powerpc/kernel/
Dmachine_kexec.c189 static struct property kernel_end_prop = {
195 static struct property crashk_base_prop = {
201 static struct property crashk_size_prop = {
209 struct property *prop; in export_crashk_values()
231 struct property *prop; in kexec_setup()
Dpci_32.c112 struct property *map_prop; in pcibios_make_OF_bus_map()
199 struct property* of_prop; in pci_create_OF_bus_map()
202 of_prop = (struct property*) alloc_bootmem(sizeof(struct property) + 256); in pci_create_OF_bus_map()
207 memset(of_prop, -1, sizeof(struct property) + 256); in pci_create_OF_bus_map()
Dmachine_kexec_64.c369 static struct property htab_base_prop = {
375 static struct property htab_size_prop = {
384 struct property *prop; in export_htab_values()
/arch/sparc/kernel/
Dprom_64.c75 struct property *rprop; in sun4v_path_component()
116 struct property *prop; in sun4u_path_component()
151 struct property *prop; in sbus_path_component()
168 struct property *prop; in pci_path_component()
193 struct property *prop; in upa_path_component()
214 struct property *prop; in vdev_path_component()
230 struct property *prop; in ebus_path_component()
247 struct property *prop; in i2c_path_component()
266 struct property *prop; in usb_path_component()
287 struct property *prop; in ieee1394_path_component()
Dprom_common.c41 struct property *prop; in of_getintprop_default()
57 struct property **prevp; in of_set_property()
71 struct property *prop = *prevp; in of_set_property()
Dprom_32.c64 struct property *rprop; in sparc32_path_component()
80 struct property *prop; in sbus_path_component()
97 struct property *prop; in pci_path_component()
122 struct property *prop; in ebus_path_component()
140 struct property *prop; in ambapp_path_component()
/arch/arm/boot/dts/testcases/
Dtests-phandle.dtsi34 empty-property;
/arch/arm/plat-samsung/include/plat/
Ddma-ops.h35 struct property *dt_dmach_prop;
/arch/openrisc/boot/dts/
Dor1ksim.dts30 * property.
/arch/powerpc/platforms/85xx/
Dp1022_ds.c489 static void __init disable_one_node(struct device_node *np, struct property *new) in disable_one_node()
491 struct property *old; in disable_one_node()
579 static struct property nor_status = { in p1022_ds_setup_arch()
593 static struct property nand_status = { in p1022_ds_setup_arch()
/arch/powerpc/platforms/ps3/
Dos-area.c219 static struct property property_rtc_diff = {
225 static struct property property_av_multi_out = {
276 struct property *prop) in os_area_set_property()
279 struct property *tmp = of_find_property(node, prop->name, NULL); in os_area_set_property()
299 struct property *prop) in os_area_get_property()
301 const struct property *tmp = of_find_property(node, prop->name, NULL); in os_area_get_property()
/arch/powerpc/platforms/wsp/
Dh8.c93 struct property *path; in wsp_h8_getaddr()
/arch/parisc/math-emu/
DREADME10 in any way. This copy of this snapshot is no longer the property
/arch/m68k/sun3x/
Dprom.c133 int prom_getintdefault(int node, char *property, int deflt) in prom_getintdefault() argument
/arch/sparc/prom/
Dtree_32.c143 int prom_getintdefault(phandle node, char *property, int deflt) in prom_getintdefault() argument
147 retval = prom_getint(node, property); in prom_getintdefault()
Dtree_64.c159 int prom_getintdefault(phandle node, const char *property, int deflt) in prom_getintdefault() argument
163 retval = prom_getint(node, property); in prom_getintdefault()

123