Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/input/joystick/
Dsidewinder.c131 static int sw_read_packet(struct gameport *gameport, unsigned char *buf, int length, int id) in sw_read_packet() function
426 i = sw_read_packet(sw->gameport, buf, sw->length, 0); 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()
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()
644 j = sw_read_packet(gameport, idbuf, SW_LENGTH, i); /* Retry reading ID */ in sw_connect()
655 i = sw_read_packet(gameport, buf, SW_LENGTH, 0); /* Read data packet */ in sw_connect()