Searched refs:ncr_reg (Results 1 – 3 of 3) sorted by relevance
| /mirbsd/src/sys/dev/pci/ |
| D | ncrreg.h | 73 struct ncr_reg { struct 274 #define REGJ(p,r) (offsetof(struct ncr_reg, p ## r)) argument
|
| D | ncr.c | 337 INB_OFF(offsetof(struct ncr_reg, r)) 341 bus_space_read_2 (np->sc_st, np->sc_sh, offsetof(struct ncr_reg, r)) 343 INL_OFF(offsetof(struct ncr_reg, r)) 348 bus_space_write_1 (np->sc_st, np->sc_sh, offsetof(struct ncr_reg, r), (val)) 350 bus_space_write_2 (np->sc_st, np->sc_sh, offsetof(struct ncr_reg, r), (val)) 352 OUTL_OFF(offsetof(struct ncr_reg, r), (val)) 378 #define INB(r) inb (np->port + offsetof(struct ncr_reg, r)) 380 #define INW(r) inw (np->port + offsetof(struct ncr_reg, r)) 381 #define INL(r) inl (np->port + offsetof(struct ncr_reg, r)) 384 #define OUTB(r, val) outb (np->port+offsetof(struct ncr_reg,r),(val)) [all …]
|
| D | ncrstat.c | 1039 static void dump_reg(struct ncr_reg * rp) in dump_reg() 1316 struct ncr_reg reg; in dump_ncr() 1453 struct ncr_reg reg; in do_debug()
|