static void palmte_onoff_gpios(void *opaque, int line, int level)

{

    switch (line) {

    case 0:

        printf("%s: current to MMC/SD card %sabled.\n",

                        __FUNCTION__, level ? "dis" : "en");

        break;

    case 1:

        printf("%s: internal speaker amplifier %s.\n",

                        __FUNCTION__, level ? "down" : "on");

        break;



    /* These LCD & Audio output signals have not been identified yet.  */

    case 2:

    case 3:

    case 4:

        printf("%s: LCD GPIO%i %s.\n",

                        __FUNCTION__, line - 1, level ? "high" : "low");

        break;

    case 5:

    case 6:

        printf("%s: Audio GPIO%i %s.\n",

                        __FUNCTION__, line - 4, level ? "high" : "low");

        break;

    }

}

static void palmte_onoff_gpios(void *opaque, int line, int level)

{

    switch (line) {

    case 0:

        printf("%s: current to MMC/SD card %sabled.\n",

                        __FUNCTION__, level ? "dis" : "en");

        break;

    case 1:

        printf("%s: internal speaker amplifier %s.\n",

                        __FUNCTION__, level ? "down" : "on");

        break;



    

    case 2:

    case 3:

    case 4:

        printf("%s: LCD GPIO%i %s.\n",

                        __FUNCTION__, line - 1, level ? "high" : "low");

        break;

    case 5:

    case 6:

        printf("%s: Audio GPIO%i %s.\n",

                        __FUNCTION__, line - 4, level ? "high" : "low");

        break;

    }

}

static void FUNC_0(void *VAR_0, int VAR_1, int VAR_2)

{

    switch (VAR_1) {

    case 0:

        printf("%s: current to MMC/SD card %sabled.\n",

                        __FUNCTION__, VAR_2 ? "dis" : "en");

        break;

    case 1:

        printf("%s: internal speaker amplifier %s.\n",

                        __FUNCTION__, VAR_2 ? "down" : "on");

        break;



    

    case 2:

    case 3:

    case 4:

        printf("%s: LCD GPIO%i %s.\n",

                        __FUNCTION__, VAR_1 - 1, VAR_2 ? "high" : "low");

        break;

    case 5:

    case 6:

        printf("%s: Audio GPIO%i %s.\n",

                        __FUNCTION__, VAR_1 - 4, VAR_2 ? "high" : "low");

        break;

    }

}

static void FUNC_0(void *VAR_0, int VAR_1, int VAR_2)
{ switch (VAR_1) { case 0:
printf("%s: current to MMC/SD card %sabled.\n",
__FUNCTION__, VAR_2 ? "dis" : "en"); break; case 1:
printf("%s: internal speaker amplifier %s.\n",
__FUNCTION__, VAR_2 ? "down" : "on"); break; case 2:
case 3:
case 4:
printf("%s: LCD GPIO%i %s.\n",
__FUNCTION__, VAR_1 - 1, VAR_2 ? "high" : "low"); break; case 5:
case 6:
printf("%s: Audio GPIO%i %s.\n",
__FUNCTION__, VAR_1 - 4, VAR_2 ? "high" : "low"); break; } }