/sound/core/ |
D | sound.c | 64 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 …]
|
D | sound_oss.c | 25 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 …]
|
D | Kconfig | 105 bool "Dynamic device file minor numbers" 107 If you say Y here, the minor numbers of ALSA device files in
|
D | pcm_native.c | 2029 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/ |
D | sb_common.c | 94 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/ |
D | galaxy.c | 114 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/ |
D | sst_ipc.c | 235 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()
|
D | sst.c | 244 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/ |
D | es1688_lib.c | 109 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/ |
D | hal2.c | 772 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/ |
D | sst-baytrail-ipc.c | 119 u8 minor; member 739 init.fw_version.major, init.fw_version.minor, in sst_byt_dsp_init()
|
/sound/soc/intel/atom/ |
D | sst-mfld-dsp.h | 236 u8 minor; /* minor number*/ member
|
/sound/soc/intel/skylake/ |
D | skl-sst-utils.c | 73 u16 minor; member
|
/sound/soc/intel/haswell/ |
D | sst-haswell-ipc.h | 260 u8 minor; member
|
/sound/soc/sof/ |
D | ipc.c | 744 "Firmware info: version %d:%d:%d-%s\n", v->major, v->minor, in snd_sof_ipc_valid()
|
D | topology.c | 2640 if (SOF_ABI_VER(v->major, v->minor, v->micro) < SOF_ABI_VER(3, 0, 1)) { in sof_link_dmic_load()
|
/sound/core/oss/ |
D | pcm_oss.c | 2355 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()
|