Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/input/joystick/
Dsidewinder.c55 #define SW_LENGTH 512 /* Max number of bits in a packet */ macro
423 unsigned char buf[SW_LENGTH]; in sw_read()
487 i = sw_read_packet(sw->gameport, buf, SW_LENGTH, 0); /* Read normal data packet */ in sw_read()
489 sw_read_packet(sw->gameport, buf, SW_LENGTH, i); /* Read ID packet, this initializes the stick */ in sw_read()
596 buf = kmalloc(SW_LENGTH, GFP_KERNEL); in sw_connect()
597 idbuf = kmalloc(SW_LENGTH, GFP_KERNEL); in sw_connect()
614 i = sw_read_packet(gameport, buf, SW_LENGTH, 0); /* Read normal packet */ in sw_connect()
621 i = sw_read_packet(gameport, buf, SW_LENGTH, 0); /* Retry reading packet */ in sw_connect()
630 j = sw_read_packet(gameport, idbuf, SW_LENGTH, i); /* Read ID. This initializes the stick */ in sw_connect()
636 i = sw_read_packet(gameport, buf, SW_LENGTH, 0); /* Retry reading packet */ in sw_connect()
[all …]