Searched refs:sw_read_packet (Results 1 - 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/drivers/input/joystick/ |
H A D | sidewinder.c | 114 * sw_read_packet() is a function which reads either a data packet, or an 119 static int sw_read_packet(struct gameport *gameport, unsigned char *buf, int length, int id) in sw_read_packet() function 414 i = sw_read_packet(sw->gameport, buf, sw->length, 0); 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() 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() 632 j = sw_read_packet(gamepor in sw_connect() [all...] |
/kernel/linux/linux-6.6/drivers/input/joystick/ |
H A D | sidewinder.c | 111 * sw_read_packet() is a function which reads either a data packet, or an 116 static int sw_read_packet(struct gameport *gameport, unsigned char *buf, int length, int id) in sw_read_packet() function 411 i = sw_read_packet(sw->gameport, buf, sw->length, 0); in sw_read() 472 i = sw_read_packet(sw->gameport, buf, SW_LENGTH, 0); /* Read normal data packet */ in sw_read() 474 sw_read_packet(sw->gameport, buf, SW_LENGTH, i); /* Read ID packet, this initializes the stick */ in sw_read() 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(gamepor in sw_connect() [all...] |
Completed in 4 milliseconds