Searched refs:tgfx (Results 1 – 1 of 1) sorted by relevance
76 static struct tgfx { struct93 struct tgfx *tgfx = (void *) private; in tgfx_timer() argument98 if (tgfx->sticks & (1 << i)) { in tgfx_timer()100 dev = tgfx->dev[i]; in tgfx_timer()102 parport_write_data(tgfx->pd->port, ~(1 << i)); in tgfx_timer()103 data1 = parport_read_status(tgfx->pd->port) ^ 0x7f; in tgfx_timer()104 data2 = parport_read_control(tgfx->pd->port) ^ 0x04; /* CAVEAT parport */ in tgfx_timer()118 mod_timer(&tgfx->timer, jiffies + TGFX_REFRESH_TIME); in tgfx_timer()123 struct tgfx *tgfx = input_get_drvdata(dev); in tgfx_open() local126 err = mutex_lock_interruptible(&tgfx->sem); in tgfx_open()[all …]