Searched refs:GET32 (Results 1 – 7 of 7) sorted by relevance
| /netbsd/src/sys/dev/pci/ |
| 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 …]
|
| 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))
|
| 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/ |
| 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/ |
| 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/ |
| 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/bsd/ntp/dist/sntp/libevent/ |
| D | evdns.c | 983 #define GET32(x) do { if (j + 4 > length) goto err; memcpy(&t32_, packet + j, 4); j += 4; x = ntohl… in name_parse() macro 1124 GET32(ttl); in reply_parse() 1196 GET32(ttl); in reply_parse() 1202 GET32(serial); in reply_parse() 1203 GET32(refresh); in reply_parse() 1204 GET32(retry); in reply_parse() 1205 GET32(expire); in reply_parse() 1206 GET32(minimum); in reply_parse() 1317 #undef GET32 in request_parse()
|