Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/input/joystick/
Dsidewinder.c43 #define SW_LENGTH 512 /* Max number of bits in a packet */ macro
411 unsigned char buf[SW_LENGTH]; in sw_read()
475 i = sw_read_packet(sw->gameport, buf, SW_LENGTH, 0); /* Read normal data packet */ in sw_read()
477 sw_read_packet(sw->gameport, buf, SW_LENGTH, i); /* Read ID packet, this initializes the stick */ in sw_read()
584 buf = kmalloc(SW_LENGTH, GFP_KERNEL); in sw_connect()
585 idbuf = kmalloc(SW_LENGTH, GFP_KERNEL); in sw_connect()
602 i = sw_read_packet(gameport, buf, SW_LENGTH, 0); /* Read normal packet */ in sw_connect()
609 i = sw_read_packet(gameport, buf, SW_LENGTH, 0); /* Retry reading packet */ in sw_connect()
618 j = sw_read_packet(gameport, idbuf, SW_LENGTH, i); /* Read ID. This initializes the stick */ in sw_connect()
624 i = sw_read_packet(gameport, buf, SW_LENGTH, 0); /* Retry reading packet */ in sw_connect()
[all …]