Lines Matching refs:hard_cfg
426 static int hard_cfg[2] /* lo<-hard_cfg[0] hi<-hard_cfg[1] */ variable
615 DBG((" aedsp16_hard_decode: 0x%x, 0x%x\n", hard_cfg[0], hard_cfg[1])); in aedsp16_hard_decode()
620 decoded_hcfg.iobase = IOBASE(hard_cfg[0]); in aedsp16_hard_decode()
621 decoded_hcfg.joystick = JOY(hard_cfg[0]); in aedsp16_hard_decode()
622 decoded_hcfg.wssbase = WSSADDR(hard_cfg[0]); in aedsp16_hard_decode()
623 decoded_hcfg.mpubase = MPUADDR(hard_cfg[0]); in aedsp16_hard_decode()
624 decoded_hcfg.cdrom = CDROM(hard_cfg[1]); in aedsp16_hard_decode()
625 decoded_hcfg.cdrombase = CDROMADDR(hard_cfg[1]); in aedsp16_hard_decode()
659 DBG((" aedsp16_hard_encode: 0x%x, 0x%x\n", hard_cfg[0], hard_cfg[1])); in aedsp16_hard_encode()
661 hard_cfg[0] = 0; in aedsp16_hard_encode()
662 hard_cfg[1] = 0; in aedsp16_hard_encode()
664 hard_cfg[0] |= 0x20; in aedsp16_hard_encode()
666 BLDIOBASE (hard_cfg[0], decoded_hcfg.iobase); in aedsp16_hard_encode()
667 BLDWSSADDR(hard_cfg[0], decoded_hcfg.wssbase); in aedsp16_hard_encode()
668 BLDMPUADDR(hard_cfg[0], decoded_hcfg.mpubase); in aedsp16_hard_encode()
669 BLDJOY(hard_cfg[0], decoded_hcfg.joystick); in aedsp16_hard_encode()
670 BLDCDROM(hard_cfg[1], decoded_hcfg.cdrom); in aedsp16_hard_encode()
671 BLDCDROMADDR(hard_cfg[1], decoded_hcfg.cdrombase); in aedsp16_hard_encode()
677 DBG((" aedsp16_hard_encode: 0x%x, 0x%x\n", hard_cfg[0], hard_cfg[1])); in aedsp16_hard_encode()
696 if (aedsp16_write(port, hard_cfg[0])) { in aedsp16_hard_write()
697 printk("[AEDSP16] DATA 0x%x: failed!\n", hard_cfg[0]); in aedsp16_hard_write()
701 if (aedsp16_write(port, hard_cfg[1])) { in aedsp16_hard_write()
702 printk("[AEDSP16] DATA 0x%x: failed!\n", hard_cfg[1]); in aedsp16_hard_write()
727 if ((hard_cfg[0] = aedsp16_read(port)) == -1) { in aedsp16_hard_read()
733 if ((hard_cfg[1] = aedsp16_read(port)) == -1) { in aedsp16_hard_read()