Home
last modified time | relevance | path

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

/linux/drivers/input/joystick/
H A Dturbografx.c57 static struct tgfx { struct
75 struct tgfx *tgfx = from_timer(tgfx, t, timer); in tgfx_timer() argument
80 if (tgfx->sticks & (1 << i)) { in tgfx_timer()
82 dev = tgfx->dev[i]; in tgfx_timer()
84 parport_write_data(tgfx->pd->port, ~(1 << i)); in tgfx_timer()
85 data1 = parport_read_status(tgfx->pd->port) ^ 0x7f; in tgfx_timer()
86 data2 = parport_read_control(tgfx->pd->port) ^ 0x04; /* CAVEAT parport */ in tgfx_timer()
100 mod_timer(&tgfx->timer, jiffies + TGFX_REFRESH_TIME); in tgfx_timer()
105 struct tgfx *tgfx = input_get_drvdata(dev); in tgfx_open() local
107 scoped_guard(mutex_intr, &tgfx->sem) { in tgfx_open()
[all …]