static inline void out_reg(IVState *s, enum Reg reg, unsigned v)

{

    const char *name = reg2str(reg);

    QTestState *qtest = global_qtest;



    global_qtest = s->qtest;

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

    qpci_io_writel(s->dev, s->reg_base + reg, v);

    global_qtest = qtest;

}

static inline void out_reg(IVState *s, enum Reg reg, unsigned v)

{

    const char *name = reg2str(reg);

    QTestState *qtest = global_qtest;



    global_qtest = s->qtest;

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

    qpci_io_writel(s->dev, s->reg_base + reg, v);

    global_qtest = qtest;

}

    qpci_io_writel(s->dev, s->reg_base + reg, v);
static inline void FUNC_0(IVState *VAR_0, enum Reg VAR_1, unsigned VAR_2)

{

    const char *VAR_3 = reg2str(VAR_1);

    QTestState *qtest = global_qtest;



    global_qtest = VAR_0->qtest;

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

    qpci_io_writel(VAR_0->dev, VAR_0->reg_base + VAR_1, VAR_2);

    global_qtest = qtest;

}

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