require '_h2ph_pre.ph';

no warnings qw(redefine misc);

unless(defined(&_HDAUDIOREG_H)) {
    eval 'sub _HDAUDIOREG_H () {1;}' unless defined(&_HDAUDIOREG_H);
    require 'sys/cdefs.ph';
    require 'sys/types.ph';
    eval 'sub HDAUDIO_MMIO_GCAP () {0x;}' unless defined(&HDAUDIO_MMIO_GCAP);
    eval 'sub HDAUDIO_GCAP_64OK {
        my($x) = @_;
	    eval q((($x) & 1));
    }' unless defined(&HDAUDIO_GCAP_64OK);
    eval 'sub HDAUDIO_GCAP_NSDO {
        my($x) = @_;
	    eval q((((($x) & 6) != 0) ? (($x) & 6) : 1));
    }' unless defined(&HDAUDIO_GCAP_NSDO);
    eval 'sub HDAUDIO_GCAP_BSS {
        my($x) = @_;
	    eval q(((($x) >> 3) & 0x1f));
    }' unless defined(&HDAUDIO_GCAP_BSS);
    eval 'sub HDAUDIO_GCAP_ISS {
        my($x) = @_;
	    eval q(((($x) >> 8) & 0xf));
    }' unless defined(&HDAUDIO_GCAP_ISS);
    eval 'sub HDAUDIO_GCAP_OSS {
        my($x) = @_;
	    eval q(((($x) >> 12) & 0xf));
    }' unless defined(&HDAUDIO_GCAP_OSS);
    eval 'sub HDAUDIO_MMIO_VMIN () {0x2;}' unless defined(&HDAUDIO_MMIO_VMIN);
    eval 'sub HDAUDIO_MMIO_VMAJ () {0x3;}' unless defined(&HDAUDIO_MMIO_VMAJ);
    eval 'sub HDAUDIO_MMIO_OUTPAY () {0x4;}' unless defined(&HDAUDIO_MMIO_OUTPAY);
    eval 'sub HDAUDIO_MMIO_INPAY () {0x6;}' unless defined(&HDAUDIO_MMIO_INPAY);
    eval 'sub HDAUDIO_MMIO_GCTL () {0x8;}' unless defined(&HDAUDIO_MMIO_GCTL);
    eval 'sub HDAUDIO_GCTL_UNSOL_EN () {(1<< 8);}' unless defined(&HDAUDIO_GCTL_UNSOL_EN);
    eval 'sub HDAUDIO_GCTL_FLUSH_CTL () {(1<< 1);}' unless defined(&HDAUDIO_GCTL_FLUSH_CTL);
    eval 'sub HDAUDIO_GCTL_CRST () {(1<< 0);}' unless defined(&HDAUDIO_GCTL_CRST);
    eval 'sub HDAUDIO_MMIO_WAKEEN () {0xc;}' unless defined(&HDAUDIO_MMIO_WAKEEN);
    eval 'sub HDAUDIO_MMIO_STATESTS () {0xe;}' unless defined(&HDAUDIO_MMIO_STATESTS);
    eval 'sub HDAUDIO_STATESTS_SDIWAKE () {0x7fff;}' unless defined(&HDAUDIO_STATESTS_SDIWAKE);
    eval 'sub HDAUDIO_MMIO_GSTS () {0x10;}' unless defined(&HDAUDIO_MMIO_GSTS);
    eval 'sub HDAUDIO_MMIO_INTCTL () {0x20;}' unless defined(&HDAUDIO_MMIO_INTCTL);
    eval 'sub HDAUDIO_INTCTL_GIE () {(1 << 31);}' unless defined(&HDAUDIO_INTCTL_GIE);
    eval 'sub HDAUDIO_INTCTL_CIE () {(1<< 30);}' unless defined(&HDAUDIO_INTCTL_CIE);
    eval 'sub HDAUDIO_MMIO_INTSTS () {0x24;}' unless defined(&HDAUDIO_MMIO_INTSTS);
    eval 'sub HDAUDIO_INTSTS_GIS () {(1 << 31);}' unless defined(&HDAUDIO_INTSTS_GIS);
    eval 'sub HDAUDIO_INTSTS_CIS () {(1<< 30);}' unless defined(&HDAUDIO_INTSTS_CIS);
    eval 'sub HDAUDIO_INTSTS_SIS_MASK () {0x3fffffff;}' unless defined(&HDAUDIO_INTSTS_SIS_MASK);
    eval 'sub HDAUDIO_MMIO_WALCLK () {0x30;}' unless defined(&HDAUDIO_MMIO_WALCLK);
    eval 'sub HDAUDIO_MMIO_SYNC () {0x34;}' unless defined(&HDAUDIO_MMIO_SYNC);
    eval 'sub HDAUDIO_MMIO_CORBLBASE () {0x40;}' unless defined(&HDAUDIO_MMIO_CORBLBASE);
    eval 'sub HDAUDIO_MMIO_CORBUBASE () {0x44;}' unless defined(&HDAUDIO_MMIO_CORBUBASE);
    eval 'sub HDAUDIO_MMIO_CORBWP () {0x48;}' unless defined(&HDAUDIO_MMIO_CORBWP);
    eval 'sub HDAUDIO_MMIO_CORBRP () {0x4a;}' unless defined(&HDAUDIO_MMIO_CORBRP);
    eval 'sub HDAUDIO_CORBRP_RP_RESET () {(1<< 15);}' unless defined(&HDAUDIO_CORBRP_RP_RESET);
    eval 'sub HDAUDIO_MMIO_CORBCTL () {0x4c;}' unless defined(&HDAUDIO_MMIO_CORBCTL);
    eval 'sub HDAUDIO_CORBCTL_RUN () {(1<< 1);}' unless defined(&HDAUDIO_CORBCTL_RUN);
    eval 'sub HDAUDIO_CORBCTL_CMEI_EN () {(1<< 0);}' unless defined(&HDAUDIO_CORBCTL_CMEI_EN);
    eval 'sub HDAUDIO_MMIO_CORBST () {0x4d;}' unless defined(&HDAUDIO_MMIO_CORBST);
    eval 'sub HDAUDIO_MMIO_CORBSIZE () {0x4e;}' unless defined(&HDAUDIO_MMIO_CORBSIZE);
    eval 'sub HDAUDIO_MMIO_RIRBLBASE () {0x50;}' unless defined(&HDAUDIO_MMIO_RIRBLBASE);
    eval 'sub HDAUDIO_MMIO_RIRBUBASE () {0x54;}' unless defined(&HDAUDIO_MMIO_RIRBUBASE);
    eval 'sub HDAUDIO_MMIO_RIRBWP () {0x58;}' unless defined(&HDAUDIO_MMIO_RIRBWP);
    eval 'sub HDAUDIO_RIRBWP_WP_RESET () {(1<< 15);}' unless defined(&HDAUDIO_RIRBWP_WP_RESET);
    eval 'sub HDAUDIO_MMIO_RINTCNT () {0x5a;}' unless defined(&HDAUDIO_MMIO_RINTCNT);
    eval 'sub HDAUDIO_MMIO_RIRBCTL () {0x5c;}' unless defined(&HDAUDIO_MMIO_RIRBCTL);
    eval 'sub HDAUDIO_RIRBCTL_ROI_EN () {(1<< 2);}' unless defined(&HDAUDIO_RIRBCTL_ROI_EN);
    eval 'sub HDAUDIO_RIRBCTL_RUN () {(1<< 1);}' unless defined(&HDAUDIO_RIRBCTL_RUN);
    eval 'sub HDAUDIO_RIRBCTL_INT_EN () {(1<< 0);}' unless defined(&HDAUDIO_RIRBCTL_INT_EN);
    eval 'sub HDAUDIO_MMIO_RIRBSTS () {0x5d;}' unless defined(&HDAUDIO_MMIO_RIRBSTS);
    eval 'sub HDAUDIO_RIRBSTS_RIRBOIS () {(1<< 2);}' unless defined(&HDAUDIO_RIRBSTS_RIRBOIS);
    eval 'sub HDAUDIO_RIRBSTS_RINTFL () {(1<< 0);}' unless defined(&HDAUDIO_RIRBSTS_RINTFL);
    eval 'sub HDAUDIO_MMIO_RIRBSIZE () {0x5e;}' unless defined(&HDAUDIO_MMIO_RIRBSIZE);
    eval 'sub HDAUDIO_MMIO_IC () {0x60;}' unless defined(&HDAUDIO_MMIO_IC);
    eval 'sub HDAUDIO_MMIO_IR () {0x64;}' unless defined(&HDAUDIO_MMIO_IR);
    eval 'sub HDAUDIO_MMIO_IRS () {0x68;}' unless defined(&HDAUDIO_MMIO_IRS);
    eval 'sub HDAUDIO_MMIO_DPLBASE () {0x70;}' unless defined(&HDAUDIO_MMIO_DPLBASE);
    eval 'sub HDAUDIO_MMIO_DPUBASE () {0x74;}' unless defined(&HDAUDIO_MMIO_DPUBASE);
    eval 'sub HDAUDIO_MMIO_SD_SIZE () {0x20;}' unless defined(&HDAUDIO_MMIO_SD_SIZE);
    eval 'sub HDAUDIO_MMIO_SD_BASE () {0x80;}' unless defined(&HDAUDIO_MMIO_SD_BASE);
    eval 'sub HDAUDIO_SD_REG {
        my($off, $x) = @_;
	    eval q(( &HDAUDIO_MMIO_SD_BASE + (($x) *  &HDAUDIO_MMIO_SD_SIZE) + ($off)));
    }' unless defined(&HDAUDIO_SD_REG);
    eval 'sub HDAUDIO_SD_CTL0 {
        my($x) = @_;
	    eval q( &HDAUDIO_SD_REG(0x, $x));
    }' unless defined(&HDAUDIO_SD_CTL0);
    eval 'sub HDAUDIO_CTL_SRST () {(1<< 0);}' unless defined(&HDAUDIO_CTL_SRST);
    eval 'sub HDAUDIO_CTL_RUN () {(1<< 1);}' unless defined(&HDAUDIO_CTL_RUN);
    eval 'sub HDAUDIO_CTL_IOCE () {(1<< 2);}' unless defined(&HDAUDIO_CTL_IOCE);
    eval 'sub HDAUDIO_CTL_FEIE () {(1<< 3);}' unless defined(&HDAUDIO_CTL_FEIE);
    eval 'sub HDAUDIO_CTL_DEIE () {(1<< 4);}' unless defined(&HDAUDIO_CTL_DEIE);
    eval 'sub HDAUDIO_SD_CTL1 {
        my($x) = @_;
	    eval q( &HDAUDIO_SD_REG(0x1, $x));
    }' unless defined(&HDAUDIO_SD_CTL1);
    eval 'sub HDAUDIO_SD_CTL2 {
        my($x) = @_;
	    eval q( &HDAUDIO_SD_REG(0x2, $x));
    }' unless defined(&HDAUDIO_SD_CTL2);
    eval 'sub HDAUDIO_SD_STS {
        my($x) = @_;
	    eval q( &HDAUDIO_SD_REG(0x3, $x));
    }' unless defined(&HDAUDIO_SD_STS);
    eval 'sub HDAUDIO_STS_FIFORDY () {(1<< 5);}' unless defined(&HDAUDIO_STS_FIFORDY);
    eval 'sub HDAUDIO_STS_DESE () {(1<< 4);}' unless defined(&HDAUDIO_STS_DESE);
    eval 'sub HDAUDIO_STS_FIFOE () {(1<< 3);}' unless defined(&HDAUDIO_STS_FIFOE);
    eval 'sub HDAUDIO_STS_BCIS () {(1<< 2);}' unless defined(&HDAUDIO_STS_BCIS);
    eval 'sub HDAUDIO_SD_LPIB {
        my($x) = @_;
	    eval q( &HDAUDIO_SD_REG(0x4, $x));
    }' unless defined(&HDAUDIO_SD_LPIB);
    eval 'sub HDAUDIO_SD_CBL {
        my($x) = @_;
	    eval q( &HDAUDIO_SD_REG(0x8, $x));
    }' unless defined(&HDAUDIO_SD_CBL);
    eval 'sub HDAUDIO_SD_LVI {
        my($x) = @_;
	    eval q( &HDAUDIO_SD_REG(0xc, $x));
    }' unless defined(&HDAUDIO_SD_LVI);
    eval 'sub HDAUDIO_SD_FIFOW {
        my($x) = @_;
	    eval q( &HDAUDIO_SD_REG(0xe, $x));
    }' unless defined(&HDAUDIO_SD_FIFOW);
    eval 'sub HDAUDIO_SD_FIFOS {
        my($x) = @_;
	    eval q( &HDAUDIO_SD_REG(0x10, $x));
    }' unless defined(&HDAUDIO_SD_FIFOS);
    eval 'sub HDAUDIO_SD_FMT {
        my($x) = @_;
	    eval q( &HDAUDIO_SD_REG(0x12, $x));
    }' unless defined(&HDAUDIO_SD_FMT);
    eval 'sub HDAUDIO_FMT_TYPE_MASK () {0x8000;}' unless defined(&HDAUDIO_FMT_TYPE_MASK);
    eval 'sub HDAUDIO_FMT_TYPE_PCM () {0x;}' unless defined(&HDAUDIO_FMT_TYPE_PCM);
    eval 'sub HDAUDIO_FMT_TYPE_NONPCM () {0x8000;}' unless defined(&HDAUDIO_FMT_TYPE_NONPCM);
    eval 'sub HDAUDIO_FMT_BASE_MASK () {0x4000;}' unless defined(&HDAUDIO_FMT_BASE_MASK);
    eval 'sub HDAUDIO_FMT_BASE_48 () {0x;}' unless defined(&HDAUDIO_FMT_BASE_48);
    eval 'sub HDAUDIO_FMT_BASE_44 () {0x4000;}' unless defined(&HDAUDIO_FMT_BASE_44);
    eval 'sub HDAUDIO_FMT_MULT_MASK () {0x3800;}' unless defined(&HDAUDIO_FMT_MULT_MASK);
    eval 'sub HDAUDIO_FMT_MULT {
        my($x) = @_;
	    eval q((((($x) - 1) << 11) &  &HDAUDIO_FMT_MULT_MASK));
    }' unless defined(&HDAUDIO_FMT_MULT);
    eval 'sub HDAUDIO_FMT_DIV_MASK () {0x700;}' unless defined(&HDAUDIO_FMT_DIV_MASK);
    eval 'sub HDAUDIO_FMT_DIV {
        my($x) = @_;
	    eval q((((($x) - 1) << 8) &  &HDAUDIO_FMT_DIV_MASK));
    }' unless defined(&HDAUDIO_FMT_DIV);
    eval 'sub HDAUDIO_FMT_BITS_MASK () {0x70;}' unless defined(&HDAUDIO_FMT_BITS_MASK);
    eval 'sub HDAUDIO_FMT_BITS_8_16 () {(0<< 4);}' unless defined(&HDAUDIO_FMT_BITS_8_16);
    eval 'sub HDAUDIO_FMT_BITS_16_16 () {(1<< 4);}' unless defined(&HDAUDIO_FMT_BITS_16_16);
    eval 'sub HDAUDIO_FMT_BITS_20_32 () {(2<< 4);}' unless defined(&HDAUDIO_FMT_BITS_20_32);
    eval 'sub HDAUDIO_FMT_BITS_24_32 () {(3<< 4);}' unless defined(&HDAUDIO_FMT_BITS_24_32);
    eval 'sub HDAUDIO_FMT_BITS_32_32 () {(4<< 4);}' unless defined(&HDAUDIO_FMT_BITS_32_32);
    eval 'sub HDAUDIO_FMT_CHAN_MASK () {0xf;}' unless defined(&HDAUDIO_FMT_CHAN_MASK);
    eval 'sub HDAUDIO_FMT_CHAN {
        my($x) = @_;
	    eval q(((($x) - 1) &  &HDAUDIO_FMT_CHAN_MASK));
    }' unless defined(&HDAUDIO_FMT_CHAN);
    eval 'sub HDAUDIO_SD_BDPL {
        my($x) = @_;
	    eval q( &HDAUDIO_SD_REG(0x18, $x));
    }' unless defined(&HDAUDIO_SD_BDPL);
    eval 'sub HDAUDIO_SD_BDPU {
        my($x) = @_;
	    eval q( &HDAUDIO_SD_REG(0x1c, $x));
    }' unless defined(&HDAUDIO_SD_BDPU);
    eval 'sub CORB_GET_PARAMETER () {0xf00;}' unless defined(&CORB_GET_PARAMETER);
    eval 'sub COP_VENDOR_ID () {0x;}' unless defined(&COP_VENDOR_ID);
    eval 'sub COP_REVISION_ID () {0x2;}' unless defined(&COP_REVISION_ID);
    eval 'sub COP_SUBORDINATE_NODE_COUNT () {0x4;}' unless defined(&COP_SUBORDINATE_NODE_COUNT);
    eval 'sub COP_NODECNT_STARTNODE {
        my($x) = @_;
	    eval q(((($x) >> 16) & 0xff));
    }' unless defined(&COP_NODECNT_STARTNODE);
    eval 'sub COP_NODECNT_NUMNODES {
        my($x) = @_;
	    eval q(((($x) >> 0) & 0xff));
    }' unless defined(&COP_NODECNT_NUMNODES);
    eval 'sub COP_FUNCTION_GROUP_TYPE () {0x5;}' unless defined(&COP_FUNCTION_GROUP_TYPE);
    eval 'sub COP_AUDIO_FUNCTION_GROUP_CAPABILITIES () {0x8;}' unless defined(&COP_AUDIO_FUNCTION_GROUP_CAPABILITIES);
    eval 'sub COP_AUDIO_WIDGET_CAPABILITIES () {0x9;}' unless defined(&COP_AUDIO_WIDGET_CAPABILITIES);
    eval 'sub COP_AWCAP_CHANNEL_COUNT {
        my($x) = @_;
	    eval q(((((($x) & (0x7 << 13)) >> 12) | (($x) & 0x1)) + 1));
    }' unless defined(&COP_AWCAP_CHANNEL_COUNT);
    eval 'sub COP_AWCAP_INAMP_PRESENT () {(1<< 1);}' unless defined(&COP_AWCAP_INAMP_PRESENT);
    eval 'sub COP_AWCAP_OUTAMP_PRESENT () {(1<< 2);}' unless defined(&COP_AWCAP_OUTAMP_PRESENT);
    eval 'sub COP_AWCAP_AMP_PARAM_OVERRIDE () {(1<< 3);}' unless defined(&COP_AWCAP_AMP_PARAM_OVERRIDE);
    eval 'sub COP_AWCAP_FORMAT_OVERRIDE () {(1<< 4);}' unless defined(&COP_AWCAP_FORMAT_OVERRIDE);
    eval 'sub COP_AWCAP_STRIPE () {(1<< 5);}' unless defined(&COP_AWCAP_STRIPE);
    eval 'sub COP_AWCAP_PROC_WIDGET () {(1<< 6);}' unless defined(&COP_AWCAP_PROC_WIDGET);
    eval 'sub COP_AWCAP_UNSOL_CAPABLE () {(1<< 7);}' unless defined(&COP_AWCAP_UNSOL_CAPABLE);
    eval 'sub COP_AWCAP_CONN_LIST () {(1<< 8);}' unless defined(&COP_AWCAP_CONN_LIST);
    eval 'sub COP_AWCAP_DIGITAL () {(1<< 9);}' unless defined(&COP_AWCAP_DIGITAL);
    eval 'sub COP_AWCAP_POWER_CNTRL () {(1<< 10);}' unless defined(&COP_AWCAP_POWER_CNTRL);
    eval 'sub COP_AWCAP_LR_SWAP () {(1<< 11);}' unless defined(&COP_AWCAP_LR_SWAP);
    eval 'sub COP_AWCAP_CP_CAPS () {(1<< 12);}' unless defined(&COP_AWCAP_CP_CAPS);
    eval 'sub COP_AWCAP_CHAN_COUNT_EXT {
        my($x) = @_;
	    eval q(((($x) >> 13) & 0x7));
    }' unless defined(&COP_AWCAP_CHAN_COUNT_EXT);
    eval 'sub COP_AWCAP_DELAY {
        my($x) = @_;
	    eval q(((($x) >> 16) & 0xf));
    }' unless defined(&COP_AWCAP_DELAY);
    eval 'sub COP_AWCAP_TYPE {
        my($x) = @_;
	    eval q(((($x) >> 20) & 0xf));
    }' unless defined(&COP_AWCAP_TYPE);
    eval 'sub COP_AWCAP_TYPE_MASK () {0xf00000;}' unless defined(&COP_AWCAP_TYPE_MASK);
    eval 'sub COP_AWCAP_TYPE_SHIFT () {20;}' unless defined(&COP_AWCAP_TYPE_SHIFT);
    eval 'sub COP_AWCAP_TYPE_AUDIO_OUTPUT () {0x;}' unless defined(&COP_AWCAP_TYPE_AUDIO_OUTPUT);
    eval 'sub COP_AWCAP_TYPE_AUDIO_INPUT () {0x1;}' unless defined(&COP_AWCAP_TYPE_AUDIO_INPUT);
    eval 'sub COP_AWCAP_TYPE_AUDIO_MIXER () {0x2;}' unless defined(&COP_AWCAP_TYPE_AUDIO_MIXER);
    eval 'sub COP_AWCAP_TYPE_AUDIO_SELECTOR () {0x3;}' unless defined(&COP_AWCAP_TYPE_AUDIO_SELECTOR);
    eval 'sub COP_AWCAP_TYPE_PIN_COMPLEX () {0x4;}' unless defined(&COP_AWCAP_TYPE_PIN_COMPLEX);
    eval 'sub COP_AWCAP_TYPE_POWER_WIDGET () {0x5;}' unless defined(&COP_AWCAP_TYPE_POWER_WIDGET);
    eval 'sub COP_AWCAP_TYPE_VOLUME_KNOB () {0x6;}' unless defined(&COP_AWCAP_TYPE_VOLUME_KNOB);
    eval 'sub COP_AWCAP_TYPE_BEEP_GENERATOR () {0x7;}' unless defined(&COP_AWCAP_TYPE_BEEP_GENERATOR);
    eval 'sub COP_AWCAP_TYPE_VENDOR_DEFINED () {0xf;}' unless defined(&COP_AWCAP_TYPE_VENDOR_DEFINED);
    eval 'sub COP_SUPPORTED_PCM_SIZE_RATES () {0xa;}' unless defined(&COP_SUPPORTED_PCM_SIZE_RATES);
    eval 'sub COP_SUPPORTED_STREAM_FORMATS () {0xb;}' unless defined(&COP_SUPPORTED_STREAM_FORMATS);
    eval 'sub COP_STREAM_FORMAT_PCM () {(1<< 0);}' unless defined(&COP_STREAM_FORMAT_PCM);
    eval 'sub COP_STREAM_FORMAT_FLOAT32 () {(1<< 1);}' unless defined(&COP_STREAM_FORMAT_FLOAT32);
    eval 'sub COP_STREAM_FORMAT_AC3 () {(1<< 2);}' unless defined(&COP_STREAM_FORMAT_AC3);
    eval 'sub COP_PIN_CAPABILITIES () {0xc;}' unless defined(&COP_PIN_CAPABILITIES);
    eval 'sub COP_PINCAP_IMPEDANCE_SENSE_CAPABLE () {(1<< 0);}' unless defined(&COP_PINCAP_IMPEDANCE_SENSE_CAPABLE);
    eval 'sub COP_PINCAP_TRIGGER_REQD () {(1<< 1);}' unless defined(&COP_PINCAP_TRIGGER_REQD);
    eval 'sub COP_PINCAP_PRESENSE_DETECT_CAPABLE () {(1<< 2);}' unless defined(&COP_PINCAP_PRESENSE_DETECT_CAPABLE);
    eval 'sub COP_PINCAP_HEADPHONE_DRIVE_CAPABLE () {(1<< 3);}' unless defined(&COP_PINCAP_HEADPHONE_DRIVE_CAPABLE);
    eval 'sub COP_PINCAP_OUTPUT_CAPABLE () {(1<< 4);}' unless defined(&COP_PINCAP_OUTPUT_CAPABLE);
    eval 'sub COP_PINCAP_INPUT_CAPABLE () {(1<< 5);}' unless defined(&COP_PINCAP_INPUT_CAPABLE);
    eval 'sub COP_PINCAP_BALANCED_IO_PINS () {(1<< 6);}' unless defined(&COP_PINCAP_BALANCED_IO_PINS);
    eval 'sub COP_PINCAP_HDMI () {(1<< 7);}' unless defined(&COP_PINCAP_HDMI);
    eval 'sub COP_PINCAP_VREF_CONTROL {
        my($x) = @_;
	    eval q(((($x) >> 8) & 0xff));
    }' unless defined(&COP_PINCAP_VREF_CONTROL);
    eval 'sub COP_VREF_HIZ () {(1<< 0);}' unless defined(&COP_VREF_HIZ);
    eval 'sub COP_VREF_50 () {(1<< 1);}' unless defined(&COP_VREF_50);
    eval 'sub COP_VREF_GROUND () {(1<< 2);}' unless defined(&COP_VREF_GROUND);
    eval 'sub COP_VREF_80 () {(1<< 4);}' unless defined(&COP_VREF_80);
    eval 'sub COP_VREF_100 () {(1<< 5);}' unless defined(&COP_VREF_100);
    eval 'sub COP_PINCAP_EAPD_CAPABLE () {(1<< 16);}' unless defined(&COP_PINCAP_EAPD_CAPABLE);
    eval 'sub COP_PINCAP_DP () {(1<< 24);}' unless defined(&COP_PINCAP_DP);
    eval 'sub COP_PINCAP_HBR () {(1<< 27);}' unless defined(&COP_PINCAP_HBR);
    eval 'sub COP_AMPLIFIER_CAPABILITIES_INAMP () {0xd;}' unless defined(&COP_AMPLIFIER_CAPABILITIES_INAMP);
    eval 'sub COP_AMPLIFIER_CAPABILITIES_OUTAMP () {0x12;}' unless defined(&COP_AMPLIFIER_CAPABILITIES_OUTAMP);
    eval 'sub COP_AMPCAP_OFFSET {
        my($x) = @_;
	    eval q(((($x) >> 0) & 0x7f));
    }' unless defined(&COP_AMPCAP_OFFSET);
    eval 'sub COP_AMPCAP_NUM_STEPS {
        my($x) = @_;
	    eval q(((($x) >> 8) & 0x7f));
    }' unless defined(&COP_AMPCAP_NUM_STEPS);
    eval 'sub COP_AMPCAP_STEP_SIZE {
        my($x) = @_;
	    eval q(((($x) >> 16) & 0x7f));
    }' unless defined(&COP_AMPCAP_STEP_SIZE);
    eval 'sub COP_AMPCAP_MUTE_CAPABLE {
        my($x) = @_;
	    eval q(((($x) >> 31) & 0x1));
    }' unless defined(&COP_AMPCAP_MUTE_CAPABLE);
    eval 'sub COP_CONNECTION_LIST_LENGTH () {0xe;}' unless defined(&COP_CONNECTION_LIST_LENGTH);
    eval 'sub COP_CONNECTION_LIST_LENGTH_LEN {
        my($x) = @_;
	    eval q((($x) & 0x7f));
    }' unless defined(&COP_CONNECTION_LIST_LENGTH_LEN);
    eval 'sub COP_CONNECTION_LIST_LENGTH_LONG_FORM () {(1<< 7);}' unless defined(&COP_CONNECTION_LIST_LENGTH_LONG_FORM);
    eval 'sub COP_SUPPORTED_POWER_STATES () {0xf;}' unless defined(&COP_SUPPORTED_POWER_STATES);
    eval 'sub COP_PROCESSING_CAPABILITIES () {0x10;}' unless defined(&COP_PROCESSING_CAPABILITIES);
    eval 'sub COP_GPIO_COUNT () {0x11;}' unless defined(&COP_GPIO_COUNT);
    eval 'sub COP_GPIO_COUNT_NUM_GPIO {
        my($x) = @_;
	    eval q((($x) & 0xff));
    }' unless defined(&COP_GPIO_COUNT_NUM_GPIO);
    eval 'sub COP_VOLUME_KNOB_CAPABILITIES () {0x13;}' unless defined(&COP_VOLUME_KNOB_CAPABILITIES);
    eval 'sub COP_HDMI_LPCM_CAD () {0x20;}' unless defined(&COP_HDMI_LPCM_CAD);
    eval 'sub COP_LPCM_CAD_44_1_MS () {(1 << 31);}' unless defined(&COP_LPCM_CAD_44_1_MS);
    eval 'sub COP_LPCM_CAD_44_1 () {(1<< 30);}' unless defined(&COP_LPCM_CAD_44_1);
    eval 'sub COP_LPCM_CAD_192K_24BIT () {(1<< 29);}' unless defined(&COP_LPCM_CAD_192K_24BIT);
    eval 'sub COP_LPCM_CAD_192K_20BIT () {(1<< 28);}' unless defined(&COP_LPCM_CAD_192K_20BIT);
    eval 'sub COP_LPCM_CAD_192K_MAXCHAN {
        my($x) = @_;
	    eval q(((($x) >> 24) & 0xf));
    }' unless defined(&COP_LPCM_CAD_192K_MAXCHAN);
    eval 'sub COP_LPCM_CAD_192K_MAXCHAN_CP {
        my($x) = @_;
	    eval q(((($x) >> 20) & 0xf));
    }' unless defined(&COP_LPCM_CAD_192K_MAXCHAN_CP);
    eval 'sub COP_LPCM_CAD_96K_24BIT () {(1<< 19);}' unless defined(&COP_LPCM_CAD_96K_24BIT);
    eval 'sub COP_LPCM_CAD_96K_20BIT () {(1<< 18);}' unless defined(&COP_LPCM_CAD_96K_20BIT);
    eval 'sub COP_LPCM_CAD_96K_MAXCHAN {
        my($x) = @_;
	    eval q(((($x) >> 14) & 0xf));
    }' unless defined(&COP_LPCM_CAD_96K_MAXCHAN);
    eval 'sub COP_LPCM_CAD_96K_MAXCHAN_CP {
        my($x) = @_;
	    eval q(((($x) >> 10) & 0xf));
    }' unless defined(&COP_LPCM_CAD_96K_MAXCHAN_CP);
    eval 'sub COP_LPCM_CAD_48K_24BIT () {(1<< 9);}' unless defined(&COP_LPCM_CAD_48K_24BIT);
    eval 'sub COP_LPCM_CAD_48K_20BIT () {(1<< 8);}' unless defined(&COP_LPCM_CAD_48K_20BIT);
    eval 'sub COP_LPCM_CAD_48K_MAXCHAN {
        my($x) = @_;
	    eval q(((($x) >> 4) & 0xf));
    }' unless defined(&COP_LPCM_CAD_48K_MAXCHAN);
    eval 'sub COP_LPCM_CAD_48K_MAXCHAN_CP {
        my($x) = @_;
	    eval q(((($x) >> 0) & 0xf));
    }' unless defined(&COP_LPCM_CAD_48K_MAXCHAN_CP);
    eval 'sub CORB_GET_CONNECTION_SELECT_CONTROL () {0xf01;}' unless defined(&CORB_GET_CONNECTION_SELECT_CONTROL);
    eval 'sub CORB_SET_CONNECTION_SELECT_CONTROL () {0x701;}' unless defined(&CORB_SET_CONNECTION_SELECT_CONTROL);
    eval 'sub CORB_GET_CONNECTION_LIST_ENTRY () {0xf02;}' unless defined(&CORB_GET_CONNECTION_LIST_ENTRY);
    eval 'sub CORB_GET_PROCESSING_STATE () {0xf03;}' unless defined(&CORB_GET_PROCESSING_STATE);
    eval 'sub CORB_SET_PROCESSING_STATE () {0x703;}' unless defined(&CORB_SET_PROCESSING_STATE);
    eval 'sub CORB_GET_COEFFICIENT_INDEX () {0xd00;}' unless defined(&CORB_GET_COEFFICIENT_INDEX);
    eval 'sub CORB_SET_COEFFICIENT_INDEX () {0x500;}' unless defined(&CORB_SET_COEFFICIENT_INDEX);
    eval 'sub CORB_GET_PROCESSING_COEFFICIENT () {0xc00;}' unless defined(&CORB_GET_PROCESSING_COEFFICIENT);
    eval 'sub CORB_SET_PROCESSING_COEFFICIENT () {0x400;}' unless defined(&CORB_SET_PROCESSING_COEFFICIENT);
    eval 'sub CORB_GET_AMPLIFIER_GAIN_MUTE () {0xb00;}' unless defined(&CORB_GET_AMPLIFIER_GAIN_MUTE);
    eval 'sub CORB_SET_AMPLIFIER_GAIN_MUTE () {0x300;}' unless defined(&CORB_SET_AMPLIFIER_GAIN_MUTE);
    eval 'sub CORB_GET_CONVERTER_FORMAT () {0xa00;}' unless defined(&CORB_GET_CONVERTER_FORMAT);
    eval 'sub CORB_SET_CONVERTER_FORMAT () {0x200;}' unless defined(&CORB_SET_CONVERTER_FORMAT);
    eval 'sub CORB_GET_DIGITAL_CONVERTER_CONTROL () {0xf0d;}' unless defined(&CORB_GET_DIGITAL_CONVERTER_CONTROL);
    eval 'sub CORB_SET_DIGITAL_CONVERTER_CONTROL_1 () {0x70d;}' unless defined(&CORB_SET_DIGITAL_CONVERTER_CONTROL_1);
    eval 'sub COP_DIGITAL_CONVCTRL1_DIGEN () {(1<< 0);}' unless defined(&COP_DIGITAL_CONVCTRL1_DIGEN);
    eval 'sub COP_DIGITAL_CONVCTRL1_V () {(1<< 1);}' unless defined(&COP_DIGITAL_CONVCTRL1_V);
    eval 'sub COP_DIGITAL_CONVCTRL1_VCFG () {(1<< 2);}' unless defined(&COP_DIGITAL_CONVCTRL1_VCFG);
    eval 'sub COP_DIGITAL_CONVCTRL1_PRE () {(1<< 3);}' unless defined(&COP_DIGITAL_CONVCTRL1_PRE);
    eval 'sub COP_DIGITAL_CONVCTRL1_COPY () {(1<< 4);}' unless defined(&COP_DIGITAL_CONVCTRL1_COPY);
    eval 'sub COP_DIGITAL_CONVCTRL1_NAUDIO () {(1<< 5);}' unless defined(&COP_DIGITAL_CONVCTRL1_NAUDIO);
    eval 'sub COP_DIGITAL_CONVCTRL1_PRO () {(1<< 6);}' unless defined(&COP_DIGITAL_CONVCTRL1_PRO);
    eval 'sub COP_DIGITAL_CONVCTRL1_L () {(1<< 7);}' unless defined(&COP_DIGITAL_CONVCTRL1_L);
    eval 'sub CORB_SET_DIGITAL_CONVERTER_CONTROL_2 () {0x70e;}' unless defined(&CORB_SET_DIGITAL_CONVERTER_CONTROL_2);
    eval 'sub COP_DIGITAL_CONVCTRL2_CC_MASK () {0x7f;}' unless defined(&COP_DIGITAL_CONVCTRL2_CC_MASK);
    eval 'sub CORB_GET_POWER_STATE () {0xf05;}' unless defined(&CORB_GET_POWER_STATE);
    eval 'sub CORB_SET_POWER_STATE () {0x705;}' unless defined(&CORB_SET_POWER_STATE);
    eval 'sub COP_POWER_STATE_D0 () {0x;}' unless defined(&COP_POWER_STATE_D0);
    eval 'sub COP_POWER_STATE_D1 () {0x1;}' unless defined(&COP_POWER_STATE_D1);
    eval 'sub COP_POWER_STATE_D2 () {0x2;}' unless defined(&COP_POWER_STATE_D2);
    eval 'sub COP_POWER_STATE_D3 () {0x3;}' unless defined(&COP_POWER_STATE_D3);
    eval 'sub CORB_GET_CONVERTER_STREAM_CHANNEL () {0xf06;}' unless defined(&CORB_GET_CONVERTER_STREAM_CHANNEL);
    eval 'sub CORB_SET_CONVERTER_STREAM_CHANNEL () {0x706;}' unless defined(&CORB_SET_CONVERTER_STREAM_CHANNEL);
    eval 'sub CORB_GET_INPUT_CONVERTER_SDI_SELECT () {0xf04;}' unless defined(&CORB_GET_INPUT_CONVERTER_SDI_SELECT);
    eval 'sub CORB_SET_INPUT_CONVERTER_SDI_SELECT () {0x704;}' unless defined(&CORB_SET_INPUT_CONVERTER_SDI_SELECT);
    eval 'sub CORB_GET_PIN_WIDGET_CONTROL () {0xf07;}' unless defined(&CORB_GET_PIN_WIDGET_CONTROL);
    eval 'sub CORB_SET_PIN_WIDGET_CONTROL () {0x707;}' unless defined(&CORB_SET_PIN_WIDGET_CONTROL);
    eval 'sub COP_PWC_VREF_ENABLE_MASK () {0x7;}' unless defined(&COP_PWC_VREF_ENABLE_MASK);
    eval 'sub COP_PWC_VREF_HIZ () {0x;}' unless defined(&COP_PWC_VREF_HIZ);
    eval 'sub COP_PWC_VREF_50 () {0x1;}' unless defined(&COP_PWC_VREF_50);
    eval 'sub COP_PWC_VREF_GND () {0x2;}' unless defined(&COP_PWC_VREF_GND);
    eval 'sub COP_PWC_VREF_80 () {0x4;}' unless defined(&COP_PWC_VREF_80);
    eval 'sub COP_PWC_VREF_100 () {0x5;}' unless defined(&COP_PWC_VREF_100);
    eval 'sub COP_PWC_IN_ENABLE () {(1<< 5);}' unless defined(&COP_PWC_IN_ENABLE);
    eval 'sub COP_PWC_OUT_ENABLE () {(1<< 6);}' unless defined(&COP_PWC_OUT_ENABLE);
    eval 'sub COP_PWC_HPHN_ENABLE () {(1<< 7);}' unless defined(&COP_PWC_HPHN_ENABLE);
    eval 'sub COP_PWC_EPT_MASK () {0x3;}' unless defined(&COP_PWC_EPT_MASK);
    eval 'sub COP_PWC_EPT_NATIVE () {0x;}' unless defined(&COP_PWC_EPT_NATIVE);
    eval 'sub COP_PWC_EPT_HIGH_BIT_RATE () {0x3;}' unless defined(&COP_PWC_EPT_HIGH_BIT_RATE);
    eval 'sub CORB_GET_UNSOLICITED_RESPONSE () {0xf08;}' unless defined(&CORB_GET_UNSOLICITED_RESPONSE);
    eval 'sub CORB_SET_UNSOLICITED_RESPONSE () {0x708;}' unless defined(&CORB_SET_UNSOLICITED_RESPONSE);
    eval 'sub COP_SET_UNSOLICITED_RESPONSE_ENABLE () {(1<< 7);}' unless defined(&COP_SET_UNSOLICITED_RESPONSE_ENABLE);
    eval 'sub CORB_GET_PIN_SENSE () {0xf09;}' unless defined(&CORB_GET_PIN_SENSE);
    eval 'sub COP_GET_PIN_SENSE_PRESENSE_DETECT () {(1 << 31);}' unless defined(&COP_GET_PIN_SENSE_PRESENSE_DETECT);
    eval 'sub COP_GET_PIN_SENSE_ELD_VALID () {(1<< 30);}' unless defined(&COP_GET_PIN_SENSE_ELD_VALID);
    eval 'sub COP_GET_PIN_SENSE_IMPEDENCE_SENSE {
        my($x) = @_;
	    eval q((($x) & 0x7fffffff));
    }' unless defined(&COP_GET_PIN_SENSE_IMPEDENCE_SENSE);
    eval 'sub CORB_SET_PIN_SENSE () {0x709;}' unless defined(&CORB_SET_PIN_SENSE);
    eval 'sub CORB_GET_EAPD_BTL_ENABLE () {0xf0c;}' unless defined(&CORB_GET_EAPD_BTL_ENABLE);
    eval 'sub CORB_SET_EAPD_BTL_ENABLE () {0x70c;}' unless defined(&CORB_SET_EAPD_BTL_ENABLE);
    eval 'sub COP_EAPD_ENABLE_BTL () {(1<< 0);}' unless defined(&COP_EAPD_ENABLE_BTL);
    eval 'sub COP_EAPD_ENABLE_EAPD () {(1<< 1);}' unless defined(&COP_EAPD_ENABLE_EAPD);
    eval 'sub COP_EAPD_ENABLE_LR_SWAP () {(1<< 2);}' unless defined(&COP_EAPD_ENABLE_LR_SWAP);
    eval 'sub CORB_GET_GPI_DATA () {0xf10;}' unless defined(&CORB_GET_GPI_DATA);
    eval 'sub CORB_SET_GPI_DATA () {0x710;}' unless defined(&CORB_SET_GPI_DATA);
    eval 'sub CORB_GET_GPI_WAKE_ENABLE_MASK () {0xf11;}' unless defined(&CORB_GET_GPI_WAKE_ENABLE_MASK);
    eval 'sub CORB_SET_GPI_WAKE_ENABLE_MASK () {0x711;}' unless defined(&CORB_SET_GPI_WAKE_ENABLE_MASK);
    eval 'sub CORB_GET_GPI_UNSOLICITED_ENABLE_MASK () {0xf12;}' unless defined(&CORB_GET_GPI_UNSOLICITED_ENABLE_MASK);
    eval 'sub CORB_SET_GPI_UNSOLICITED_ENABLE_MASK () {0x712;}' unless defined(&CORB_SET_GPI_UNSOLICITED_ENABLE_MASK);
    eval 'sub CORB_GET_GPI_STICKY_MASK () {0xf13;}' unless defined(&CORB_GET_GPI_STICKY_MASK);
    eval 'sub CORB_SET_GPI_STICKY_MASK () {0x713;}' unless defined(&CORB_SET_GPI_STICKY_MASK);
    eval 'sub CORB_GET_GPO_DATA () {0xf14;}' unless defined(&CORB_GET_GPO_DATA);
    eval 'sub CORB_SET_GPO_DATA () {0x714;}' unless defined(&CORB_SET_GPO_DATA);
    eval 'sub CORB_GET_GPIO_DATA () {0xf15;}' unless defined(&CORB_GET_GPIO_DATA);
    eval 'sub CORB_SET_GPIO_DATA () {0x715;}' unless defined(&CORB_SET_GPIO_DATA);
    eval 'sub CORB_GET_GPIO_ENABLE_MASK () {0xf16;}' unless defined(&CORB_GET_GPIO_ENABLE_MASK);
    eval 'sub CORB_SET_GPIO_ENABLE_MASK () {0x716;}' unless defined(&CORB_SET_GPIO_ENABLE_MASK);
    eval 'sub CORB_GET_GPIO_DIRECTION () {0xf17;}' unless defined(&CORB_GET_GPIO_DIRECTION);
    eval 'sub CORB_SET_GPIO_DIRECTION () {0x717;}' unless defined(&CORB_SET_GPIO_DIRECTION);
    eval 'sub CORB_GET_GPIO_WAKE_ENABLE_MASK () {0xf18;}' unless defined(&CORB_GET_GPIO_WAKE_ENABLE_MASK);
    eval 'sub CORB_SET_GPIO_WAKE_ENABLE_MASK () {0x718;}' unless defined(&CORB_SET_GPIO_WAKE_ENABLE_MASK);
    eval 'sub CORB_GET_GPIO_UNSOLICITED_ENABLE_MASK () {0xf19;}' unless defined(&CORB_GET_GPIO_UNSOLICITED_ENABLE_MASK);
    eval 'sub CORB_SET_GPIO_UNSOLICITED_ENABLE_MASK () {0x719;}' unless defined(&CORB_SET_GPIO_UNSOLICITED_ENABLE_MASK);
    eval 'sub CORB_GET_GPIO_STICKY_MASK () {0xf1a;}' unless defined(&CORB_GET_GPIO_STICKY_MASK);
    eval 'sub CORB_SET_GPIO_STICKY_MASK () {0x71a;}' unless defined(&CORB_SET_GPIO_STICKY_MASK);
    eval 'sub CORB_GET_BEEP_GENERATION () {0xf0a;}' unless defined(&CORB_GET_BEEP_GENERATION);
    eval 'sub CORB_SET_BEEP_GENERATION () {0x70a;}' unless defined(&CORB_SET_BEEP_GENERATION);
    eval 'sub CORB_GET_VOLUME_KNOB () {0xf0f;}' unless defined(&CORB_GET_VOLUME_KNOB);
    eval 'sub CORB_SET_VOLUME_KNOB () {0x70f;}' unless defined(&CORB_SET_VOLUME_KNOB);
    eval 'sub CORB_GET_SUBSYSTEM_ID () {0xf20;}' unless defined(&CORB_GET_SUBSYSTEM_ID);
    eval 'sub CORB_SET_SUBSYSTEM_ID_1 () {0x720;}' unless defined(&CORB_SET_SUBSYSTEM_ID_1);
    eval 'sub CORB_SET_SUBSYSTEM_ID_2 () {0x721;}' unless defined(&CORB_SET_SUBSYSTEM_ID_2);
    eval 'sub CORB_SET_SUBSYSTEM_ID_3 () {0x722;}' unless defined(&CORB_SET_SUBSYSTEM_ID_3);
    eval 'sub CORB_SET_SUBSYSTEM_ID_4 () {0x723;}' unless defined(&CORB_SET_SUBSYSTEM_ID_4);
    eval 'sub CORB_GET_CONFIGURATION_DEFAULT () {0xf1c;}' unless defined(&CORB_GET_CONFIGURATION_DEFAULT);
    eval 'sub COP_CFG_SEQUENCE {
        my($x) = @_;
	    eval q(((($x) >> 0) & 0xf));
    }' unless defined(&COP_CFG_SEQUENCE);
    eval 'sub COP_CFG_DEFAULT_ASSOCIATION {
        my($x) = @_;
	    eval q(((($x) >> 4) & 0xf));
    }' unless defined(&COP_CFG_DEFAULT_ASSOCIATION);
    eval 'sub COP_CFG_MISC {
        my($x) = @_;
	    eval q(((($x) >> 8) & 0xf));
    }' unless defined(&COP_CFG_MISC);
    eval 'sub COP_CFG_COLOR {
        my($x) = @_;
	    eval q(((($x) >> 12) & 0xf));
    }' unless defined(&COP_CFG_COLOR);
    eval 'sub COP_CFG_CONNECTION_TYPE {
        my($x) = @_;
	    eval q(((($x) >> 16) & 0xf));
    }' unless defined(&COP_CFG_CONNECTION_TYPE);
    eval 'sub COP_CONN_TYPE_UNKNOWN () {0x;}' unless defined(&COP_CONN_TYPE_UNKNOWN);
    eval 'sub COP_CONN_TYPE_18INCH () {0x1;}' unless defined(&COP_CONN_TYPE_18INCH);
    eval 'sub COP_CONN_TYPE_14INCH () {0x2;}' unless defined(&COP_CONN_TYPE_14INCH);
    eval 'sub COP_CONN_TYPE_ATAPI_INTERNAL () {0x3;}' unless defined(&COP_CONN_TYPE_ATAPI_INTERNAL);
    eval 'sub COP_CONN_TYPE_RCA () {0x4;}' unless defined(&COP_CONN_TYPE_RCA);
    eval 'sub COP_CONN_TYPE_OPTICAL () {0x5;}' unless defined(&COP_CONN_TYPE_OPTICAL);
    eval 'sub COP_CONN_TYPE_OTHER_DIGITAL () {0x6;}' unless defined(&COP_CONN_TYPE_OTHER_DIGITAL);
    eval 'sub COP_CONN_TYPE_OTHER_ANALOG () {0x7;}' unless defined(&COP_CONN_TYPE_OTHER_ANALOG);
    eval 'sub COP_CONN_TYPE_DIN () {0x8;}' unless defined(&COP_CONN_TYPE_DIN);
    eval 'sub COP_CONN_TYPE_XLR () {0x9;}' unless defined(&COP_CONN_TYPE_XLR);
    eval 'sub COP_CONN_TYPE_RJ11 () {0xa;}' unless defined(&COP_CONN_TYPE_RJ11);
    eval 'sub COP_CONN_TYPE_COMBINATION () {0xb;}' unless defined(&COP_CONN_TYPE_COMBINATION);
    eval 'sub COP_CONN_TYPE_OTHER () {0xf;}' unless defined(&COP_CONN_TYPE_OTHER);
    eval 'sub COP_CFG_DEFAULT_DEVICE {
        my($x) = @_;
	    eval q(((($x) >> 20) & 0xf));
    }' unless defined(&COP_CFG_DEFAULT_DEVICE);
    eval 'sub COP_DEVICE_MASK () {0xf00000;}' unless defined(&COP_DEVICE_MASK);
    eval 'sub COP_DEVICE_SHIFT () {20;}' unless defined(&COP_DEVICE_SHIFT);
    eval 'sub COP_DEVICE_LINE_OUT () {0x;}' unless defined(&COP_DEVICE_LINE_OUT);
    eval 'sub COP_DEVICE_SPEAKER () {0x1;}' unless defined(&COP_DEVICE_SPEAKER);
    eval 'sub COP_DEVICE_HP_OUT () {0x2;}' unless defined(&COP_DEVICE_HP_OUT);
    eval 'sub COP_DEVICE_CD () {0x3;}' unless defined(&COP_DEVICE_CD);
    eval 'sub COP_DEVICE_SPDIF_OUT () {0x4;}' unless defined(&COP_DEVICE_SPDIF_OUT);
    eval 'sub COP_DEVICE_DIGITAL_OTHER_OUT () {0x5;}' unless defined(&COP_DEVICE_DIGITAL_OTHER_OUT);
    eval 'sub COP_DEVICE_MODEM_LINE_SIDE () {0x6;}' unless defined(&COP_DEVICE_MODEM_LINE_SIDE);
    eval 'sub COP_DEVICE_MODEM_HANDSET_SIDE () {0x7;}' unless defined(&COP_DEVICE_MODEM_HANDSET_SIDE);
    eval 'sub COP_DEVICE_LINE_IN () {0x8;}' unless defined(&COP_DEVICE_LINE_IN);
    eval 'sub COP_DEVICE_AUX () {0x9;}' unless defined(&COP_DEVICE_AUX);
    eval 'sub COP_DEVICE_MIC_IN () {0xa;}' unless defined(&COP_DEVICE_MIC_IN);
    eval 'sub COP_DEVICE_TELEPHONY () {0xb;}' unless defined(&COP_DEVICE_TELEPHONY);
    eval 'sub COP_DEVICE_SPDIF_IN () {0xc;}' unless defined(&COP_DEVICE_SPDIF_IN);
    eval 'sub COP_DEVICE_DIGITAL_OTHER_IN () {0xd;}' unless defined(&COP_DEVICE_DIGITAL_OTHER_IN);
    eval 'sub COP_DEVICE_OTHER () {0xf;}' unless defined(&COP_DEVICE_OTHER);
    eval 'sub COP_CFG_LOCATION {
        my($x) = @_;
	    eval q(((($x) >> 24) & 0x3f));
    }' unless defined(&COP_CFG_LOCATION);
    eval 'sub COP_CFG_PORT_CONNECTIVITY {
        my($x) = @_;
	    eval q(((($x) >> 30) & 0x3));
    }' unless defined(&COP_CFG_PORT_CONNECTIVITY);
    eval 'sub COP_PORT_JACK () {0x;}' unless defined(&COP_PORT_JACK);
    eval 'sub COP_PORT_NONE () {0x1;}' unless defined(&COP_PORT_NONE);
    eval 'sub COP_PORT_FIXED_FUNCTION () {0x2;}' unless defined(&COP_PORT_FIXED_FUNCTION);
    eval 'sub COP_PORT_BOTH () {0x3;}' unless defined(&COP_PORT_BOTH);
    eval 'sub CORB_SET_CONFIGURATION_DEFAULT_1 () {0x71c;}' unless defined(&CORB_SET_CONFIGURATION_DEFAULT_1);
    eval 'sub CORB_SET_CONFIGURATION_DEFAULT_2 () {0x71d;}' unless defined(&CORB_SET_CONFIGURATION_DEFAULT_2);
    eval 'sub CORB_SET_CONFIGURATION_DEFAULT_3 () {0x71e;}' unless defined(&CORB_SET_CONFIGURATION_DEFAULT_3);
    eval 'sub CORB_SET_CONFIGURATION_DEFAULT_4 () {0x71f;}' unless defined(&CORB_SET_CONFIGURATION_DEFAULT_4);
    eval 'sub CORB_GET_STRIPE_CONTROL () {0xf24;}' unless defined(&CORB_GET_STRIPE_CONTROL);
    eval 'sub CORB_SET_STRIPE_CONTROL () {0x720;}' unless defined(&CORB_SET_STRIPE_CONTROL);
    eval 'sub CORB_EXECUTE_RESET () {0x7ff;}' unless defined(&CORB_EXECUTE_RESET);
    eval 'sub CORB_GET_CONVERTER_CHANNEL_COUNT () {0xf2d;}' unless defined(&CORB_GET_CONVERTER_CHANNEL_COUNT);
    eval 'sub CORB_SET_CONVERTER_CHANNEL_COUNT () {0x72d;}' unless defined(&CORB_SET_CONVERTER_CHANNEL_COUNT);
    eval 'sub CORB_GET_HDMI_DIP_SIZE () {0xf2e;}' unless defined(&CORB_GET_HDMI_DIP_SIZE);
    eval 'sub COP_DIP_ELD_SIZE () {(1<< 3);}' unless defined(&COP_DIP_ELD_SIZE);
    eval 'sub COP_DIP_PI_GP {
        my($x) = @_;
	    eval q((($x) & 0x7));
    }' unless defined(&COP_DIP_PI_GP);
    eval 'sub COP_DIP_PI_AUDIO_INFO () { &COP_DIP_PI_GP(0);}' unless defined(&COP_DIP_PI_AUDIO_INFO);
    eval 'sub COP_DIP_BUFFER_SIZE {
        my($x) = @_;
	    eval q((($x) & 0xff));
    }' unless defined(&COP_DIP_BUFFER_SIZE);
    eval 'sub CORB_GET_HDMI_ELD_DATA () {0xf2f;}' unless defined(&CORB_GET_HDMI_ELD_DATA);
    eval 'sub COP_ELD_VALID () {(1 << 31);}' unless defined(&COP_ELD_VALID);
    eval 'sub COP_ELD_DATA {
        my($x) = @_;
	    eval q(((($x) >> 0) & 0xff));
    }' unless defined(&COP_ELD_DATA);
    eval 'sub CORB_GET_HDMI_DIP_INDEX () {0xf30;}' unless defined(&CORB_GET_HDMI_DIP_INDEX);
    eval 'sub CORB_SET_HDMI_DIP_INDEX () {0x730;}' unless defined(&CORB_SET_HDMI_DIP_INDEX);
    eval 'sub COP_DIP_INDEX_BYTE_SHIFT () {0;}' unless defined(&COP_DIP_INDEX_BYTE_SHIFT);
    eval 'sub COP_DIP_INDEX_BYTE_MASK () {0xf;}' unless defined(&COP_DIP_INDEX_BYTE_MASK);
    eval 'sub COP_DIP_INDEX_PACKET_INDEX_SHIFT () {4;}' unless defined(&COP_DIP_INDEX_PACKET_INDEX_SHIFT);
    eval 'sub COP_DIP_INDEX_PACKET_INDEX_MASK () {0xf;}' unless defined(&COP_DIP_INDEX_PACKET_INDEX_MASK);
    eval 'sub CORB_GET_HDMI_DIP_DATA () {0xf31;}' unless defined(&CORB_GET_HDMI_DIP_DATA);
    eval 'sub CORB_SET_HDMI_DIP_DATA () {0x731;}' unless defined(&CORB_SET_HDMI_DIP_DATA);
    eval 'sub CORB_GET_HDMI_DIP_XMIT_CTRL () {0xf32;}' unless defined(&CORB_GET_HDMI_DIP_XMIT_CTRL);
    eval 'sub CORB_SET_HDMI_DIP_XMIT_CTRL () {0x732;}' unless defined(&CORB_SET_HDMI_DIP_XMIT_CTRL);
    eval 'sub COP_DIP_XMIT_CTRL_DISABLE () {(0x << 6);}' unless defined(&COP_DIP_XMIT_CTRL_DISABLE);
    eval 'sub COP_DIP_XMIT_CTRL_ONCE () {(0x2 << 6);}' unless defined(&COP_DIP_XMIT_CTRL_ONCE);
    eval 'sub COP_DIP_XMIT_CTRL_BEST_EFFORT () {(0x3 << 6);}' unless defined(&COP_DIP_XMIT_CTRL_BEST_EFFORT);
    eval 'sub CORB_GET_PROTECTION_CONTROL () {0xf33;}' unless defined(&CORB_GET_PROTECTION_CONTROL);
    eval 'sub CORB_SET_PROTECTION_CONTROL () {0x733;}' unless defined(&CORB_SET_PROTECTION_CONTROL);
    eval 'sub COP_PROTECTION_CONTROL_CES_ON () {(1<< 9);}' unless defined(&COP_PROTECTION_CONTROL_CES_ON);
    eval 'sub COP_PROTECTION_CONTROL_READY () {(1<< 8);}' unless defined(&COP_PROTECTION_CONTROL_READY);
    eval 'sub COP_PROTECTION_CONTROL_URSUBTAG_SHIFT () {3;}' unless defined(&COP_PROTECTION_CONTROL_URSUBTAG_SHIFT);
    eval 'sub COP_PROTECTION_CONTROL_URSUBTAG_MASK () {0x1f;}' unless defined(&COP_PROTECTION_CONTROL_URSUBTAG_MASK);
    eval 'sub COP_PROTECTION_CONTROL_CPSTATE_MASK () {0x3;}' unless defined(&COP_PROTECTION_CONTROL_CPSTATE_MASK);
    eval 'sub COP_PROTECTION_CONTROL_CPSTATE_DONTCARE () {(0<< 0);}' unless defined(&COP_PROTECTION_CONTROL_CPSTATE_DONTCARE);
    eval 'sub COP_PROTECTION_CONTROL_CPSTATE_OFF () {(2<< 0);}' unless defined(&COP_PROTECTION_CONTROL_CPSTATE_OFF);
    eval 'sub COP_PROTECTION_CONTROL_CPSTATE_ON () {(3<< 0);}' unless defined(&COP_PROTECTION_CONTROL_CPSTATE_ON);
    eval 'sub CORB_ASP_GET_CHANNEL_MAPPING () {0xf34;}' unless defined(&CORB_ASP_GET_CHANNEL_MAPPING);
    eval 'sub CORB_ASP_SET_CHANNEL_MAPPING () {0x734;}' unless defined(&CORB_ASP_SET_CHANNEL_MAPPING);
    eval 'sub RIRB_CODEC_ID {
        my($entry) = @_;
	    eval q((($entry)-> &resp_ex & 0xf));
    }' unless defined(&RIRB_CODEC_ID);
    eval 'sub RIRB_UNSOL {
        my($entry) = @_;
	    eval q((($entry)-> &resp_ex & 0x10));
    }' unless defined(&RIRB_UNSOL);
}
1;
