Lines Matching refs:hard_cfg
418 static int hard_cfg[2] /* lo<-hard_cfg[0] hi<-hard_cfg[1] */ variable
607 DBG((" aedsp16_hard_decode: 0x%x, 0x%x\n", hard_cfg[0], hard_cfg[1])); in aedsp16_hard_decode()
612 decoded_hcfg.iobase = IOBASE(hard_cfg[0]); in aedsp16_hard_decode()
613 decoded_hcfg.joystick = JOY(hard_cfg[0]); in aedsp16_hard_decode()
614 decoded_hcfg.wssbase = WSSADDR(hard_cfg[0]); in aedsp16_hard_decode()
615 decoded_hcfg.mpubase = MPUADDR(hard_cfg[0]); in aedsp16_hard_decode()
616 decoded_hcfg.cdrom = CDROM(hard_cfg[1]); in aedsp16_hard_decode()
617 decoded_hcfg.cdrombase = CDROMADDR(hard_cfg[1]); in aedsp16_hard_decode()
651 DBG((" aedsp16_hard_encode: 0x%x, 0x%x\n", hard_cfg[0], hard_cfg[1])); in aedsp16_hard_encode()
653 hard_cfg[0] = 0; in aedsp16_hard_encode()
654 hard_cfg[1] = 0; in aedsp16_hard_encode()
656 hard_cfg[0] |= 0x20; in aedsp16_hard_encode()
658 BLDIOBASE (hard_cfg[0], decoded_hcfg.iobase); in aedsp16_hard_encode()
659 BLDWSSADDR(hard_cfg[0], decoded_hcfg.wssbase); in aedsp16_hard_encode()
660 BLDMPUADDR(hard_cfg[0], decoded_hcfg.mpubase); in aedsp16_hard_encode()
661 BLDJOY(hard_cfg[0], decoded_hcfg.joystick); in aedsp16_hard_encode()
662 BLDCDROM(hard_cfg[1], decoded_hcfg.cdrom); in aedsp16_hard_encode()
663 BLDCDROMADDR(hard_cfg[1], decoded_hcfg.cdrombase); in aedsp16_hard_encode()
669 DBG((" aedsp16_hard_encode: 0x%x, 0x%x\n", hard_cfg[0], hard_cfg[1])); in aedsp16_hard_encode()
688 if (aedsp16_write(port, hard_cfg[0])) { in aedsp16_hard_write()
689 printk("[AEDSP16] DATA 0x%x: failed!\n", hard_cfg[0]); in aedsp16_hard_write()
693 if (aedsp16_write(port, hard_cfg[1])) { in aedsp16_hard_write()
694 printk("[AEDSP16] DATA 0x%x: failed!\n", hard_cfg[1]); in aedsp16_hard_write()
719 if ((hard_cfg[0] = aedsp16_read(port)) == -1) { in aedsp16_hard_read()
725 if ((hard_cfg[1] = aedsp16_read(port)) == -1) { in aedsp16_hard_read()