static inline unsigned in_reg(IVState *s, enum Reg reg)

{

    const char *name = reg2str(reg);

    QTestState *qtest = global_qtest;

    unsigned res;



    global_qtest = s->qtest;

    res = qpci_io_readl(s->dev, s->reg_base + reg);

    g_test_message("*%s -> %x\n", name, res);

    global_qtest = qtest;



    return res;

}

static inline unsigned in_reg(IVState *s, enum Reg reg)

{

    const char *name = reg2str(reg);

    QTestState *qtest = global_qtest;

    unsigned res;



    global_qtest = s->qtest;

    res = qpci_io_readl(s->dev, s->reg_base + reg);

    g_test_message("*%s -> %x\n", name, res);

    global_qtest = qtest;



    return res;

}

    res = qpci_io_readl(s->dev, s->reg_base + reg);
static inline unsigned FUNC_0(IVState *VAR_0, enum Reg VAR_1)

{

    const char *VAR_2 = reg2str(VAR_1);

    QTestState *qtest = global_qtest;

    unsigned VAR_3;



    global_qtest = VAR_0->qtest;

    VAR_3 = qpci_io_readl(VAR_0->dev, VAR_0->reg_base + VAR_1);

    g_test_message("*%VAR_0 -> %x\n", VAR_2, VAR_3);

    global_qtest = qtest;



    return VAR_3;

}

static inline unsigned FUNC_0(IVState *VAR_0, enum Reg VAR_1)
{ const char *VAR_2 = reg2str(VAR_1); QTestState *qtest = global_qtest; unsigned VAR_3; global_qtest = VAR_0->qtest; VAR_3 = qpci_io_readl(VAR_0->dev, VAR_0->reg_base + VAR_1); g_test_message("*%VAR_0 -> %x\n", VAR_2, VAR_3); global_qtest = qtest; return VAR_3; }