Searched refs:GET32 (Results 1 – 8 of 8) sorted by relevance
| /netbsd-src/external/mpl/bind/dist/lib/isccc/include/isccc/ |
| H A D | util.h | 66 #define GET32(v, w) \ macro 104 GET32(v, w); \ 108 #define GET_OFFSET(v, w) GET32(v, w) 123 GET32(v, w); \
|
| /netbsd-src/sys/dev/pci/ |
| H A D | radeonfb.c | 205 #define PRINTREG(r) DPRINTF((#r " = %08x\n", GET32(sc, r))) 585 sc->sc_fp_gen_cntl = GET32(sc, RADEON_FP_GEN_CNTL); in radeonfb_attach() 755 v = GET32(sc, RADEON_DAC_CNTL); in radeonfb_attach() 1594 saved = GET32(sc, reg); in radeonfb_scratch_test() 1596 if (GET32(sc, reg) != v) { in radeonfb_scratch_test() 2303 if (GET32(sc, AVIVO_D1CRTC_CONTROL) & AVIVO_CRTC_EN) { in radeonfb_modeswitch() 2305 dp->rd_stride = GET32(sc, AVIVO_D1GRPH_PITCH); in radeonfb_modeswitch() 2308 if (GET32(sc, AVIVO_D2CRTC_CONTROL) & AVIVO_CRTC_EN) { in radeonfb_modeswitch() 2310 dp->rd_stride = GET32(sc, AVIVO_D2GRPH_PITCH); in radeonfb_modeswitch() 2455 v = GET32(sc, RADEON_CRTC_EXT_CNTL); in radeonfb_setcrtc() [all …]
|
| H A D | radeonfbvar.h | 324 #define GET32(sc, r) radeonfb_get32(sc, r) macro 327 #define SET32(sc, r, v) PUT32(sc, r, GET32(sc, r) | (v)) 328 #define CLR32(sc, r, v) PUT32(sc, r, GET32(sc, r) & ~(v)) 329 #define PATCH32(sc, r, v, m) PUT32(sc, r, (GET32(sc, r) & (m)) | (v))
|
| H A D | radeonfb_i2c.c | 98 return (GET32(sc, ric->ric_register) >> RADEON_GPIO_Y_SHIFT_0); in radeonfb_i2cbb_read() 138 if (GET32(sc, ric->ric_register) & RADEON_GPIO_SW_USE) in radeonfb_i2c_acquire_bus()
|
| /netbsd-src/sys/arch/evbmips/alchemy/ |
| H A D | dbau1550.c | 64 #define GET32(x) \ macro 151 sysclk = GET32(SYS_CLKSRC); in dbau1550_init() 159 pinfunc = GET32(SYS_PINFUNC); in dbau1550_init()
|
| /netbsd-src/usr.bin/midiplay/ |
| H A D | midiplay.c | 152 #define GET32(p) (((p)[0] << 24) | ((p)[1] << 16) | ((p)[2] << 8) | (p)[3]) macro 475 if (GET32(buf + MARK_LEN) != HEADER_LEN) { in playdata() 540 len = GET32(p + MARK_LEN); in playdata()
|
| /netbsd-src/external/bsd/libevent/dist/ |
| H A D | evdns.c | 985 #define GET32(x) do { if (j + 4 > length) goto err; memcpy(&t32_, packet + j, 4); j += 4; x = ntohl… in name_parse() macro 1126 GET32(ttl); in reply_parse() 1198 GET32(ttl); in reply_parse() 1204 GET32(serial); in reply_parse() 1205 GET32(refresh); in reply_parse() 1206 GET32(retry); in reply_parse() 1207 GET32(expire); in reply_parse() 1208 GET32(minimum); in reply_parse() 1319 #undef GET32 in request_parse()
|
| /netbsd-src/external/mpl/bind/dist/lib/isccc/ |
| H A D | cc.c | 515 GET32(len, source->rstart); in value_fromwire() 650 GET32(version, source->rstart); in isccc_cc_fromwire()
|