Lines Matching full:axes
286 u16 axes[4]; member
1731 int *axes, in snd_azf3328_gameport_cooked_read() argument
1759 for (i = 0; i < ARRAY_SIZE(chip->axes); ++i) { in snd_azf3328_gameport_cooked_read()
1764 chip->axes[i] = snd_azf3328_game_inw( in snd_azf3328_gameport_cooked_read()
1770 /* trigger next sampling of axes, to be evaluated the next time we in snd_azf3328_gameport_cooked_read()
1774 * Measurement Ready monitoring for all axes here, in snd_azf3328_gameport_cooked_read()
1776 val = 0x03; /* we're able to monitor axes 1 and 2 only */ in snd_azf3328_gameport_cooked_read()
1782 for (i = 0; i < ARRAY_SIZE(chip->axes); i++) { in snd_azf3328_gameport_cooked_read()
1783 axes[i] = chip->axes[i]; in snd_azf3328_gameport_cooked_read()
1784 if (axes[i] == 0xffff) in snd_azf3328_gameport_cooked_read()
1785 axes[i] = -1; in snd_azf3328_gameport_cooked_read()
1788 dev_dbg(chip->card->dev, "cooked_read: axes %d %d %d %d buttons %d\n", in snd_azf3328_gameport_cooked_read()
1789 axes[0], axes[1], axes[2], axes[3], *buttons); in snd_azf3328_gameport_cooked_read()