Home
last modified time | relevance | path

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

12

/sound/usb/caiaq/
Dinput.c590 struct input_dev *input; in snd_usb_caiaq_input_init() local
593 input = input_allocate_device(); in snd_usb_caiaq_input_init()
594 if (!input) in snd_usb_caiaq_input_init()
600 input->name = cdev->product_name; in snd_usb_caiaq_input_init()
601 input->phys = cdev->phys; in snd_usb_caiaq_input_init()
602 usb_to_input_id(usb_dev, &input->id); in snd_usb_caiaq_input_init()
603 input->dev.parent = &usb_dev->dev; in snd_usb_caiaq_input_init()
605 input_set_drvdata(input, cdev); in snd_usb_caiaq_input_init()
609 input->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_ABS); in snd_usb_caiaq_input_init()
610 input->absbit[0] = BIT_MASK(ABS_X) | BIT_MASK(ABS_Y) | in snd_usb_caiaq_input_init()
[all …]
DMakefile3 snd-usb-caiaq-$(CONFIG_SND_USB_CAIAQ_INPUT) += input.o
/sound/soc/intel/catpt/
Dmessages.c57 struct catpt_alloc_stream_input input; in catpt_ipc_alloc_stream() local
66 size = sizeof(input) + arrsz; in catpt_ipc_alloc_stream()
72 memset(&input, 0, sizeof(input)); in catpt_ipc_alloc_stream()
73 input.path_id = path_id; in catpt_ipc_alloc_stream()
74 input.stream_type = type; in catpt_ipc_alloc_stream()
75 input.format_id = CATPT_FORMAT_PCM; in catpt_ipc_alloc_stream()
76 input.input_format = *afmt; in catpt_ipc_alloc_stream()
77 input.ring_info = *rinfo; in catpt_ipc_alloc_stream()
78 input.num_entries = num_modules; in catpt_ipc_alloc_stream()
79 input.persistent_mem.offset = catpt_to_dsp_offset(persistent->start); in catpt_ipc_alloc_stream()
[all …]
/sound/pci/ctxfi/
Dctamixer.c60 amixer->input = rsc; in amixer_set_input()
113 struct rsc *input; in amixer_commit_write() local
117 input = amixer->input; in amixer_commit_write()
122 if (input) in amixer_commit_write()
123 input->ops->master(input); in amixer_commit_write()
130 if (input) { in amixer_commit_write()
132 input->ops->output_slot(input)); in amixer_commit_write()
133 input->ops->next_conj(input); in amixer_commit_write()
145 if (input) in amixer_commit_write()
146 input->ops->master(input); in amixer_commit_write()
[all …]
Dctdaio.c156 static int dao_set_left_input(struct dao *dao, struct rsc *input) in dao_set_left_input() argument
168 input->ops->master(input); in dao_set_left_input()
171 entry->slot = input->ops->output_slot(input); in dao_set_left_input()
176 input->ops->next_conj(input); in dao_set_left_input()
179 input->ops->master(input); in dao_set_left_input()
185 static int dao_set_right_input(struct dao *dao, struct rsc *input) in dao_set_right_input() argument
197 input->ops->master(input); in dao_set_right_input()
200 entry->slot = input->ops->output_slot(input); in dao_set_right_input()
205 input->ops->next_conj(input); in dao_set_right_input()
208 input->ops->master(input); in dao_set_right_input()
Dctamixer.h55 struct rsc *input; /* pointer to a resource acting as source */ member
68 int (*setup)(struct amixer *amixer, struct rsc *input,
Dctdaio.h74 int (*set_left_input)(struct dao *dao, struct rsc *input);
75 int (*set_right_input)(struct dao *dao, struct rsc *input);
Dctsrc.c616 static int srcimp_map(struct srcimp *srcimp, struct src *src, struct rsc *input) in srcimp_map() argument
623 input->ops->master(input); in srcimp_map()
628 entry->slot = input->ops->output_slot(input); in srcimp_map()
635 input->ops->next_conj(input); in srcimp_map()
639 input->ops->master(input); in srcimp_map()
/sound/core/
Drawmidi_compat.c39 if (!rfile->input) in snd_rawmidi_ioctl_params_compat()
41 return snd_rawmidi_input_params(rfile->input, &params); in snd_rawmidi_ioctl_params_compat()
73 if (!rfile->input) in snd_rawmidi_ioctl_status_compat64()
75 err = snd_rawmidi_input_status(rfile->input, &status); in snd_rawmidi_ioctl_status_compat64()
Drawmidi.c335 rfile->input = rfile->output = NULL; in rawmidi_open_priv()
366 rfile->input = sinput; in rawmidi_open_priv()
484 if (rawmidi_file->input && rawmidi_file->input->runtime) in snd_rawmidi_open()
485 rawmidi_file->input->runtime->oss = (maj == SOUND_MAJOR); in snd_rawmidi_open()
542 if (rfile->input) { in rawmidi_release_priv()
543 close_substream(rmidi, rfile->input, 1); in rawmidi_release_priv()
544 rfile->input = NULL; in rawmidi_release_priv()
795 if (rfile->input == NULL) in snd_rawmidi_ioctl_status32()
797 err = snd_rawmidi_input_status(rfile->input, &status64); in snd_rawmidi_ioctl_status32()
835 if (rfile->input == NULL) in snd_rawmidi_ioctl_status64()
[all …]
/sound/pci/echoaudio/
Dgina20_dsp.c180 static int set_input_gain(struct echoaudio *chip, u16 input, int gain) in set_input_gain() argument
182 if (snd_BUG_ON(input >= num_busses_in(chip))) in set_input_gain()
188 chip->input_gain[input] = gain; in set_input_gain()
190 chip->comm_page->line_in_level[input] = gain; in set_input_gain()
Dlayla20_dsp.c254 static int set_input_gain(struct echoaudio *chip, u16 input, int gain) in set_input_gain() argument
256 if (snd_BUG_ON(input >= num_busses_in(chip))) in set_input_gain()
262 chip->input_gain[input] = gain; in set_input_gain()
264 chip->comm_page->line_in_level[input] = gain; in set_input_gain()
/sound/firewire/bebob/
Dbebob_stream.c123 u8 addr[AVC_BRIDGECO_ADDR_BYTES], input[7]; in snd_bebob_stream_get_clock_src() local
164 err = avc_bridgeco_get_plug_input(bebob->unit, addr, input); in snd_bebob_stream_get_clock_src()
176 if (input[0] == 0xff) { in snd_bebob_stream_get_clock_src()
182 if (input[0] == AVC_BRIDGECO_PLUG_DIR_OUT) { in snd_bebob_stream_get_clock_src()
188 if (input[1] == AVC_BRIDGECO_PLUG_MODE_SUBUNIT && in snd_bebob_stream_get_clock_src()
189 input[2] == 0x0c) { in snd_bebob_stream_get_clock_src()
194 } else if (input[1] == AVC_BRIDGECO_PLUG_MODE_UNIT) { in snd_bebob_stream_get_clock_src()
195 if (input[2] == AVC_BRIDGECO_PLUG_UNIT_ISOC) { in snd_bebob_stream_get_clock_src()
196 if (input[3] == 0x00) { in snd_bebob_stream_get_clock_src()
215 } else if (input[2] == AVC_BRIDGECO_PLUG_UNIT_EXT) { in snd_bebob_stream_get_clock_src()
[all …]
/sound/pci/hda/
Dhda_auto_parser.c538 int input) in check_mic_location_need() argument
543 defc = snd_hda_codec_get_pincfg(codec, cfg->inputs[input].pin); in check_mic_location_need()
575 int input) in hda_get_autocfg_input_label() argument
577 int type = cfg->inputs[input].type; in hda_get_autocfg_input_label()
580 if ((input > 0 && cfg->inputs[input - 1].type == type) || in hda_get_autocfg_input_label()
581 (input < cfg->num_inputs - 1 && cfg->inputs[input + 1].type == type)) in hda_get_autocfg_input_label()
584 has_multiple_pins &= check_mic_location_need(codec, cfg, input); in hda_get_autocfg_input_label()
586 return hda_get_input_pin_label(codec, &cfg->inputs[input], in hda_get_autocfg_input_label()
587 cfg->inputs[input].pin, in hda_get_autocfg_input_label()
/sound/firewire/oxfw/
Doxfw-scs1x.c19 struct snd_rawmidi_substream *input; member
114 stream = READ_ONCE(scs->input); in handle_hss()
293 WRITE_ONCE(scs->input, stream); in midi_capture_trigger()
295 WRITE_ONCE(scs->input, NULL); in midi_capture_trigger()
/sound/soc/meson/
DKconfig49 Select Y or M to add support for TDM input formatter embedded
89 Select Y or M to add support for SPDIF input embedded
97 Select Y or M to add support for PDM input embedded
/sound/soc/img/
DKconfig36 Say Y or M if you want to add support for SPDIF input driver for
37 Imagination Technologies SPDIF input device.
/sound/soc/uniphier/
DKconfig28 input and output that can be used with other codecs.
38 input and output that can be used with other codecs.
/sound/drivers/mpu401/
Dmpu401_uart.c173 static void snd_mpu401_uart_add_timer (struct snd_mpu401 *mpu, int input) in snd_mpu401_uart_add_timer() argument
182 mpu->timer_invoked |= input ? MPU401_MODE_INPUT_TIMER : in snd_mpu401_uart_add_timer()
190 static void snd_mpu401_uart_remove_timer (struct snd_mpu401 *mpu, int input) in snd_mpu401_uart_remove_timer() argument
196 mpu->timer_invoked &= input ? ~MPU401_MODE_INPUT_TIMER : in snd_mpu401_uart_remove_timer()
/sound/core/seq/
Dseq_midi.c179 runtime = msynth->input_rfile.input->runtime; in midisynth_subscribe()
183 err = snd_rawmidi_input_params(msynth->input_rfile.input, &params); in midisynth_subscribe()
191 snd_rawmidi_kernel_read(msynth->input_rfile.input, NULL, 0); in midisynth_subscribe()
201 if (snd_BUG_ON(!msynth->input_rfile.input)) in midisynth_unsubscribe()
Dseq_virmidi.c130 unsigned char input; in snd_vmidi_output_work() local
144 if (snd_rawmidi_transmit(substream, &input, 1) != 1) in snd_vmidi_output_work()
146 if (!snd_midi_event_encode_byte(vmidi->parser, input, in snd_vmidi_output_work()
/sound/usb/
Dmidi.c86 void (*input)(struct snd_usb_midi_in_endpoint*, uint8_t*, int); member
245 ep->umidi->usb_protocol_ops->input(ep, urb->transfer_buffer, in snd_usbmidi_in_urb_complete()
660 .input = snd_usbmidi_standard_input,
666 .input = snd_usbmidi_midiman_input,
673 .input = snd_usbmidi_maudio_broken_running_status_input,
679 .input = snd_usbmidi_cme_input,
685 .input = ch345_broken_sysex_input,
785 .input = snd_usbmidi_akai_input,
825 .input = snd_usbmidi_novation_input,
857 .input = snd_usbmidi_raw_input,
[all …]
/sound/drivers/
Dmtpav.c118 struct snd_rawmidi_substream *input; member
344 portp->input = substream; in snd_mtpav_input_open()
362 portp->input = NULL; in snd_mtpav_input_close()
494 snd_rawmidi_receive(portp->input, &inbyte, 1); in snd_mtpav_inmidi_process()
/sound/soc/tegra/
DKconfig73 to interface with Pulse Density Modulation (PDM) input devices.
92 converts the multi-bit Pulse Code Modulation (PCM) audio input to
95 that up-samples the input to the desired sampling rate by
96 interpolation and then converts the oversampled PCM input to
/sound/firewire/fireworks/
Dfireworks_proc.c12 get_phys_name(struct snd_efw_phys_grp *grp, bool input) in get_phys_name() argument
21 else if (input) in get_phys_name()

12