Searched refs:SW_LENGTH (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/input/joystick/ |
H A D | sidewinder.c | 40 #define SW_LENGTH 512 /* Max number of bits in a packet */ macro 408 unsigned char buf[SW_LENGTH]; in sw_read() 472 i = sw_read_packet(sw->gameport, buf, SW_LENGTH, 0); /* Read normal data packet */ in sw_read() 581 buf = kmalloc(SW_LENGTH, GFP_KERNEL); in sw_connect() 582 idbuf = kmalloc(SW_LENGTH, GFP_KERNEL); in sw_connect() 599 i = sw_read_packet(gameport, buf, SW_LENGTH, 0); /* Read normal packet */ in sw_connect() 606 i = sw_read_packet(gameport, buf, SW_LENGTH, 0); /* Retry reading packet */ in sw_connect() 615 j = sw_read_packet(gameport, idbuf, SW_LENGTH, i); /* Read ID. This initializes the stick */ in sw_connect() 621 i = sw_read_packet(gameport, buf, SW_LENGTH, 0); /* Retry reading packet */ in sw_connect() 629 j = sw_read_packet(gameport, idbuf, SW_LENGTH, i); /* Retry reading ID */ in sw_connect() [all …]
|