Searched refs:input (Results 1 - 25 of 40) sorted by relevance

12

/sound/usb/caiaq/
H A Dinput.c22 #include <linux/usb/input.h>
27 #include "input.h"
493 struct input_dev *input; local
496 input = input_allocate_device();
497 if (!input)
503 input->name = dev->product_name;
504 input->phys = dev->phys;
505 usb_to_input_id(usb_dev, &input->id);
506 input->dev.parent = &usb_dev->dev;
508 input_set_drvdata(input, de
[all...]
H A DMakefile2 snd-usb-caiaq-$(CONFIG_SND_USB_CAIAQ_INPUT) += input.o
/sound/pci/ctxfi/
H A Dctamixer.c65 amixer->input = rsc;
118 struct rsc *input; local
122 input = amixer->input;
127 if (input)
128 input->ops->master(input);
135 if (input) {
137 input->ops->output_slot(input));
179 amixer_setup(struct amixer *amixer, struct rsc *input, unsigned int scale, struct sum *sum) argument
[all...]
H A Dctamixer.h57 struct rsc *input; /* pointer to a resource acting as source */ member in struct:amixer
70 int (*setup)(struct amixer *amixer, struct rsc *input,
H A Dctdaio.h76 int (*set_left_input)(struct dao *dao, struct rsc *input);
77 int (*set_right_input)(struct dao *dao, struct rsc *input);
H A Dctdaio.c71 * For DAO, it is the input mapper index. And, for DAI,
169 static int dao_set_left_input(struct dao *dao, struct rsc *input) argument
181 input->ops->master(input);
184 entry->slot = input->ops->output_slot(input);
189 input->ops->next_conj(input);
192 input->ops->master(input);
198 dao_set_right_input(struct dao *dao, struct rsc *input) argument
[all...]
H A Dctsrc.c619 static int srcimp_map(struct srcimp *srcimp, struct src *src, struct rsc *input) argument
626 input->ops->master(input);
631 entry->slot = input->ops->output_slot(input);
638 input->ops->next_conj(input);
642 input->ops->master(input);
876 /* free src input mappe
[all...]
H A Dctsrc.h115 int (*map)(struct srcimp *srcimp, struct src *user, struct rsc *input);
H A Dcthw20k1.c981 /* S/PDIF input */
985 /* I2S input */
998 /* S/PDIF input */
1002 /* I2S input */
1201 unsigned char input; /* the input source of ADC */ member in struct:adc_conf
1202 unsigned char mic20db; /* boost mic by 20db if input is microphone */
1220 i2sorg = 0x94040404; /* enable all audio out and I2S-D input */
1702 static int adc_init_SB055x(struct hw *hw, int input, int mic20db) argument
1704 return adc_input_select_SB055x(hw, input, mic20d
1707 adc_init_SBx(struct hw *hw, int input, int mic20db) argument
[all...]
/sound/pci/echoaudio/
H A Dgina20_dsp.c181 /* Set input bus gain (one unit is 0.5dB !) */
182 static int set_input_gain(struct echoaudio *chip, u16 input, int gain) argument
184 if (snd_BUG_ON(input >= num_busses_in(chip)))
190 chip->input_gain[input] = gain;
192 chip->comm_page->line_in_level[input] = gain;
H A Dlayla20_dsp.c256 /* Set input bus gain (one unit is 0.5dB !) */
257 static int set_input_gain(struct echoaudio *chip, u16 input, int gain) argument
259 if (snd_BUG_ON(input >= num_busses_in(chip)))
265 chip->input_gain[input] = gain;
267 chip->comm_page->line_in_level[input] = gain;
/sound/core/
H A Drawmidi_compat.c51 return snd_rawmidi_input_params(rfile->input, &params);
80 err = snd_rawmidi_input_status(rfile->input, &status);
H A Drawmidi.c298 rfile->input = rfile->output = NULL;
329 rfile->input = sinput;
451 if (rawmidi_file->input && rawmidi_file->input->runtime)
452 rawmidi_file->input->runtime->oss = (maj == SOUND_MAJOR);
507 if (rfile->input) {
508 close_substream(rmidi, rfile->input, 1);
509 rfile->input = NULL;
729 return snd_rawmidi_info_user(rfile->input, info);
747 if (rfile->input
[all...]
H A Djack.c22 #include <linux/input.h>
42 /* If the input device is registered with the input subsystem
156 * Set the parent for the jack input device in the device tree. This
175 * Map a SND_JACK_BTN_ button type to an input layer key, allowing
182 * access the input device directly - devices with complex input
/sound/pci/cs46xx/imgs/
H A Dcwcdma.asp84 // Load rsConfig for input buffer
87 // Load rsDMA in case input buffer is a DMA buffer Test to see if there is any data to transfer
102 // rsa0 = input buffer pointer
125 // Trigger DMA transfer on input stream,
126 // if needed to replenish input buffer
/sound/oss/
H A Dpas2_midi.c36 void (*input) (int dev, unsigned char data),
49 * Reset input and output FIFO pointers
62 * Enable input available and output FIFO empty interrupts
67 midi_input_intr = input;
71 ctrl |= 0x04; /* Enable input */
H A Dsb_midi.c23 * The DSP channel can be used either for input or output. Variable
32 void (*input) (int dev, unsigned char data),
66 devc->midi_input_intr = input;
H A Duart6850.c115 * It looks like there is no input interrupts in the UART mode. Let's try
141 void (*input) (int dev, unsigned char data),
153 midi_input_intr = input;
156 * Enable input polling
175 * Test for input since pending input seems to block the output.
H A Dv_midi.c35 * The DSP channel can be used either for input or output. Variable
44 void (*input) (int dev, unsigned char data),
68 devc->midi_input_intr = input;
H A Duart401.c117 void (*input) (int dev, unsigned char data),
131 devc->midi_input_intr = input;
156 * Test for input since pending input seems to block the output.
287 * Flush input before enabling interrupts
/sound/drivers/pcsp/
H A Dpcsp_input.c16 #include <linux/input.h>
/sound/core/seq/
H A Dseq_midi.c74 /* handle rawmidi input event (MIDI v1.0 stream) */
179 /* open associated midi device for input */
192 snd_printd("midi input open failed!!!\n");
195 runtime = msynth->input_rfile.input->runtime;
199 if ((err = snd_rawmidi_input_params(msynth->input_rfile.input, &params)) < 0) {
206 snd_rawmidi_kernel_read(msynth->input_rfile.input, NULL, 0);
210 /* close associated midi device for input */
216 if (snd_BUG_ON(!msynth->input_rfile.input))
/sound/drivers/mpu401/
H A Dmpu401_uart.c7 * input is done also via polling. Do not expect good performance.
121 when input is done */
184 static void snd_mpu401_uart_add_timer (struct snd_mpu401 *mpu, int input) argument
196 mpu->timer_invoked |= input ? MPU401_MODE_INPUT_TIMER :
204 static void snd_mpu401_uart_remove_timer (struct snd_mpu401 *mpu, int input) argument
210 mpu->timer_invoked &= input ? ~MPU401_MODE_INPUT_TIMER :
280 * input/output open/close - protected by open_mutex in rawmidi.c
361 * trigger input callback
394 * transfer input pending data
404 break; /* input no
[all...]
/sound/drivers/
H A Dmtpav.c134 struct snd_rawmidi_substream *input; member in struct:mtpav_port
144 int share_irq; /* number of accesses to input interrupts */
151 u32 inmidiport; /* selected input midi port */
360 portp->input = substream;
378 portp->input = NULL;
512 snd_rawmidi_receive(portp->input, &inbyte, 1);
/sound/usb/
H A Dmidi.c101 void (*input)(struct snd_usb_midi_in_endpoint*, uint8_t*, int); member in struct:usb_protocol_ops
256 ep->umidi->usb_protocol_ops->input(ep, urb->transfer_buffer,
423 * Buggy M-Audio device: running status on input results in a packet that has
625 .input = snd_usbmidi_standard_input,
631 .input = snd_usbmidi_midiman_input,
637 .input = snd_usbmidi_maudio_broken_running_status_input,
643 .input = snd_usbmidi_cme_input,
743 .input = snd_usbmidi_akai_input,
783 .input = snd_usbmidi_novation_input,
815 .input
[all...]

Completed in 348 milliseconds

12