static void omap_mcbsp_write(void *opaque, target_phys_addr_t addr,

                             uint64_t value, unsigned size)

{

    switch (size) {

    case 2: return omap_mcbsp_writeh(opaque, addr, value);

    case 4: return omap_mcbsp_writew(opaque, addr, value);

    default: return omap_badwidth_write16(opaque, addr, value);

    }

}

static void omap_mcbsp_write(void *opaque, target_phys_addr_t addr,

                             uint64_t value, unsigned size)

{

    switch (size) {

    case 2: return omap_mcbsp_writeh(opaque, addr, value);

    case 4: return omap_mcbsp_writew(opaque, addr, value);

    default: return omap_badwidth_write16(opaque, addr, value);

    }

}

static void FUNC_0(void *VAR_0, target_phys_addr_t VAR_1,

                             uint64_t VAR_2, unsigned VAR_3)

{

    switch (VAR_3) {

    case 2: return omap_mcbsp_writeh(VAR_0, VAR_1, VAR_2);

    case 4: return omap_mcbsp_writew(VAR_0, VAR_1, VAR_2);

    default: return omap_badwidth_write16(VAR_0, VAR_1, VAR_2);

    }

}

static void FUNC_0(void *VAR_0, target_phys_addr_t VAR_1,
uint64_t VAR_2, unsigned VAR_3)
{ switch (VAR_3) { case 2: return omap_mcbsp_writeh(VAR_0, VAR_1, VAR_2); case 4: return omap_mcbsp_writew(VAR_0, VAR_1, VAR_2); default: return omap_badwidth_write16(VAR_0, VAR_1, VAR_2); } }