Home
last modified time | relevance | path

Searched refs:input (Results 1 – 25 of 41) sorted by relevance

12

/sound/usb/caiaq/
Dinput.c603 struct input_dev *input; in snd_usb_caiaq_input_init() local
606 input = input_allocate_device(); in snd_usb_caiaq_input_init()
607 if (!input) in snd_usb_caiaq_input_init()
613 input->name = cdev->product_name; in snd_usb_caiaq_input_init()
614 input->phys = cdev->phys; in snd_usb_caiaq_input_init()
615 usb_to_input_id(usb_dev, &input->id); in snd_usb_caiaq_input_init()
616 input->dev.parent = &usb_dev->dev; in snd_usb_caiaq_input_init()
618 input_set_drvdata(input, cdev); in snd_usb_caiaq_input_init()
622 input->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_ABS); in snd_usb_caiaq_input_init()
623 input->absbit[0] = BIT_MASK(ABS_X) | BIT_MASK(ABS_Y) | in snd_usb_caiaq_input_init()
[all …]
DMakefile2 snd-usb-caiaq-$(CONFIG_SND_USB_CAIAQ_INPUT) += input.o
/sound/pci/ctxfi/
Dctamixer.c65 amixer->input = rsc; in amixer_set_input()
118 struct rsc *input; in amixer_commit_write() local
122 input = amixer->input; in amixer_commit_write()
127 if (input) in amixer_commit_write()
128 input->ops->master(input); in amixer_commit_write()
135 if (input) { in amixer_commit_write()
137 input->ops->output_slot(input)); in amixer_commit_write()
138 input->ops->next_conj(input); in amixer_commit_write()
150 if (input) in amixer_commit_write()
151 input->ops->master(input); in amixer_commit_write()
[all …]
Dctdaio.c160 static int dao_set_left_input(struct dao *dao, struct rsc *input) in dao_set_left_input() argument
172 input->ops->master(input); in dao_set_left_input()
175 entry->slot = input->ops->output_slot(input); in dao_set_left_input()
180 input->ops->next_conj(input); in dao_set_left_input()
183 input->ops->master(input); in dao_set_left_input()
189 static int dao_set_right_input(struct dao *dao, struct rsc *input) in dao_set_right_input() argument
201 input->ops->master(input); in dao_set_right_input()
204 entry->slot = input->ops->output_slot(input); in dao_set_right_input()
209 input->ops->next_conj(input); in dao_set_right_input()
212 input->ops->master(input); in dao_set_right_input()
Dctamixer.h59 struct rsc *input; /* pointer to a resource acting as source */ member
72 int (*setup)(struct amixer *amixer, struct rsc *input,
Dctdaio.h78 int (*set_left_input)(struct dao *dao, struct rsc *input);
79 int (*set_right_input)(struct dao *dao, struct rsc *input);
Dctsrc.c621 static int srcimp_map(struct srcimp *srcimp, struct src *src, struct rsc *input) in srcimp_map() argument
628 input->ops->master(input); in srcimp_map()
633 entry->slot = input->ops->output_slot(input); in srcimp_map()
640 input->ops->next_conj(input); in srcimp_map()
644 input->ops->master(input); in srcimp_map()
/sound/pci/echoaudio/
Dgina20_dsp.c182 static int set_input_gain(struct echoaudio *chip, u16 input, int gain) in set_input_gain() argument
184 if (snd_BUG_ON(input >= num_busses_in(chip))) in set_input_gain()
190 chip->input_gain[input] = gain; in set_input_gain()
192 chip->comm_page->line_in_level[input] = gain; in set_input_gain()
Dlayla20_dsp.c257 static int set_input_gain(struct echoaudio *chip, u16 input, int gain) in set_input_gain() argument
259 if (snd_BUG_ON(input >= num_busses_in(chip))) in set_input_gain()
265 chip->input_gain[input] = gain; in set_input_gain()
267 chip->comm_page->line_in_level[input] = gain; in set_input_gain()
/sound/pci/hda/
Dhda_auto_parser.c527 int input) in check_mic_location_need() argument
532 defc = snd_hda_codec_get_pincfg(codec, cfg->inputs[input].pin); in check_mic_location_need()
561 int input) in hda_get_autocfg_input_label() argument
563 int type = cfg->inputs[input].type; in hda_get_autocfg_input_label()
566 if ((input > 0 && cfg->inputs[input - 1].type == type) || in hda_get_autocfg_input_label()
567 (input < cfg->num_inputs - 1 && cfg->inputs[input + 1].type == type)) in hda_get_autocfg_input_label()
570 has_multiple_pins &= check_mic_location_need(codec, cfg, input); in hda_get_autocfg_input_label()
571 return hda_get_input_pin_label(codec, &cfg->inputs[input], in hda_get_autocfg_input_label()
572 cfg->inputs[input].pin, in hda_get_autocfg_input_label()
Dhda_auto_parser.h47 int input);
/sound/core/
Drawmidi.c295 rfile->input = rfile->output = NULL; in rawmidi_open_priv()
326 rfile->input = sinput; in rawmidi_open_priv()
455 if (rawmidi_file->input && rawmidi_file->input->runtime) in snd_rawmidi_open()
456 rawmidi_file->input->runtime->oss = (maj == SOUND_MAJOR); in snd_rawmidi_open()
513 if (rfile->input) { in rawmidi_release_priv()
514 close_substream(rmidi, rfile->input, 1); in rawmidi_release_priv()
515 rfile->input = NULL; in rawmidi_release_priv()
748 return snd_rawmidi_info_user(rfile->input, info); in snd_rawmidi_ioctl()
766 if (rfile->input == NULL) in snd_rawmidi_ioctl()
768 return snd_rawmidi_input_params(rfile->input, &params); in snd_rawmidi_ioctl()
[all …]
Drawmidi_compat.c51 return snd_rawmidi_input_params(rfile->input, &params); in snd_rawmidi_ioctl_params_compat()
80 err = snd_rawmidi_input_status(rfile->input, &status); in snd_rawmidi_ioctl_status_compat()
126 err = snd_rawmidi_input_status(rfile->input, &status); in snd_rawmidi_ioctl_status_x32()
/sound/oss/
Dpas2_midi.c36 void (*input) (int dev, unsigned char data), in pas_midi_open()
67 midi_input_intr = input; in pas_midi_open()
Dsb_midi.c32 void (*input) (int dev, unsigned char data), in sb_midi_open()
66 devc->midi_input_intr = input; in sb_midi_open()
Duart6850.c141 void (*input) (int dev, unsigned char data), in uart6850_open()
153 midi_input_intr = input; in uart6850_open()
Dv_midi.c44 void (*input) (int dev, unsigned char data), in v_midi_open()
68 devc->midi_input_intr = input; in v_midi_open()
/sound/firewire/bebob/
Dbebob_stream.c125 u8 addr[AVC_BRIDGECO_ADDR_BYTES], input[7]; in snd_bebob_stream_check_internal_clock() local
170 err = avc_bridgeco_get_plug_input(bebob->unit, addr, input); in snd_bebob_stream_check_internal_clock()
182 if (input[0] == 0xff) { in snd_bebob_stream_check_internal_clock()
191 *internal = ((input[0] == AVC_BRIDGECO_PLUG_DIR_OUT) && in snd_bebob_stream_check_internal_clock()
192 (input[1] == AVC_BRIDGECO_PLUG_MODE_SUBUNIT) && in snd_bebob_stream_check_internal_clock()
193 (input[2] == 0x0c) && in snd_bebob_stream_check_internal_clock()
194 (input[3] == 0x00)); in snd_bebob_stream_check_internal_clock()
Dbebob_command.c209 u8 addr[AVC_BRIDGECO_ADDR_BYTES], u8 input[7]) in avc_bridgeco_get_plug_input()
235 memcpy(input, buf + 10, 5); in avc_bridgeco_get_plug_input()
/sound/drivers/mpu401/
Dmpu401_uart.c189 static void snd_mpu401_uart_add_timer (struct snd_mpu401 *mpu, int input) in snd_mpu401_uart_add_timer() argument
201 mpu->timer_invoked |= input ? MPU401_MODE_INPUT_TIMER : in snd_mpu401_uart_add_timer()
209 static void snd_mpu401_uart_remove_timer (struct snd_mpu401 *mpu, int input) in snd_mpu401_uart_remove_timer() argument
215 mpu->timer_invoked &= input ? ~MPU401_MODE_INPUT_TIMER : in snd_mpu401_uart_remove_timer()
/sound/firewire/
Dscs1x.c45 struct snd_rawmidi_substream *input; member
260 ACCESS_ONCE(scs->input) = up ? stream : NULL; in scs_input_trigger()
356 stream = ACCESS_ONCE(scs->input); in handle_hss()
477 ACCESS_ONCE(scs->input) = NULL; in scs_remove()
/sound/core/seq/
Dseq_midi.c195 runtime = msynth->input_rfile.input->runtime; in midisynth_subscribe()
199 if ((err = snd_rawmidi_input_params(msynth->input_rfile.input, &params)) < 0) { in midisynth_subscribe()
206 snd_rawmidi_kernel_read(msynth->input_rfile.input, NULL, 0); in midisynth_subscribe()
216 if (snd_BUG_ON(!msynth->input_rfile.input)) in midisynth_unsubscribe()
/sound/usb/
Dmidi.c102 void (*input)(struct snd_usb_midi_in_endpoint*, uint8_t*, int); member
259 ep->umidi->usb_protocol_ops->input(ep, urb->transfer_buffer, in snd_usbmidi_in_urb_complete()
640 .input = snd_usbmidi_standard_input,
646 .input = snd_usbmidi_midiman_input,
652 .input = snd_usbmidi_maudio_broken_running_status_input,
658 .input = snd_usbmidi_cme_input,
758 .input = snd_usbmidi_akai_input,
798 .input = snd_usbmidi_novation_input,
830 .input = snd_usbmidi_raw_input,
846 .input = snd_usbmidi_ftdi_input,
[all …]
/sound/drivers/
Dmtpav.c135 struct snd_rawmidi_substream *input; member
361 portp->input = substream; in snd_mtpav_input_open()
379 portp->input = NULL; in snd_mtpav_input_close()
513 snd_rawmidi_receive(portp->input, &inbyte, 1); in snd_mtpav_inmidi_process()
/sound/firewire/fireworks/
Dfireworks_proc.c13 get_phys_name(struct snd_efw_phys_grp *grp, bool input) in get_phys_name() argument
22 else if (input) in get_phys_name()

12