HomeSort by: relevance | last modified time | path
    Searched refs:oba_phandle (Results 1 - 25 of 34) sorted by relevancy

1 2

  /src/sys/dev/ofw/
ofbus.c 69 if (!OF_child(oba->oba_phandle))
123 rootbus = oba->oba_phandle == OF_finddevice("/");
132 model_len = OF_getprop(oba->oba_phandle, "model",
134 banner_len = OF_getprop(oba->oba_phandle, "banner-name",
155 if (OF_getprop(oba->oba_phandle, "name", name, sizeof name) > 0) {
165 for (child = OF_child(oba->oba_phandle); child != 0;
174 oba2.oba_phandle = child;
192 for (child = OF_child(oba->oba_phandle); child != 0;
205 oba2.oba_phandle = child;
openfirm.h 57 int oba_phandle; member in struct:ofbus_attach_args
ofrtc.c 108 if ((l = OF_getprop(oba->oba_phandle, "device_type", type,
127 of->sc_phandle = oba->oba_phandle;
ofnet.c 93 if ((l = OF_getprop(oba->oba_phandle, "device_type", type,
116 of->sc_phandle = oba->oba_phandle;
118 if ((l = OF_package_to_path(oba->oba_phandle, path,
123 if (OF_getprop(oba->oba_phandle, "mac-address", myaddr,
  /src/sys/arch/shark/ofw/
com_ofisa_machdep.c 65 if (OF_getprop(aa->oba.oba_phandle, "device_type",
68 OF_getprop(aa->oba.oba_phandle, "name", name,
ofisa_machdep.c 87 if (OF_getprop(oba->oba_phandle, "device_type", type,
90 OF_getprop(oba->oba_phandle, "name", name,
wdc_ofisa_machdep.c 64 if (OF_getprop(aa->oba.oba_phandle, "device_type",
67 OF_getprop(aa->oba.oba_phandle, "name", name,
ofisascr.c 71 if ( OF_getprop(oba->oba_phandle, "device_type", type,
73 OF_getprop(oba->oba_phandle, "name", name, sizeof(name)) < 0 ||
105 ia.ia_aux = (void *)oba->oba_phandle;
if_cs_ofisa_machdep.c 81 if (OF_getprop(aa->oba.oba_phandle, "device_type", type,
83 OF_getprop(aa->oba.oba_phandle, "name", name,
88 if (OF_getprop(aa->oba.oba_phandle, "model", model,
93 if (OF_getprop(aa->oba.oba_phandle, "compatible", compatible,
161 if (OF_getproplen(aa->oba.oba_phandle, "no-dma") >= 0)
cpu_ofbus.c 27 if (OF_getprop(aa->oba_phandle, "device_type", buf, sizeof(buf)) < 0)
lpt_ofisa_machdep.c 66 if (OF_getprop(aa->oba.oba_phandle, "device_type",
69 OF_getprop(aa->oba.oba_phandle, "name", name,
chipsfb_ofbus.c 162 return of_compatible_match(oba->oba_phandle, compat_data) * 10;
189 if (OF_getprop(oba->oba_phandle, "width", &width, sizeof(width)) == 4) {
193 if (OF_getprop(oba->oba_phandle, "height", &height, sizeof(height))
198 if (OF_getprop(oba->oba_phandle, "depth", &depth, sizeof(depth)) == 4) {
202 if (OF_getprop(oba->oba_phandle, "linebytes", &linebytes,
207 isconsole = chipsfb_ofbus_is_console(oba->oba_phandle);
ofrom.c 97 return of_compatible_match(oba->oba_phandle, compat_data) * 5;
108 if (OF_getproplen(oba->oba_phandle, "reg") != 8) {
112 if (OF_getprop(oba->oba_phandle, "reg", regbuf, sizeof regbuf) != 8) {
vga_ofbus.c 90 if (!of_compatible_match(oba->oba_phandle, compat_data))
110 osc->sc_phandle = oba->oba_phandle;
  /src/sys/dev/ofisa/
ess_ofisa.c 72 return of_compatible_match(aa->oba.oba_phandle, compat_data) ? 10 : 0;
98 n = ofisa_reg_get(aa->oba.oba_phandle, &reg, 1);
113 n = ofisa_intr_get(aa->oba.oba_phandle, intr, 2);
129 ndrq = ofisa_dma_get(aa->oba.oba_phandle, dma, 2);
159 ofisa_print_model(self, aa->oba.oba_phandle);
joy_ofisa.c 71 return of_compatible_match(aa->oba.oba_phandle, compat_data);
92 n = ofisa_reg_get(aa->oba.oba_phandle, &reg, 1);
115 ofisa_print_model(NULL, aa->oba.oba_phandle);
com_ofisa.c 82 rv = of_compatible_match(aa->oba.oba_phandle, compat_data) ? 5 : 0;
114 n = ofisa_reg_get(aa->oba.oba_phandle, &reg, 1);
128 n = ofisa_intr_get(aa->oba.oba_phandle, &intr, 1);
137 if (OF_getproplen(aa->oba.oba_phandle, "clock-frequency") != 4 ||
138 OF_getprop(aa->oba.oba_phandle, "clock-frequency", freqbuf,
sb_ofisa.c 78 return of_compatible_match(aa->oba.oba_phandle, compat_data) ? 1 : 0;
104 n = ofisa_reg_get(aa->oba.oba_phandle, &reg, 1);
119 n = ofisa_intr_get(aa->oba.oba_phandle, &intr, 1);
125 ndrq = ofisa_dma_get(aa->oba.oba_phandle, dma, 2);
179 ofisa_print_model(self, aa->oba.oba_phandle);
if_cs_ofisa.c 82 rv = of_compatible_match(aa->oba.oba_phandle, compat_data) ? 5 : 0;
123 n = ofisa_reg_get(aa->oba.oba_phandle, reg, 2);
158 n = ofisa_intr_get(aa->oba.oba_phandle, &intr, 1);
174 n = ofisa_dma_get(aa->oba.oba_phandle, &dma, 1);
202 if (OF_getprop(aa->oba.oba_phandle, "mac-address", enaddr,
209 media = of_network_decode_media(aa->oba.oba_phandle, &nmedia,
220 ofisa_print_model(NULL, aa->oba.oba_phandle);
lpt_ofisa.c 82 rv = of_compatible_match(aa->oba.oba_phandle, compat_data) ? 5 : 0;
109 n = ofisa_reg_get(aa->oba.oba_phandle, &reg, 1);
123 n = ofisa_intr_get(aa->oba.oba_phandle, &intr, 1);
pckbc_ofisa.c 83 return of_compatible_match(aa->oba.oba_phandle, compat_data) ? 5 : 0;
104 phandle = OF_child(aa->oba.oba_phandle);
122 n = ofisa_reg_get(aa->oba.oba_phandle, regs, 2);
wdc_ofisa.c 84 rv = of_compatible_match(aa->oba.oba_phandle, compat_data) ? 5 : 0;
113 n = ofisa_reg_get(aa->oba.oba_phandle, reg, 2);
127 n = ofisa_intr_get(aa->oba.oba_phandle, &intr, 1);
ofisa.c 73 (void)of_packagename(oba->oba_phandle, name, sizeof name);
92 rv = of_compatible_match(oba->oba_phandle, compat_data) ? 5 : 0;
116 if (ofisa_get_isabus_data(oba->oba_phandle, &iba) < 0) {
131 for (child = OF_child(oba->oba_phandle); child;
133 if (ofisa_ignore_child(oba->oba_phandle, child))
139 aa.oba.oba_phandle = child;
atppc_ofisa.c 91 rv = of_compatible_match(aa->oba.oba_phandle, compat_data) ? 5 : 0;
115 n = ofisa_reg_get(aa->oba.oba_phandle, &reg, 1);
125 n = ofisa_intr_get(aa->oba.oba_phandle, &intr, 1);
135 if (ofisa_dma_get(aa->oba.oba_phandle, &dma, 1) != 1) {
mcclock_ofisa.c 113 rv = of_compatible_match(aa->oba.oba_phandle, compat_data) ? 5 : 0;
133 n = ofisa_reg_get(aa->oba.oba_phandle, &reg, 1);

Completed in 17 milliseconds

1 2