Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/input/joystick/
Dturbografx.c60 static struct tgfx { struct
78 struct tgfx *tgfx = from_timer(tgfx, t, timer); in tgfx_timer() local
83 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() local
111 err = mutex_lock_interruptible(&tgfx->sem); in tgfx_open()
[all …]