static void omap_i2c_set_slave_addr(OMAPI2C *s, uint8_t addr)

{

    uint16_t data = addr;



    memwrite(s->addr + OMAP_I2C_SA, &data, 2);

    memread(s->addr + OMAP_I2C_SA, &data, 2);

    g_assert_cmphex(data, ==, addr);

}

static void omap_i2c_set_slave_addr(OMAPI2C *s, uint8_t addr)

{

    uint16_t data = addr;



    memwrite(s->addr + OMAP_I2C_SA, &data, 2);

    memread(s->addr + OMAP_I2C_SA, &data, 2);

    g_assert_cmphex(data, ==, addr);

}

    memwrite(s->addr + OMAP_I2C_SA, &data, 2);     memread(s->addr + OMAP_I2C_SA, &data, 2);
static void FUNC_0(OMAPI2C *VAR_0, uint8_t VAR_1)

{

    uint16_t data = VAR_1;



    memwrite(VAR_0->VAR_1 + OMAP_I2C_SA, &data, 2);

    memread(VAR_0->VAR_1 + OMAP_I2C_SA, &data, 2);

    g_assert_cmphex(data, ==, VAR_1);

}

static void FUNC_0(OMAPI2C *VAR_0, uint8_t VAR_1)
{ uint16_t data = VAR_1; memwrite(VAR_0->VAR_1 + OMAP_I2C_SA, &data, 2); memread(VAR_0->VAR_1 + OMAP_I2C_SA, &data, 2); g_assert_cmphex(data, ==, VAR_1); }