Searched refs:jst (Results 1 – 2 of 2) sorted by relevance
1188 unsigned js1, js2, jst; in snd_cs4281_gameport_cooked_read() local1195 jst = snd_cs4281_peekBA0(chip, BA0_JSPT); in snd_cs4281_gameport_cooked_read()1197 *buttons = (~jst >> 4) & 0x0F; in snd_cs4281_gameport_cooked_read()1204 for (jst = 0; jst < 4; ++jst) in snd_cs4281_gameport_cooked_read()1205 if (axes[jst] == 0xFFFF) axes[jst] = -1; in snd_cs4281_gameport_cooked_read()
2726 unsigned js1, js2, jst; in snd_cs46xx_gameport_cooked_read() local2733 jst = snd_cs46xx_peekBA0(chip, BA0_JSPT); in snd_cs46xx_gameport_cooked_read()2735 *buttons = (~jst >> 4) & 0x0F; in snd_cs46xx_gameport_cooked_read()2742 for(jst=0;jst<4;++jst) in snd_cs46xx_gameport_cooked_read()2743 if(axes[jst]==0xFFFF) axes[jst] = -1; in snd_cs46xx_gameport_cooked_read()