Home
last modified time | relevance | path

Searched refs:tgfx (Results 1 – 1 of 1) sorted by relevance

/linux-3.4.99/drivers/input/joystick/
Dturbografx.c76 static struct tgfx { struct
93 struct tgfx *tgfx = (void *) private; in tgfx_timer() argument
98 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() local
126 err = mutex_lock_interruptible(&tgfx->sem); in tgfx_open()
[all …]