Lines Matching refs:GP_IO
620 aty_st_le32(GP_IO, 0x31003100, par); /* drive outputs high */ in read_aty_sense()
622 aty_st_le32(GP_IO, 0, par); /* turn off outputs */ in read_aty_sense()
624 i = aty_ld_le32(GP_IO, par); /* get primary sense value */ in read_aty_sense()
628 aty_st_le32(GP_IO, 0x20000000, par); /* drive A low */ in read_aty_sense()
630 i = aty_ld_le32(GP_IO, par); in read_aty_sense()
632 aty_st_le32(GP_IO, 0x20002000, par); /* drive A high again */ in read_aty_sense()
635 aty_st_le32(GP_IO, 0x10000000, par); /* drive B low */ in read_aty_sense()
637 i = aty_ld_le32(GP_IO, par); in read_aty_sense()
639 aty_st_le32(GP_IO, 0x10001000, par); /* drive B high again */ in read_aty_sense()
642 aty_st_le32(GP_IO, 0x01000000, par); /* drive C low */ in read_aty_sense()
644 sense |= (aty_ld_le32(GP_IO, par) & 0x3000) >> 12; in read_aty_sense()
645 aty_st_le32(GP_IO, 0, par); /* turn off outputs */ in read_aty_sense()