require '_h2ph_pre.ph';

unless(defined(&_SONYPI_H_)) {
    eval 'sub _SONYPI_H_ () {1;}' unless defined(&_SONYPI_H_);
    require 'linux/types.ph';
    eval 'sub SONYPI_EVENT_JOGDIAL_DOWN () {1;}' unless defined(&SONYPI_EVENT_JOGDIAL_DOWN);
    eval 'sub SONYPI_EVENT_JOGDIAL_UP () {2;}' unless defined(&SONYPI_EVENT_JOGDIAL_UP);
    eval 'sub SONYPI_EVENT_JOGDIAL_DOWN_PRESSED () {3;}' unless defined(&SONYPI_EVENT_JOGDIAL_DOWN_PRESSED);
    eval 'sub SONYPI_EVENT_JOGDIAL_UP_PRESSED () {4;}' unless defined(&SONYPI_EVENT_JOGDIAL_UP_PRESSED);
    eval 'sub SONYPI_EVENT_JOGDIAL_PRESSED () {5;}' unless defined(&SONYPI_EVENT_JOGDIAL_PRESSED);
    eval 'sub SONYPI_EVENT_JOGDIAL_RELEASED () {6;}' unless defined(&SONYPI_EVENT_JOGDIAL_RELEASED);
    eval 'sub SONYPI_EVENT_CAPTURE_PRESSED () {7;}' unless defined(&SONYPI_EVENT_CAPTURE_PRESSED);
    eval 'sub SONYPI_EVENT_CAPTURE_RELEASED () {8;}' unless defined(&SONYPI_EVENT_CAPTURE_RELEASED);
    eval 'sub SONYPI_EVENT_CAPTURE_PARTIALPRESSED () {9;}' unless defined(&SONYPI_EVENT_CAPTURE_PARTIALPRESSED);
    eval 'sub SONYPI_EVENT_CAPTURE_PARTIALRELEASED () {10;}' unless defined(&SONYPI_EVENT_CAPTURE_PARTIALRELEASED);
    eval 'sub SONYPI_EVENT_FNKEY_ESC () {11;}' unless defined(&SONYPI_EVENT_FNKEY_ESC);
    eval 'sub SONYPI_EVENT_FNKEY_F1 () {12;}' unless defined(&SONYPI_EVENT_FNKEY_F1);
    eval 'sub SONYPI_EVENT_FNKEY_F2 () {13;}' unless defined(&SONYPI_EVENT_FNKEY_F2);
    eval 'sub SONYPI_EVENT_FNKEY_F3 () {14;}' unless defined(&SONYPI_EVENT_FNKEY_F3);
    eval 'sub SONYPI_EVENT_FNKEY_F4 () {15;}' unless defined(&SONYPI_EVENT_FNKEY_F4);
    eval 'sub SONYPI_EVENT_FNKEY_F5 () {16;}' unless defined(&SONYPI_EVENT_FNKEY_F5);
    eval 'sub SONYPI_EVENT_FNKEY_F6 () {17;}' unless defined(&SONYPI_EVENT_FNKEY_F6);
    eval 'sub SONYPI_EVENT_FNKEY_F7 () {18;}' unless defined(&SONYPI_EVENT_FNKEY_F7);
    eval 'sub SONYPI_EVENT_FNKEY_F8 () {19;}' unless defined(&SONYPI_EVENT_FNKEY_F8);
    eval 'sub SONYPI_EVENT_FNKEY_F9 () {20;}' unless defined(&SONYPI_EVENT_FNKEY_F9);
    eval 'sub SONYPI_EVENT_FNKEY_F10 () {21;}' unless defined(&SONYPI_EVENT_FNKEY_F10);
    eval 'sub SONYPI_EVENT_FNKEY_F11 () {22;}' unless defined(&SONYPI_EVENT_FNKEY_F11);
    eval 'sub SONYPI_EVENT_FNKEY_F12 () {23;}' unless defined(&SONYPI_EVENT_FNKEY_F12);
    eval 'sub SONYPI_EVENT_FNKEY_1 () {24;}' unless defined(&SONYPI_EVENT_FNKEY_1);
    eval 'sub SONYPI_EVENT_FNKEY_2 () {25;}' unless defined(&SONYPI_EVENT_FNKEY_2);
    eval 'sub SONYPI_EVENT_FNKEY_D () {26;}' unless defined(&SONYPI_EVENT_FNKEY_D);
    eval 'sub SONYPI_EVENT_FNKEY_E () {27;}' unless defined(&SONYPI_EVENT_FNKEY_E);
    eval 'sub SONYPI_EVENT_FNKEY_F () {28;}' unless defined(&SONYPI_EVENT_FNKEY_F);
    eval 'sub SONYPI_EVENT_FNKEY_S () {29;}' unless defined(&SONYPI_EVENT_FNKEY_S);
    eval 'sub SONYPI_EVENT_FNKEY_B () {30;}' unless defined(&SONYPI_EVENT_FNKEY_B);
    eval 'sub SONYPI_EVENT_BLUETOOTH_PRESSED () {31;}' unless defined(&SONYPI_EVENT_BLUETOOTH_PRESSED);
    eval 'sub SONYPI_EVENT_PKEY_P1 () {32;}' unless defined(&SONYPI_EVENT_PKEY_P1);
    eval 'sub SONYPI_EVENT_PKEY_P2 () {33;}' unless defined(&SONYPI_EVENT_PKEY_P2);
    eval 'sub SONYPI_EVENT_PKEY_P3 () {34;}' unless defined(&SONYPI_EVENT_PKEY_P3);
    eval 'sub SONYPI_IOCGBRT () { &_IOR(ord(\'v\'), 0,  &__u8);}' unless defined(&SONYPI_IOCGBRT);
    eval 'sub SONYPI_IOCSBRT () { &_IOW(ord(\'v\'), 0,  &__u8);}' unless defined(&SONYPI_IOCSBRT);
}
1;
