require '_h2ph_pre.ph';

no warnings 'redefine';

unless(defined(&BPP_HCR_DSS_MASK)) {
    sub BPP_HCR_DSS_MASK () {	0x3f;}
}
unless(defined(&BPP_HCR_DSS_SHFT)) {
    sub BPP_HCR_DSS_SHFT () {	0;}
}
unless(defined(&BPP_HCR_DSW_MASK)) {
    sub BPP_HCR_DSW_MASK () {	0x7f00;}
}
unless(defined(&BPP_HCR_DSW_SHFT)) {
    sub BPP_HCR_DSW_SHFT () {	8;}
}
unless(defined(&BPP_HCR_TEST)) {
    sub BPP_HCR_TEST () {	0x8000;}
}
unless(defined(&BPP_OCR_IDLE)) {
    sub BPP_OCR_IDLE () {	0x8;}
}
unless(defined(&BPP_OCR_SRST)) {
    sub BPP_OCR_SRST () {	0x80;}
}
unless(defined(&BPP_OCR_ACK_OP)) {
    sub BPP_OCR_ACK_OP () {	0x100;}
}
unless(defined(&BPP_OCR_BUSY_OP)) {
    sub BPP_OCR_BUSY_OP () {	0x200;}
}
unless(defined(&BPP_OCR_EN_DIAG)) {
    sub BPP_OCR_EN_DIAG () {	0x400;}
}
unless(defined(&BPP_OCR_ACK_DSEL)) {
    sub BPP_OCR_ACK_DSEL () {	0x800;}
}
unless(defined(&BPP_OCR_BUSY_DSEL)) {
    sub BPP_OCR_BUSY_DSEL () {	0x1000;}
}
unless(defined(&BPP_OCR_DS_DSEL)) {
    sub BPP_OCR_DS_DSEL () {	0x2000;}
}
unless(defined(&BPP_OCR_DATA_SRC)) {
    sub BPP_OCR_DATA_SRC () {	0x4000;}
}
unless(defined(&BPP_OCR_MEM_SRC)) {
    sub BPP_OCR_MEM_SRC () {	0x8000;}
}
unless(defined(&BPP_TCR_DS)) {
    sub BPP_TCR_DS () {	0x1;}
}
unless(defined(&BPP_TCR_ACK)) {
    sub BPP_TCR_ACK () {	0x2;}
}
unless(defined(&BPP_TCR_BUSY)) {
    sub BPP_TCR_BUSY () {	0x4;}
}
unless(defined(&BPP_TCR_DIR)) {
    sub BPP_TCR_DIR () {	0x8;}
}
unless(defined(&BPP_OR_SLCTIN)) {
    sub BPP_OR_SLCTIN () {	0x1;}
}
unless(defined(&BPP_OR_AFXN)) {
    sub BPP_OR_AFXN () {	0x2;}
}
unless(defined(&BPP_OR_INIT)) {
    sub BPP_OR_INIT () {	0x4;}
}
unless(defined(&BPP_IR_ERR)) {
    sub BPP_IR_ERR () {	0x1;}
}
unless(defined(&BPP_IR_SLCT)) {
    sub BPP_IR_SLCT () {	0x2;}
}
unless(defined(&BPP_IR_PE)) {
    sub BPP_IR_PE () {	0x4;}
}
unless(defined(&BPP_ERR_IRQ_EN)) {
    sub BPP_ERR_IRQ_EN () {	0x1;}
}
unless(defined(&BPP_ERR_IRP)) {
    sub BPP_ERR_IRP () {	0x2;}
}
unless(defined(&BPP_SLCT_IRQ_EN)) {
    sub BPP_SLCT_IRQ_EN () {	0x4;}
}
unless(defined(&BPP_SLCT_IRP)) {
    sub BPP_SLCT_IRP () {	0x8;}
}
unless(defined(&BPP_PE_IRQ_EN)) {
    sub BPP_PE_IRQ_EN () {	0x10;}
}
unless(defined(&BPP_PE_IRP)) {
    sub BPP_PE_IRP () {	0x20;}
}
unless(defined(&BPP_BUSY_IRQ_EN)) {
    sub BPP_BUSY_IRQ_EN () {	0x40;}
}
unless(defined(&BPP_BUSY_IRP)) {
    sub BPP_BUSY_IRP () {	0x80;}
}
unless(defined(&BPP_ACK_IRQ_EN)) {
    sub BPP_ACK_IRQ_EN () {	0x100;}
}
unless(defined(&BPP_DS_IRQ_EN)) {
    sub BPP_DS_IRQ_EN () {	0x200;}
}
unless(defined(&BPP_ERR_IRQ)) {
    sub BPP_ERR_IRQ () {	0x400;}
}
unless(defined(&BPP_SLCT_IRQ)) {
    sub BPP_SLCT_IRQ () {	0x800;}
}
unless(defined(&BPP_PE_IRQ)) {
    sub BPP_PE_IRQ () {	0x1000;}
}
unless(defined(&BPP_BUSY_IRQ)) {
    sub BPP_BUSY_IRQ () {	0x2000;}
}
unless(defined(&BPP_ACK_IRQ)) {
    sub BPP_ACK_IRQ () {	0x4000;}
}
unless(defined(&BPP_DS_IRQ)) {
    sub BPP_DS_IRQ () {	0x8000;}
}
unless(defined(&BPP_ALLIRQ)) {
    sub BPP_ALLIRQ () {	( &BPP_ERR_IRQ| &BPP_SLCT_IRQ| &BPP_PE_IRQ|  &BPP_BUSY_IRQ| &BPP_ACK_IRQ| &BPP_DS_IRQ);}
}
unless(defined(&BPP_ALLEN)) {
    sub BPP_ALLEN () {	( &BPP_ERR_IRQ_EN| &BPP_SLCT_IRQ_EN|  &BPP_PE_IRQ_EN| &BPP_BUSY_IRQ_EN|  &BPP_ACK_IRQ_EN| &BPP_DS_IRQ_EN);}
}
unless(defined(&BPP_ALLIRP)) {
    sub BPP_ALLIRP () {	( &BPP_ERR_IRP| &BPP_PE_IRP| &BPP_BUSY_IRP);}
}
1;
