dbg_regs
} dbg_regs[16];
offset = offsetof(struct user_hwdebug_state, dbg_regs);
} dbg_regs[8];
} dbg_regs[14];
offset = offsetof(struct user_watch_state_v2, dbg_regs);
dbg_regs("reg %04x == %02x", reg, retval);
dbg_regs("reg %04x <- %02x", reg, value);
dbg_regs("reg %04x |= %02x", reg, mask);
dbg_regs("reg %04x &= ~%02x ", reg, mask);
static DEVICE_ATTR_RO(dbg_regs);
dreg_state.dbg_regs[0].addr = (uintptr_t)(addr - offset);
dreg_state.dbg_regs[0].ctrl = control;
iov.iov_len = offsetof(struct user_hwdebug_state, dbg_regs) +
sizeof(dreg_state.dbg_regs[0]);