Home
last modified time | relevance | path

Searched refs:parseword (Results 1 – 2 of 2) sorted by relevance

/openbsd/sys/dev/ic/
H A Dsti.c150 #define parseword(o) \ macro
241 dd->dd_grid[0] = parseword(0x10); in sti_rom_setup()
242 dd->dd_grid[1] = parseword(0x20); in sti_rom_setup()
243 dd->dd_fntaddr = parseword(0x30) & ~3; in sti_rom_setup()
244 dd->dd_maxst = parseword(0x40); in sti_rom_setup()
251 dd->dd_stimemreq = parseword(0xa0); in sti_rom_setup()
252 dd->dd_udsize = parseword(0xb0); in sti_rom_setup()
646 m[0] = parseword(4 * offs); in sti_screen_setup()
647 m[1] = parseword(4 * (offs + 4)); in sti_screen_setup()
856 romend = parseword(0x50); in sti_rom_size()
[all …]
/openbsd/usr.sbin/bgpctl/
H A Dparser.c1051 char *dot, *parseword; in parse_asnum() local
1060 parseword = strdup(word); in parse_asnum()
1061 if ((dot = strchr(parseword, '.')) != NULL) { in parse_asnum()
1063 uvalh = strtonum(parseword, 0, USHRT_MAX, &errstr); in parse_asnum()
1070 uval = strtonum(parseword, 0, UINT_MAX, &errstr); in parse_asnum()
1075 free(parseword); in parse_asnum()