Searched refs:msense (Results 1 - 2 of 2) sorted by relevance

/drivers/video/
H A Dvalkyriefb.h76 struct vpreg msense; member in struct:valkyrie_regs
H A Dvalkyriefb.c418 out_8(&p->valkyrie_regs->msense.r, 0); /* release all lines */
420 sense = ((in = in_8(&p->valkyrie_regs->msense.r)) & 0x70) << 4;
422 out_8(&p->valkyrie_regs->msense.r, 4); /* drive A low */
424 sense |= ((in = in_8(&p->valkyrie_regs->msense.r)) & 0x30);
425 out_8(&p->valkyrie_regs->msense.r, 2); /* drive B low */
427 sense |= ((in = in_8(&p->valkyrie_regs->msense.r)) & 0x40) >> 3;
429 out_8(&p->valkyrie_regs->msense.r, 1); /* drive C low */
431 sense |= ((in = in_8(&p->valkyrie_regs->msense.r)) & 0x60) >> 5;
433 out_8(&p->valkyrie_regs->msense.r, 7);

Completed in 33 milliseconds