Home
last modified time | relevance | path

Searched refs:NI_PSR (Results 1 – 3 of 3) sorted by relevance

/netbsd-src/sys/dev/bi/
H A Dif_ni.c304 if (failtest(sc, NI_PSR, PSR_STATE, PSR_UNDEF, "not undefined state")) in niattach()
308 NI_WREG(NI_PSR, NI_RREG(NI_PSR) & ~PSR_OWN); in niattach()
317 if (failtest(sc, NI_PSR, PSR_INITED, PSR_INITED, "failed initialize")) in niattach()
320 NI_WREG(NI_PSR, NI_RREG(NI_PSR) & ~PSR_OWN); in niattach()
325 WAITREG(NI_PSR, PSR_OWN); in niattach()
328 if (failtest(sc, NI_PSR, PSR_STATE, PSR_ENABLED, "failed enable")) in niattach()
331 NI_WREG(NI_PSR, NI_RREG(NI_PSR) & ~PSR_OWN); in niattach()
458 WAITREG(NI_PSR, PSR_OWN); in niattach()
580 if ((NI_RREG(NI_PSR) & PSR_STATE) != PSR_ENABLED) in niintr()
583 if ((NI_RREG(NI_PSR) & PSR_ERR)) in niintr()
[all …]
H A Dif_nireg.h69 #define NI_PSR 0x208 macro
/netbsd-src/sys/arch/vax/boot/boot/
H A Dif_ni.c248 if (failtest(NI_PSR, PSR_STATE, PSR_UNDEF, "not undefined state")) in niopen()
252 NI_WREG(NI_PSR, NI_RREG(NI_PSR) & ~PSR_OWN); in niopen()
261 if (failtest(NI_PSR, PSR_INITED, PSR_INITED, "failed initialize")) in niopen()
264 NI_WREG(NI_PSR, NI_RREG(NI_PSR) & ~PSR_OWN); in niopen()
268 WAITREG(NI_PSR, PSR_OWN); in niopen()
271 if (failtest(NI_PSR, PSR_STATE, PSR_ENABLED, "failed enable")) in niopen()
274 NI_WREG(NI_PSR, NI_RREG(NI_PSR) & ~PSR_OWN); in niopen()
490 NI_WREG(NI_PSR, NI_RREG(NI_PSR) & ~(PSR_OWN|PSR_RSQ)); in ni_get()