Searched refs:msense (Results 1 – 2 of 2) sorted by relevance
420 out_8(&p->valkyrie_regs->msense.r, 0); /* release all lines */ in read_valkyrie_sense()422 sense = ((in = in_8(&p->valkyrie_regs->msense.r)) & 0x70) << 4; in read_valkyrie_sense()424 out_8(&p->valkyrie_regs->msense.r, 4); /* drive A low */ in read_valkyrie_sense()426 sense |= ((in = in_8(&p->valkyrie_regs->msense.r)) & 0x30); in read_valkyrie_sense()427 out_8(&p->valkyrie_regs->msense.r, 2); /* drive B low */ in read_valkyrie_sense()429 sense |= ((in = in_8(&p->valkyrie_regs->msense.r)) & 0x40) >> 3; in read_valkyrie_sense()431 out_8(&p->valkyrie_regs->msense.r, 1); /* drive C low */ in read_valkyrie_sense()433 sense |= ((in = in_8(&p->valkyrie_regs->msense.r)) & 0x60) >> 5; in read_valkyrie_sense()435 out_8(&p->valkyrie_regs->msense.r, 7); in read_valkyrie_sense()
76 struct vpreg msense; member