Searched refs:prop (Results 1 - 25 of 32) sorted by relevance

12

/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/sparc/prom/
H A Dsun4prom.c69 struct property *prop = &nodes[node].properties[0]; local
70 while (prop && prop->name) {
71 if (strcmp(prop->name,name) == 0) return prop;
72 prop++;
79 struct property *prop = find_property(node,name); local
80 if (prop) return prop->length;
86 struct property *prop local
101 struct property *prop = find_property(node,name); local
[all...]
H A Dtree.c85 /* Return the length in bytes of property 'prop' at node 'node'.
88 int prom_getproplen(int node, char *prop) argument
93 if((!node) || (!prop))
97 ret = prom_nodeops->no_proplen(node, prop);
103 /* Acquire a property 'prop' at node 'node' and place it in
107 int prom_getproperty(int node, char *prop, char *buffer, int bufsize) argument
112 plen = prom_getproplen(node, prop);
117 ret = prom_nodeops->no_getprop(node, prop, buffer);
126 int prom_getint(int node, char *prop) argument
130 if(prom_getproperty(node, prop, (cha
150 prom_getbool(int node, char *prop) argument
163 prom_getstring(int node, char *prop, char *user_buf, int ubuf_size) argument
227 char *prop; local
306 prom_node_has_property(int node, char *prop) argument
[all...]
/asus-wl-520gu-7.0.1.45/src/router/config/
H A Dmenu.c79 struct property *prop; local
81 prop = malloc(sizeof(*prop));
82 memset(prop, 0, sizeof(*prop));
83 prop->type = type;
84 prop->file = current_file;
85 prop->lineno = zconf_lineno();
87 return prop;
92 struct property *prop local
128 struct property *prop; local
[all...]
H A Dsymbol.c37 struct property *prop = create_prop(P_DEFAULT); local
40 prop->sym = sym;
41 prop->def = sym_lookup(def, 1);
43 /* append property to the prop list of symbol */
44 if (prop->sym) {
45 for (propp = &prop->sym->prop; *propp; propp = &(*propp)->next)
47 *propp = prop;
117 struct property *prop; local
119 for_all_choices(sym, prop)
126 struct property *prop; local
139 struct property *prop; local
156 struct property *prop, *def_prop; local
343 struct property *prop = sym_get_choice_prop(sym); local
[all...]
H A Dzconf.y233 //current_choice->prop->def = $2;
505 struct property *prop;
533 for (prop = sym->prop; prop; prop = prop->next) {
534 if (prop->menu != menu)
536 switch (prop->type) {
539 print_quoted_string(out, prop
[all...]
H A Dconfdata.c66 struct property *prop; local
179 prop = sym_get_choice_prop(sym);
182 if (S_TRI(prop->def->def) == yes)
186 if (S_TRI(prop->def->def) != no)
188 S_VAL(prop->def->def) = sym;
193 S_TRI(prop->def->def) = S_TRI(sym->def);
205 prop = sym_get_choice_prop(sym);
206 for (e = prop->dep; e; e = e->left.expr)
H A Dconf.c371 struct property *prop; local
378 prop = menu->prompt;
379 if (prop) {
382 switch (prop->type) {
H A Dmconf.c194 struct property *prop; local
204 prop = menu->prompt;
206 if (prop && menu != current_menu) {
208 switch (prop->type) {
H A Dexpr.h94 struct property *prop; member in struct:symbol
156 for (st = sym->prop; st; st = st->next) \
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/ppc/platforms/
H A Dpmac_backlight.c40 char *prop; local
56 prop = get_property(bk_node, "backlight-control", NULL);
57 if (prop && !strncmp(prop, type, strlen(type)))
66 prop = get_property(bk_node, "bklt", NULL);
68 prop = NULL;
69 if (prop) {
70 backlight_level = ((*prop)+1) >> 1;
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/sparc64/prom/
H A Dtree.c68 /* Return the length in bytes of property 'prop' at node 'node'.
72 prom_getproplen(int node, char *prop) argument
74 if((!node) || (!prop)) return -1;
78 node, prop);
81 /* Acquire a property 'prop' at node 'node' and place it in
86 prom_getproperty(int node, char *prop, char *buffer, int bufsize) argument
90 plen = prom_getproplen(node, prop);
99 node, prop, buffer, P1275_SIZE(plen));
107 prom_getint(int node, char *prop) argument
111 if(prom_getproperty(node, prop, (cha
134 prom_getbool(int node, char *prop) argument
148 prom_getstring(int node, char *prop, char *user_buf, int ubuf_size) argument
325 prom_node_has_property(int node, char *prop) argument
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/sparc64/kernel/
H A Dchmc.c151 struct obp_mem_layout *prop; local
165 prop = &bp->mp->layout_prop;
178 if (prop->symmetric)
179 map = &prop->map[0];
181 map = &prop->map[1];
217 prop->dimm_labels[first_dimm + map_val],
227 prop->dimm_labels[first_dimm + dimm]);
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/asm-m68k/
H A Doplib.h233 extern int prom_getbool(int node, char *prop);
236 extern void prom_getstring(int node, char *prop, char *buf, int bufsize);
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/asm-sparc/
H A Doplib.h250 extern int prom_getbool(int node, char *prop);
253 extern void prom_getstring(int node, char *prop, char *buf, int bufsize);
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/asm-m68k/
H A Doplib.h233 extern int prom_getbool(int node, char *prop);
236 extern void prom_getstring(int node, char *prop, char *buf, int bufsize);
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/asm-sparc/
H A Doplib.h250 extern int prom_getbool(int node, char *prop);
253 extern void prom_getstring(int node, char *prop, char *buf, int bufsize);
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/arm/boot/compressed/
H A Dofw-shark.c130 OF_getproplen(ofw_handle_t openfirmware, int handle, char *prop) argument
151 args[4] = (unsigned int)prop;
159 OF_getprop(ofw_handle_t openfirmware, int handle, char *prop, void *buf, unsigned int buflen) argument
177 args[4] = (unsigned int)prop;
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/sbus/char/
H A Dpcikbd.c1302 char prop[128]; local
1309 len = prom_getproperty(prom_root_node, "name", prop, sizeof(prop));
1314 if (strncmp(prop, "SUNW,JavaStation-1", len) == 0) {
1327 len = prom_getproperty(node, "keyboard", prop, sizeof(prop));
1329 prop[len] = 0;
1330 kbnode = prom_finddevice(prop);
1335 len = prom_getproperty(node, "mouse", prop, sizeof(prop));
[all...]
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/asm-sparc64/
H A Doplib.h286 extern int prom_getbool(int node, char *prop);
289 extern void prom_getstring(int node, char *prop, char *buf, int bufsize);
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/asm-sparc64/
H A Doplib.h286 extern int prom_getbool(int node, char *prop);
289 extern void prom_getstring(int node, char *prop, char *buf, int bufsize);
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/m68k/sun3x/
H A Dprom.c149 int prom_getbool (int node, char *prop) argument
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/asm-ppc/
H A Dprom.h85 extern void prom_add_property(struct device_node* np, struct property* prop);
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/asm-ppc/
H A Dprom.h85 extern void prom_add_property(struct device_node* np, struct property* prop);
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/sound/dmasound/
H A Ddmasound_awacs.c2547 __init init_awacs_frame_rates(unsigned int *prop, unsigned int l) argument
2550 if (prop) {
2554 unsigned int r = *prop++;
2570 __init init_tumbler_frame_rates(unsigned int *prop, unsigned int l) argument
2573 if (prop) {
2577 unsigned int r = *prop++;
2593 __init init_burgundy_frame_rates(unsigned int *prop, unsigned int l) argument
2597 if (prop) {
2599 unsigned int r = *prop++;
2619 __init init_daca_frame_rates(unsigned int *prop, unsigne argument
2646 init_frame_rates(unsigned int *prop, unsigned int l) argument
2864 unsigned int *prop, l; local
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/net/
H A Dsunlance.c1380 char prop[6]; local
1394 memset(prop, 0, sizeof(prop));
1396 prop, sizeof(prop));
1397 if (prop[0] == 0) {
1412 memset(prop, 0, sizeof(prop));
1413 prom_getstring(nd, "tpe-link-test?", prop,
1414 sizeof(prop));
[all...]

Completed in 246 milliseconds

12