Home
last modified time | relevance | path

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

1234

/arch/arm/boot/compressed/
Datags_to_fdt.c20 static int setprop(void *fdt, const char *node_path, const char *property, in setprop() argument
26 return fdt_setprop(fdt, offset, property, val_array, size); in setprop()
30 const char *property, const char *string) in setprop_string() argument
35 return fdt_setprop_string(fdt, offset, property, string); in setprop_string()
39 const char *property, uint32_t val) in setprop_cell() argument
44 return fdt_setprop_cell(fdt, offset, property, val); in setprop_cell()
48 const char *property, int *len) in getprop() argument
55 return fdt_getprop(fdt, offset, property, len); in getprop()
/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.h192 int prom_getproplen(phandle thisnode, const char *property);
197 int prom_getproperty(phandle thisnode, const char *property,
201 int prom_getint(phandle node, const char *property);
204 int prom_getintdefault(phandle node, const char *property, int defval);
232 int prom_node_has_property(phandle node, const char *property);
Doplib_32.h124 int prom_getproplen(phandle thisnode, const char *property);
129 int __must_check prom_getproperty(phandle thisnode, const char *property,
133 int prom_getint(phandle node, char *property);
136 int prom_getintdefault(phandle node, char *property, int defval);
/arch/powerpc/platforms/pseries/
Ddlpar.c35 void dlpar_free_cc_property(struct property *prop) in dlpar_free_cc_property()
42 static struct property *dlpar_parse_cc_property(struct cc_workarea *ccwa) in dlpar_parse_cc_property()
44 struct property *prop; in dlpar_parse_cc_property()
97 struct property *prop; in dlpar_free_one_cc_node()
135 struct property *property; in dlpar_configure_connector() local
136 struct property *last_property = NULL; in dlpar_configure_connector()
203 property = dlpar_parse_cc_property(ccwa); in dlpar_configure_connector()
204 if (!property) in dlpar_configure_connector()
208 last_dn->properties = property; in dlpar_configure_connector()
210 last_property->next = property; in dlpar_configure_connector()
[all …]
Dreconfig.c57 static int pSeries_reconfig_add_node(const char *path, struct property *proplist) in pSeries_reconfig_add_node()
124 static void release_prop_list(const struct property *prop) in release_prop_list()
126 struct property *next; in release_prop_list()
202 static struct property *new_property(const char *name, const int length, in new_property()
203 const unsigned char *value, struct property *last) in new_property()
205 struct property *new = kzalloc(sizeof(*new), GFP_KERNEL); in new_property()
232 struct property *prop = NULL; in do_add_node()
252 struct property *last = prop; in do_add_node()
308 struct property *prop = NULL; in do_add_property()
335 struct property *prop; in do_remove_property()
[all …]
Dpseries.h58 extern void dlpar_free_cc_property(struct property *);
Dmobility.c70 static int update_dt_property(struct device_node *dn, struct property **prop, in update_dt_property()
73 struct property *new_prop = *prop; in update_dt_property()
134 struct property *prop = NULL; in update_dt_node()
/arch/powerpc/kernel/
Dmachine_kexec.c203 static struct property kernel_end_prop = {
209 static struct property crashk_base_prop = {
215 static struct property crashk_size_prop = {
221 static struct property memory_limit_prop = {
231 struct property *prop; in export_crashk_values()
261 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.c374 static struct property htab_base_prop = {
380 static struct property htab_size_prop = {
389 struct property *prop; in export_htab_values()
/arch/arm/mach-omap2/
Dtimer.c138 static struct property device_disabled = {
166 const char *property) in omap_get_timer_dt() argument
174 if (property && !of_get_property(np, property, NULL)) in omap_get_timer_dt()
177 if (!property && (of_get_property(np, "ti,timer-alwon", NULL) || in omap_get_timer_dt()
228 const char *property, in omap_dm_timer_init_one() argument
241 np = omap_get_timer_dt(omap_timer_match, property); in omap_dm_timer_init_one()
329 const char *property) in omap2_gp_clockevent_init() argument
343 res = omap_dm_timer_init_one(&clkev, fck_source, property, in omap2_gp_clockevent_init()
459 const char *property) in omap2_gptimer_clocksource_init() argument
466 res = omap_dm_timer_init_one(&clksrc, fck_source, property, in omap2_gptimer_clocksource_init()
/arch/sparc/kernel/
Dprom_64.c76 struct property *rprop; in sun4v_path_component()
117 struct property *prop; in sun4u_path_component()
152 struct property *prop; in sbus_path_component()
169 struct property *prop; in pci_path_component()
194 struct property *prop; in upa_path_component()
215 struct property *prop; in vdev_path_component()
231 struct property *prop; in ebus_path_component()
248 struct property *prop; in i2c_path_component()
267 struct property *prop; in usb_path_component()
288 struct property *prop; in ieee1394_path_component()
[all …]
Dprom_common.c40 struct property *prop; in of_getintprop_default()
56 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/mach-mvebu/
Dboard-v7.c113 struct property *new_compat; in i2c_quirk()
146 struct property *prop; in thermal_quirk()
Dcoherency.c131 struct property *xor_status; in armada_375_coherency_init_wa()
149 xor_status = kzalloc(sizeof(struct property), GFP_KERNEL); in armada_375_coherency_init_wa()
353 struct property *p; in armada_375_380_coherency_init()
/arch/xtensa/platforms/xtfpga/
Dsetup.c87 struct property *newfreq; in update_clock_frequency()
111 struct property *newmac; in update_local_mac()
/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/openrisc/boot/dts/
Dor1ksim.dts30 * property.
/arch/parisc/math-emu/
DREADME10 in any way. This copy of this snapshot is no longer the property
/arch/m68k/sun3x/
Dprom.c132 int prom_getintdefault(int node, char *property, int deflt) in prom_getintdefault() argument
/arch/arm/boot/dts/
Dkirkwood-ns2-common.dtsi87 /* overwrite reg property in board file */
/arch/mips/lantiq/xway/
Dxrx200_phy_fw.c60 struct property *pp; in xway_phy_fw_probe()

1234