Home
last modified time | relevance | path

Searched refs:of_decode_int (Results 1 – 16 of 16) sorted by relevance

/netbsd-src/sys/dev/ofisa/
H A Dofisa.c188 if (of_decode_int(&bp[0]) & 1) in ofisa_reg_get()
192 descp[i].addr = of_decode_int(&bp[4]); in ofisa_reg_get()
193 descp[i].len = of_decode_int(&bp[8]); in ofisa_reg_get()
258 descp[i].irq = of_decode_int(&bp[0]); in ofisa_intr_get()
259 switch (of_decode_int(&bp[4])) { in ofisa_intr_get()
272 of_decode_int(&bp[4])); in ofisa_intr_get()
340 descp[i].drq = of_decode_int(&bp[0]); in ofisa_dma_get()
341 descp[i].mode = of_decode_int(&bp[4]); in ofisa_dma_get()
342 descp[i].width = of_decode_int(&bp[8]); in ofisa_dma_get()
343 descp[i].countwidth = of_decode_int(&bp[12]); in ofisa_dma_get()
[all …]
H A Dcom_ofisa.c142 freq = of_decode_int(&freqbuf[0]); in com_ofisa_attach()
/netbsd-src/sys/arch/shark/ofw/
H A Dofw.c573 of_decode_int((unsigned char *)&vclean))) == -1) in ofw_getcleaninfo()
610 hi = of_decode_int((unsigned char *) in ofw_configisaonly()
612 start = of_decode_int((unsigned char *) in ofw_configisaonly()
660 hi = of_decode_int((unsigned char *) in ofw_configvl()
662 start = of_decode_int((unsigned char *) in ofw_configvl()
710 dr->start = of_decode_int((unsigned char *)&dr->start); in ofw_configisadma()
711 dr->size = of_decode_int((unsigned char *)&dr->size); in ofw_configisadma()
1490 mp->start = of_decode_int((unsigned char *)&mp->start); in ofw_getphysmeminfo()
1491 mp->size = of_decode_int((unsigned char *)&mp->size); in ofw_getphysmeminfo()
1570 tp->virt = of_decode_int((unsigned char *)&tp->virt); in ofw_getvirttranslations()
[all …]
H A Dofrom.c116 sc->base = of_decode_int(&regbuf[0]); in ofromattach()
117 sc->size = of_decode_int(&regbuf[4]); in ofromattach()
H A Dvga_ofbus.c148 stdout_ihandle = of_decode_int((unsigned char *)&stdout_ihandle); in vga_ofbus_cnattach()
H A Digsfb_ofbus.c136 stdout_ihandle = of_decode_int((void *)&stdout_ihandle); in igsfb_ofbus_cnattach()
H A Dchipsfb_ofbus.c131 stdout_ihandle = of_decode_int((void *)&stdout_ihandle); in chipsfb_ofbus_cnattach()
/netbsd-src/sys/arch/shark/stand/ofwboot/
H A DLocore.c83 return (of_decode_int((unsigned char *)&vclean)); in ofw_getcleaninfo()
113 of_decode_int(const u_char *p) in of_decode_int() function
518 stdin = of_decode_int(buf); in setup()
522 stdout = of_decode_int(buf); in setup()
H A Dopenfirm.h58 int of_decode_int(const u_char *);
/netbsd-src/sys/arch/arm/altera/
H A Dcycv_clkmgr.c271 clk->u.div.addr = of_decode_int(buf); in cycv_clkmgr_clock_parse()
272 clk->u.div.shift = of_decode_int(buf + 4); in cycv_clkmgr_clock_parse()
273 clk->u.div.mask = ((1 << of_decode_int(buf + 8)) - 1) << in cycv_clkmgr_clock_parse()
285 clk->gate_addr = of_decode_int(buf); in cycv_clkmgr_clock_parse()
286 clk->gate_shift = of_decode_int(buf + 4); in cycv_clkmgr_clock_parse()
293 fdtbus_get_phandle_from_native(of_decode_int(buf)); in cycv_clkmgr_clock_parse()
H A Dcycv_rstmgr.c103 value = of_decode_int(data); in cycv_rst_acquire()
/netbsd-src/sys/arch/powerpc/powerpc/
H A Drtas.c114 sc->ra_version = of_decode_int(buf); in rtas_attach()
117 rtas_size = of_decode_int(buf); in rtas_attach()
154 rtas_function_token[index].token = of_decode_int(buf); in rtas_attach()
/netbsd-src/usr.sbin/ofctl/
H A Dofctl.c480 of_decode_int(const u_int8_t *p) in of_decode_int() function
642 address_cells = of_decode_int(address_cells_buf); in ofname()
644 reg[len] = of_decode_int(&reg_buf[len * 4]); in ofname()
795 u_int32_t freq = of_decode_int(buf); in frequency_format()
827 u_int32_t freq = of_decode_int(buf); in size_format()
/netbsd-src/sys/dev/ofw/
H A Dopenfirm.h120 int of_decode_int(const unsigned char *);
H A Dofcons.c283 stdin = of_decode_int(stdinbuf); in ofcons_probe()
284 stdout = of_decode_int(stdoutbuf); in ofcons_probe()
H A Dofw_subr.c165 of_decode_int(const unsigned char *p) in OF_DEVICE_CALL_REGISTER()