Home
last modified time | relevance | path

Searched refs:minor (Results 1 – 17 of 17) sorted by relevance

/sound/core/
Dsound.c64 static void snd_request_other(int minor) in snd_request_other() argument
68 switch (minor) { in snd_request_other()
93 void *snd_lookup_minor_data(unsigned int minor, int type) in snd_lookup_minor_data() argument
98 if (minor >= ARRAY_SIZE(snd_minors)) in snd_lookup_minor_data()
101 mreg = snd_minors[minor]; in snd_lookup_minor_data()
114 static struct snd_minor *autoload_device(unsigned int minor) in autoload_device() argument
118 dev = SNDRV_MINOR_DEVICE(minor); in autoload_device()
121 int card = SNDRV_MINOR_CARD(minor); in autoload_device()
129 snd_request_other(minor); in autoload_device()
132 return snd_minors[minor]; in autoload_device()
[all …]
Dsound_oss.c25 void *snd_lookup_oss_minor_data(unsigned int minor, int type) in snd_lookup_oss_minor_data() argument
30 if (minor >= ARRAY_SIZE(snd_oss_minors)) in snd_lookup_oss_minor_data()
33 mreg = snd_oss_minors[minor]; in snd_lookup_oss_minor_data()
47 int minor; in snd_oss_kernel_minor() local
53 minor = SNDRV_MINOR_OSS(card->number, (dev ? SNDRV_MINOR_OSS_MIXER1 : SNDRV_MINOR_OSS_MIXER)); in snd_oss_kernel_minor()
56 minor = SNDRV_MINOR_OSS_SEQUENCER; in snd_oss_kernel_minor()
59 minor = SNDRV_MINOR_OSS_MUSIC; in snd_oss_kernel_minor()
64 minor = SNDRV_MINOR_OSS(card->number, (dev ? SNDRV_MINOR_OSS_PCM1 : SNDRV_MINOR_OSS_PCM)); in snd_oss_kernel_minor()
69 minor = SNDRV_MINOR_OSS(card->number, (dev ? SNDRV_MINOR_OSS_MIDI1 : SNDRV_MINOR_OSS_MIDI)); in snd_oss_kernel_minor()
72 minor = SNDRV_MINOR_OSS(card->number, SNDRV_MINOR_OSS_DMFM); in snd_oss_kernel_minor()
[all …]
DKconfig105 bool "Dynamic device file minor numbers"
107 If you say Y here, the minor numbers of ALSA device files in
Dpcm_native.c2029 unsigned int minor; in is_pcm_file() local
2033 minor = iminor(inode); in is_pcm_file()
2034 pcm = snd_lookup_minor_data(minor, SNDRV_DEVICE_TYPE_PCM_PLAYBACK); in is_pcm_file()
2036 pcm = snd_lookup_minor_data(minor, SNDRV_DEVICE_TYPE_PCM_CAPTURE); in is_pcm_file()
/sound/isa/sb/
Dsb_common.c94 int major, minor; in snd_sbdsp_probe() local
114 minor = version & 0xff; in snd_sbdsp_probe()
116 chip->port, major, minor); in snd_sbdsp_probe()
126 if (minor) { in snd_sbdsp_probe()
144 chip->port, major, minor); in snd_sbdsp_probe()
167 chip->version = (major << 8) | minor; in snd_sbdsp_probe()
/sound/isa/galaxy/
Dgalaxy.c114 static int dsp_get_version(void __iomem *port, u8 *major, u8 *minor) in dsp_get_version() argument
126 err = dsp_get_byte(port, minor); in dsp_get_version()
375 u8 minor; in galaxy_init() local
382 err = dsp_get_version(galaxy->port, &major, &minor); in galaxy_init()
386 if (major != GALAXY_DSP_MAJOR || minor != GALAXY_DSP_MINOR) in galaxy_init()
/sound/soc/intel/atom/sst/
Dsst_ipc.c235 init->fw_version.minor, init->fw_version.build); in process_fw_init()
242 sst_drv_ctx->fw_version.minor = init->fw_version.minor; in process_fw_init()
Dsst.c244 ctx->fw_version.minor == 0 && ctx->fw_version.build == 0) in firmware_version_show()
249 ctx->fw_version.minor, ctx->fw_version.build); in firmware_version_show()
/sound/isa/es1688/
Des1688_lib.c109 unsigned short major, minor; in snd_es1688_probe() local
136 for (i = 1000, major = minor = 0; i; i--) { in snd_es1688_probe()
141 minor = inb(ES1688P(chip, READ)); in snd_es1688_probe()
148 snd_printdd("ESS: [0x%lx] found.. major = 0x%x, minor = 0x%x\n", chip->port, major, minor); in snd_es1688_probe()
150 chip->version = (major << 8) | minor; in snd_es1688_probe()
/sound/mips/
Dhal2.c772 unsigned short board, major, minor; in hal2_detect() local
790 minor = (rev & H2_REV_MINOR_CHIP_M); in hal2_detect()
793 board, major, minor); in hal2_detect()
/sound/soc/intel/baytrail/
Dsst-baytrail-ipc.c119 u8 minor; member
739 init.fw_version.major, init.fw_version.minor, in sst_byt_dsp_init()
/sound/soc/intel/atom/
Dsst-mfld-dsp.h236 u8 minor; /* minor number*/ member
/sound/soc/intel/skylake/
Dskl-sst-utils.c73 u16 minor; member
/sound/soc/intel/haswell/
Dsst-haswell-ipc.h260 u8 minor; member
/sound/soc/sof/
Dipc.c744 "Firmware info: version %d:%d:%d-%s\n", v->major, v->minor, in snd_sof_ipc_valid()
Dtopology.c2640 if (SOF_ABI_VER(v->major, v->minor, v->micro) < SOF_ABI_VER(3, 0, 1)) { in sof_link_dmic_load()
/sound/core/oss/
Dpcm_oss.c2355 int minor) in snd_pcm_oss_init_substream() argument
2370 switch (SNDRV_MINOR_OSS_DEVICE(minor)) { in snd_pcm_oss_init_substream()
2405 int minor, in snd_pcm_oss_open_file() argument
2444 snd_pcm_oss_init_substream(substream, &setup[idx], minor); in snd_pcm_oss_open_file()