Searched refs:mon_sense (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/drivers/video/fbdev/ |
H A D | controlfb.c | 350 out_le32(CNTRL_REG(p,mon_sense), 7); /* drive all lines high */ in read_control_sense() 352 out_le32(CNTRL_REG(p,mon_sense), 077); /* turn off drivers */ in read_control_sense() 354 sense = (in_le32(CNTRL_REG(p,mon_sense)) & 0x1c0) << 2; in read_control_sense() 357 out_le32(CNTRL_REG(p,mon_sense), 033); /* drive A low */ in read_control_sense() 359 sense |= (in_le32(CNTRL_REG(p,mon_sense)) & 0xc0) >> 2; in read_control_sense() 360 out_le32(CNTRL_REG(p,mon_sense), 055); /* drive B low */ in read_control_sense() 362 sense |= ((in_le32(CNTRL_REG(p,mon_sense)) & 0x100) >> 5) in read_control_sense() 363 | ((in_le32(CNTRL_REG(p,mon_sense)) & 0x40) >> 4); in read_control_sense() 364 out_le32(CNTRL_REG(p,mon_sense), 066); /* drive C low */ in read_control_sense() 366 sense |= (in_le32(CNTRL_REG(p,mon_sense)) & 0x180) >> 7; in read_control_sense() [all …]
|
H A D | controlfb.h | 64 struct preg mon_sense; /* monitor sense bits */ member
|