Lines Matching defs:port

245 #define ALI_INT_CPRAIS		(1<<7)	/* command port available */
246 #define ALI_INT_SPRAIS (1<<5) /* status port available */
640 unsigned long port = ichdev->reg_offset;
642 iputdword(chip, port + ICH_REG_OFF_BDBAR, ichdev->bdbar_addr);
671 iputbyte(chip, port + ICH_REG_OFF_LVI, ichdev->lvi = ICH_REG_LVI_MASK);
673 iputbyte(chip, port + ICH_REG_OFF_CIV, 0);
683 iputbyte(chip, port + ichdev->roff_sr, ICH_FIFOE | ICH_BCIS | ICH_LVBCI);
692 unsigned long port = ichdev->reg_offset;
701 status = igetbyte(chip, port + ichdev->roff_sr);
702 civ = igetbyte(chip, port + ICH_REG_OFF_CIV);
724 iputbyte(chip, port + ICH_REG_OFF_LVI, ichdev->lvi);
733 ichdev->bdbar[ichdev->lvi * 2 + 1], inb(ICH_REG_OFF_PIV + port),
734 inl(port + 4), inb(port + ICH_REG_OFF_CR));
745 iputbyte(chip, port + ichdev->roff_sr,
791 unsigned long port = ichdev->reg_offset;
814 iputbyte(chip, port + ICH_REG_OFF_CR, val);
817 while (!(igetbyte(chip, port + ichdev->roff_sr) & ICH_DCH)) ;
819 iputbyte(chip, port + ICH_REG_OFF_CR, ICH_RESETREGS);
828 unsigned long port = ichdev->reg_offset;
848 iputbyte(chip, port + ICH_REG_OFF_CR, ICH_IOCE);
860 iputbyte(chip, port + ICH_REG_OFF_CR, 0);
861 while (igetbyte(chip, port + ICH_REG_OFF_CR))
866 iputbyte(chip, port + ICH_REG_OFF_CR, ICH_RESETREGS);
868 iputbyte(chip, port + ICH_REG_OFF_SR,
869 igetbyte(chip, port + ICH_REG_OFF_SR) | 0x1e);
2616 unsigned long port = ichdev->reg_offset;
2621 iputdword(chip, port + ICH_REG_OFF_BDBAR, ichdev->bdbar_addr);
2622 iputbyte(chip, port + ICH_REG_OFF_LVI, ichdev->lvi);
2623 iputbyte(chip, port + ICH_REG_OFF_CIV, ichdev->civ);
2624 iputbyte(chip, port + ichdev->roff_sr, ICH_FIFOE | ICH_BCIS | ICH_LVBCI);
2643 unsigned long port;
2672 port = ichdev->reg_offset;
2677 iputbyte(chip, port + ICH_REG_OFF_CR, ICH_IOCE | ICH_STARTBM);
2679 iputbyte(chip, port + ICH_REG_OFF_CR, ICH_IOCE);
2710 iputbyte(chip, port + ICH_REG_OFF_CR, 0);
2711 while (igetbyte(chip, port + ICH_REG_OFF_CR))
2714 iputbyte(chip, port + ICH_REG_OFF_CR, 0);
2715 while (!(igetbyte(chip, port + ichdev->roff_sr) & ICH_DCH))
2718 iputbyte(chip, port + ICH_REG_OFF_CR, ICH_RESETREGS);