Home
last modified time | relevance | path

Searched refs:sa_node (Results 1 – 25 of 41) sorted by relevance

12

/netbsd-src/sys/dev/sbus/
H A Dgenfb_sbus.c77 if (prom_getpropint(sa->sa_node, "address", -1) == -1) in genfb_match_sbus()
79 if (strcmp("display", prom_getpropstring(sa->sa_node, "device_type")) in genfb_match_sbus()
100 int node = sa->sa_node; in genfb_attach_sbus()
110 sc->sc_gen.sc_width = prom_getpropint(sa->sa_node, "width", 1152); in genfb_attach_sbus()
111 sc->sc_gen.sc_height = prom_getpropint(sa->sa_node, "height", 900); in genfb_attach_sbus()
112 sc->sc_gen.sc_depth = prom_getpropint(sa->sa_node, "depth", 8); in genfb_attach_sbus()
113 sc->sc_gen.sc_stride = prom_getpropint(sa->sa_node, "linebytes", in genfb_attach_sbus()
116 fbva = (uint32_t)prom_getpropint(sa->sa_node, "address", 0); in genfb_attach_sbus()
133 sa->sa_node, 0, 0xa0, 0xa0, 0); in genfb_attach_sbus()
H A Dif_gem_sbus.c125 prom_getether(sa->sa_node, enaddr); in gemattach_sbus()
127 if (!strcmp("serdes", prom_getpropstring(sa->sa_node, "shared-pins"))) in gemattach_sbus()
143 sa->sa_name, prom_getpropstring(sa->sa_node, "version"), in gemattach_sbus()
H A Dsio16.c188 mode = prom_getpropstring(sa->sa_node, "mode"); in sio16_attach()
193 sc->sc_clk = prom_getpropint(sa->sa_node, "clk", 24000); in sio16_attach()
195 model = prom_getpropstring(sa->sa_node, "model"); in sio16_attach()
H A Desp_sbus.c168 sc->sc_id = prom_getpropint(sa->sa_node, "initiator-id", 7); in espattach_sbus()
169 sc->sc_freq = prom_getpropint(sa->sa_node, "clock-frequency", -1); in espattach_sbus()
232 burst = prom_getpropint(sa->sa_node, "burst-sizes", -1); in espattach_sbus()
358 sc->sc_id = prom_getpropint(sa->sa_node, "initiator-id", 7); in espattach_dma()
359 sc->sc_freq = prom_getpropint(sa->sa_node, "clock-frequency", -1); in espattach_dma()
H A Dif_le_lebuffer.c170 sc->sc_conf3 = prom_getpropint(sa->sa_node, "busmaster-regval", in leattach_lebuffer()
177 prom_getether(sa->sa_node, sc->sc_enaddr); in leattach_lebuffer()
H A Ddma_sbus.c136 node = sa->sa_node; in dmaattach_sbus()
210 for (node = firstchild(sa->sa_node); node; node = nextsibling(node)) { in dmaattach_sbus()
H A Dcgtwelve.c155 int node = sa->sa_node; in cgtwelve_attach()
165 sc->sc_width = prom_getpropint(sa->sa_node, "width", 1152); in cgtwelve_attach()
166 sc->sc_height = prom_getpropint(sa->sa_node, "height", 900); in cgtwelve_attach()
174 sc->sc_fbaddr = (void *)prom_getpropint(sa->sa_node, "address", 0); in cgtwelve_attach()
H A Dif_le.c208 sc->sc_conf3 = prom_getpropint(sa->sa_node, in leattach_sbus()
264 prom_getether(sa->sa_node, sc->sc_enaddr); in leattach_sbus()
H A Dsbusvar.h54 int sa_node; /* PROM handle */ member
H A Dxbox.c125 int node = sa->sa_node; in xbox_attach()
H A Disp_sbus.c148 sbc->sbus_node = sa->sa_node; in isp_sbus_attach()
150 freq = prom_getpropint(sa->sa_node, "clock-frequency", 0); in isp_sbus_attach()
168 ispburst = prom_getpropint(sa->sa_node, "burst-sizes", -1); in isp_sbus_attach()
H A Dlebuffer.c102 node = sc->sc_node = sa->sa_node; in lebufattach()
H A Dcgthree_sbus.c136 int node = sa->sa_node; in cgthreeattach_sbus()
H A Dbwtwo_sbus.c143 node = sa->sa_node; in bwtwoattach_sbus()
H A Dif_hme_sbus.c92 node = sa->sa_node; in hmeattach_sbus()
H A Dzx.c266 fb->fb_linebytes = prom_getpropint(sa->sa_node, "linebytes", 8192); in zx_attach()
268 width = prom_getpropint(sa->sa_node, "width", 1280); in zx_attach()
269 height = prom_getpropint(sa->sa_node, "height", 1024); in zx_attach()
270 fb_setsize_obp(fb, 32, width, height, sa->sa_node); in zx_attach()
278 isconsole = fb_is_console(sa->sa_node); in zx_attach()
H A Dmagma.c340 prom_getpropstring(sa->sa_node, "magma_prom"))); in magma_match()
342 prom_getpropstring(sa->sa_node, "intlevels"))); in magma_match()
344 prom_getpropstring(sa->sa_node, "chiprev"))); in magma_match()
346 prom_getpropstring(sa->sa_node, "clock"))); in magma_match()
363 node = sa->sa_node; in magma_attach()
H A Dcgsix_sbus.c102 node = sa->sa_node; in cgsixattach()
H A Dmgx.c260 int node = sa->sa_node, bsize; in mgx_attach()
273 sc->sc_width = prom_getpropint(sa->sa_node, "width", 1152); in mgx_attach()
274 sc->sc_height = prom_getpropint(sa->sa_node, "height", 900); in mgx_attach()
275 sc->sc_stride = prom_getpropint(sa->sa_node, "linebytes", 1152); in mgx_attach()
276 sc->sc_fbsize = prom_getpropint(sa->sa_node, "fb_size", 0x00400000); in mgx_attach()
H A Dif_le_ledma.c390 prom_getether(sa->sa_node, sc->sc_enaddr); in leattach_ledma()
/netbsd-src/sys/arch/sparc/dev/
H A Dzs.c294 if (prom_getpropint(sa->sa_node, "pwr-on-auxio2", 0)) { in zs_attach_obio()
305 zsc->zsc_promunit = prom_getpropint(sa->sa_node, "slave", -2); in zs_attach_obio()
306 zsc->zsc_node = sa->sa_node; in zs_attach_obio()
H A Dcom_obio.c189 if (prom_instance_to_package(prom_stdin()) == sa->sa_node) in com_obio_attach()
/netbsd-src/sys/arch/sparc64/dev/
H A Dmkclock.c188 mkclock_attach(sc, sa->sa_node); in mkclock_sbus_attach()
H A Dzs.c262 zsc->zsc_promunit = prom_getpropint(sa->sa_node, "slave", -2); in zs_attach_sbus()
263 zsc->zsc_node = sa->sa_node; in zs_attach_sbus()
/netbsd-src/sys/arch/sparc/sparc/
H A Dmkclock.c176 node = sa->sa_node; in clockattach_obio()

12