Searched refs:tgfx (Results 1 – 1 of 1) sorted by relevance
60 static struct tgfx { struct78 struct tgfx *tgfx = from_timer(tgfx, t, timer); in tgfx_timer() local83 if (tgfx->sticks & (1 << i)) { in tgfx_timer()85 dev = tgfx->dev[i]; in tgfx_timer()87 parport_write_data(tgfx->pd->port, ~(1 << i)); in tgfx_timer()88 data1 = parport_read_status(tgfx->pd->port) ^ 0x7f; in tgfx_timer()89 data2 = parport_read_control(tgfx->pd->port) ^ 0x04; /* CAVEAT parport */ in tgfx_timer()103 mod_timer(&tgfx->timer, jiffies + TGFX_REFRESH_TIME); in tgfx_timer()108 struct tgfx *tgfx = input_get_drvdata(dev); in tgfx_open() local111 err = mutex_lock_interruptible(&tgfx->sem); in tgfx_open()[all …]