Searched refs:buttons (Results 1 – 11 of 11) sorted by relevance
/sound/pci/au88x0/ |
D | au88x0_game.c | 43 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/ |
D | hda_jack.c | 396 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/ |
D | mixer_scarlett_gen2.c | 237 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()
|
D | Kconfig | 86 Say Y here to support input controllers like buttons, knobs,
|
/sound/soc/codecs/ |
D | nau8824.c | 948 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()
|
D | nau8825.c | 1575 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/ |
D | Kconfig | 548 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.
|
D | azt3328.c | 1746 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()
|
D | cs4281.c | 1202 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/ |
D | cs46xx_lib.c | 2729 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/ |
D | trident_main.c | 3129 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()
|