Home
last modified time | relevance | path

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

/sound/pci/au88x0/
Dau88x0_game.c43 vortex_game_cooked_read(struct gameport *gameport, int *axes, int *buttons) in vortex_game_cooked_read() argument
48 *buttons = (~hwread(vortex->mmio, VORTEX_GAME_LEGACY) >> 4) & 0xf; in vortex_game_cooked_read()
/sound/pci/hda/
Dhda_jack.c396 int err, state, buttons; in snd_hda_jack_add_kctl() local
407 buttons = 0; in snd_hda_jack_add_kctl()
410 buttons |= map->type; in snd_hda_jack_add_kctl()
413 err = snd_jack_new(codec->card, name, type | buttons, in snd_hda_jack_add_kctl()
/sound/usb/
Dmixer_scarlett_gen2.c237 u8 buttons[SCARLETT2_BUTTON_MAX]; member
481 u8 buttons[SCARLETT2_BUTTON_MAX]; member
1006 private->buttons[i] = !!volume_status.buttons[i]; in scarlett2_update_volumes()
1323 ucontrol->value.enumerated.item[0] = private->buttons[elem->control]; in scarlett2_button_ctl_get()
1339 oval = private->buttons[index]; in scarlett2_button_ctl_put()
1345 private->buttons[index] = val; in scarlett2_button_ctl_put()
1895 private->buttons[i] = !!volume_status.buttons[i]; in scarlett2_read_configs()
DKconfig86 Say Y here to support input controllers like buttons, knobs,
/sound/soc/codecs/
Dnau8824.c948 int buttons = 0; in nau8824_button_decode() local
954 buttons |= SND_JACK_BTN_0; in nau8824_button_decode()
956 buttons |= SND_JACK_BTN_1; in nau8824_button_decode()
958 buttons |= SND_JACK_BTN_2; in nau8824_button_decode()
960 buttons |= SND_JACK_BTN_3; in nau8824_button_decode()
962 buttons |= SND_JACK_BTN_4; in nau8824_button_decode()
964 buttons |= SND_JACK_BTN_5; in nau8824_button_decode()
966 return buttons; in nau8824_button_decode()
Dnau8825.c1575 int buttons = 0; in nau8825_button_decode() local
1579 buttons |= SND_JACK_BTN_0; in nau8825_button_decode()
1581 buttons |= SND_JACK_BTN_1; in nau8825_button_decode()
1583 buttons |= SND_JACK_BTN_2; in nau8825_button_decode()
1585 buttons |= SND_JACK_BTN_3; in nau8825_button_decode()
1587 buttons |= SND_JACK_BTN_4; in nau8825_button_decode()
1589 buttons |= SND_JACK_BTN_5; in nau8825_button_decode()
1591 return buttons; in nau8825_button_decode()
/sound/pci/
DKconfig548 bool "Enable input device for es1968 volume buttons"
553 keypresses for the volume buttons connected to the es1968 chip.
554 If you say N the buttons will directly control the master volume.
723 bool "Enable input device for maestro3 volume buttons"
728 keypresses for the volume buttons connected to the maestro3 chip.
729 If you say N the buttons will directly control the master volume.
Dazt3328.c1746 int *buttons in snd_azf3328_gameport_cooked_read() argument
1759 *buttons = (~(val) >> 4) & 0xf; in snd_azf3328_gameport_cooked_read()
1803 axes[0], axes[1], axes[2], axes[3], *buttons); in snd_azf3328_gameport_cooked_read()
Dcs4281.c1202 int *axes, int *buttons) in snd_cs4281_gameport_cooked_read() argument
1214 *buttons = (~jst >> 4) & 0x0F; in snd_cs4281_gameport_cooked_read()
/sound/pci/cs46xx/
Dcs46xx_lib.c2729 static int snd_cs46xx_gameport_cooked_read(struct gameport *gameport, int *axes, int *buttons) in snd_cs46xx_gameport_cooked_read() argument
2741 *buttons = (~jst >> 4) & 0x0F; in snd_cs46xx_gameport_cooked_read()
/sound/pci/trident/
Dtrident_main.c3129 static int snd_trident_gameport_cooked_read(struct gameport *gameport, int *axes, int *buttons) in snd_trident_gameport_cooked_read() argument
3137 *buttons = (~inb(TRID_REG(chip, GAMEPORT_LEGACY)) >> 4) & 0xf; in snd_trident_gameport_cooked_read()