Home
last modified time | relevance | path

Searched refs:getpropint (Results 1 – 25 of 38) sorted by relevance

12

/openbsd/sys/arch/sparc64/sparc64/
H A Dcpu.c132 portid = getpropint(ma->ma_node, "portid", -1); in alloc_cpuinfo()
134 portid = getpropint(ma->ma_node, "cpuid", -1); in alloc_cpuinfo()
217 portid = getpropint(ma->ma_node, "cpuid", -1); in cpu_match()
264 clk = getpropint(node, "clock-frequency", 0); in cpu_attach()
284 l = getpropint(node, "icache-line-size", 0); in cpu_attach()
297 getpropint(node, "icache-nlines", 64) * in cpu_attach()
300 l = getpropint(node, "dcache-line-size", 0); in cpu_attach()
313 getpropint(node, "dcache-nlines", 128) * in cpu_attach()
316 l = getpropint(node, "ecache-line-size", 0); in cpu_attach()
318 l = getpropint(node, "l2-cache-line-size", 0); in cpu_attach()
[all …]
/openbsd/sys/dev/sbus/
H A Dagten.c168 (off_t)getpropint(node, "i128_fb_physaddr", 0x8000000); in agtenattach()
171 getpropint(node, "i128_fb_size", 0x400000), BUS_SPACE_MAP_LINEAR, in agtenattach()
178 getpropint(node, "p9100_reg_physaddr", 0x10a0000), 0x4000, in agtenattach()
196 sc->sc_sunfb.sf_depth = getpropint(node, "ffb_depth", 8); in agtenattach()
198 sc->sc_sunfb.sf_width = getpropint(node, "ffb_width", 1152); in agtenattach()
199 sc->sc_sunfb.sf_height = getpropint(node, "ffb_height", 900); in agtenattach()
H A Dqlw_sbus.c101 burst = getpropint(sa->sa_node, "burst-sizes", -1); in qlw_sbus_attach()
123 freq = getpropint(sa->sa_node, "clock-frequency", 40000000); in qlw_sbus_attach()
137 sc->sc_initiator[0] = getpropint(sa->sa_node, "scsi-initiator-id", 6); in qlw_sbus_attach()
H A Desp_sbus.c156 sc->sc_id = getpropint(sa->sa_node, "initiator-id", 7); in espattach_sbus()
157 sc->sc_freq = getpropint(sa->sa_node, "clock-frequency", -1); in espattach_sbus()
218 burst = getpropint(sa->sa_node, "burst-sizes", -1); in espattach_sbus()
341 sc->sc_id = getpropint(sa->sa_node, "initiator-id", 7); in espattach_dma()
342 sc->sc_freq = getpropint(sa->sa_node, "clock-frequency", -1); in espattach_dma()
H A Dtvtwo.c243 width = getpropint(node, "hres", width); in tvtwoattach()
244 height = getpropint(node, "vres", height); in tvtwoattach()
H A Dlebuffer.c117 sc->sc_burst = getpropint(node, "burst-sizes", -1); in lebufattach()
H A Dqec.c145 sc->sc_nchannels = getpropint(node, "#channels", -1); in qecattach()
158 sc->sc_burst = getpropint(node, "burst-sizes", -1); in qecattach()
H A Dif_hme_sbus.c160 burst = getpropint(sa->sa_node, "burst-sizes", -1); in hmeattach_sbus()
H A Dxbox.c93 sc->sc_key = getpropint(node, "write0-key", -1); in xboxattach()
H A Dif_le_lebuffer.c172 sc->sc_conf3 = getpropint(sa->sa_node, "busmaster-regval", in leattach_lebuffer()
H A Ddma_sbus.c183 burst = getpropint(node,"burst-sizes", -1); in dmaattach_sbus()
H A Dif_le.c185 sc->sc_conf3 = getpropint(sa->sa_node, in leattach_sbus()
/openbsd/sys/arch/sparc64/dev/
H A Dcom_ebus.c182 port = getpropint(node, "tty-port#", -1); in com_ebus_attach()
184 com_is_input = (getpropint(node, "board#", -2) == port); in com_ebus_attach()
191 port = getpropint(node, "tty-port#", -1); in com_ebus_attach()
193 com_is_output = (getpropint(node, "board#", -2) == port); in com_ebus_attach()
H A Dfb.c138 sf->sf_depth = getpropint(node, "depth", in fb_setsize()
139 getpropint(node, "depth ", def_depth)); in fb_setsize()
140 sf->sf_width = getpropint(node, "width", def_width); in fb_setsize()
141 sf->sf_height = getpropint(node, "height", def_height); in fb_setsize()
145 sf->sf_linebytes = getpropint(node, "linebytes", def_linebytes); in fb_setsize()
H A Dvbus.c149 address_cells = getpropint(parent, "#address-cells", 2); in vbus_intr_map()
150 interrupt_cells = getpropint(parent, "#interrupt-cells", 1); in vbus_intr_map()
H A Dssm.c73 nma.ma_upaid = getpropint(node, "portid", -1); in ssm_attach()
H A Dfhc_mainbus.c105 sc->sc_board = getpropint(sc->sc_node, "board#", -1); in fhc_mainbus_attach()
H A Dsbus.c281 sc->sc_clockfreq = getpropint(node, "clock-frequency", 25*1000*1000); in sbus_xbox_attach()
318 sc->sc_clockfreq = getpropint(node, "clock-frequency", 25*1000*1000); in sbus_mb_attach()
410 sc->sc_burst = getpropint(node, "burst-sizes", 0); in sbus_attach_common()
H A Dzs.c231 zsc->zsc_promunit = getpropint(sa->sa_node, "slave", -2); in zs_attach_sbus()
282 zsc->zsc_promunit = getpropint(fa->fa_node, "slave", -2); in zs_attach_fhc()
H A Dpcons.c664 pcons_stdscreen.nrows = getpropint(options, "screen-#rows", 34); in pcons_wsdisplay_init()
665 pcons_stdscreen.ncols = getpropint(options, "screen-#columns", 80); in pcons_wsdisplay_init()
H A Dpcfiic_ebus.c108 int clk = getpropint(findroot(), "clock-frequency", 0); in pcfiic_ebus_attach()
H A Dbeep.c128 sc->sc_clk = getpropint(findroot(), "clock-frequency", 0); in beep_attach()
H A Dvpci.c266 num_eq = min(ncpus, getpropint(sc->sc_node, "#msi-eqs", 36)); in vpci_init_msi()
276 msis = getpropint(sc->sc_node, "#msi", 256); in vpci_init_msi()
282 msi_eq_size = getpropint(sc->sc_node, "msi-eq-size", 256); in vpci_init_msi()
H A Dpyro.c247 getpropint(sc->sc_node, "module-revision#", 0), sc->sc_ign, in pyro_init()
356 msis = getpropint(sc->sc_node, "#msi", 256); in pyro_init_msi()
362 msi_eq_size = getpropint(sc->sc_node, "msi-eq-size", 256); in pyro_init_msi()
/openbsd/sys/arch/sparc64/include/
H A Dautoconf.h124 int getpropint(int node, char *name, int deflt);

12