Lines Matching refs:offset
44 bxe_reg_write8(struct bxe_softc *sc, bus_size_t offset, uint8_t val)
46 BLOGD(sc, DBG_REGS, "offset=0x%08lx val=0x%02x\n", offset, val);
49 offset,
54 bxe_reg_write16(struct bxe_softc *sc, bus_size_t offset, uint16_t val)
56 if ((offset % 2) != 0) {
57 BLOGD(sc, DBG_REGS, "Unaligned 16-bit write to 0x%08lx\n", offset);
60 BLOGD(sc, DBG_REGS, "offset=0x%08lx val=0x%04x\n", offset, val);
63 offset,
68 bxe_reg_write32(struct bxe_softc *sc, bus_size_t offset, uint32_t val)
70 if ((offset % 4) != 0) {
71 BLOGD(sc, DBG_REGS, "Unaligned 32-bit write to 0x%08lx\n", offset);
74 BLOGD(sc, DBG_REGS, "offset=0x%08lx val=0x%08x\n", offset, val);
77 offset,
82 bxe_reg_read8(struct bxe_softc *sc, bus_size_t offset)
88 offset);
89 BLOGD(sc, DBG_REGS, "offset=0x%08lx val=0x%02x\n", offset, val);
95 bxe_reg_read16(struct bxe_softc *sc, bus_size_t offset)
99 if ((offset % 2) != 0) {
100 BLOGD(sc, DBG_REGS, "Unaligned 16-bit read from 0x%08lx\n", offset);
105 offset);
106 BLOGD(sc, DBG_REGS, "offset=0x%08lx val=0x%08x\n", offset, val);
112 bxe_reg_read32(struct bxe_softc *sc, bus_size_t offset)
116 if ((offset % 4) != 0) {
117 BLOGD(sc, DBG_REGS, "Unaligned 32-bit read from 0x%08lx\n", offset);
122 offset);
123 BLOGD(sc, DBG_REGS, "offset=0x%08lx val=0x%08x\n", offset, val);