Home
last modified time | relevance | path

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

/sound/core/
Dsound.c70 static void snd_request_other(int minor) in snd_request_other() argument
74 switch (minor) { in snd_request_other()
99 void *snd_lookup_minor_data(unsigned int minor, int type) in snd_lookup_minor_data() argument
104 if (minor >= ARRAY_SIZE(snd_minors)) in snd_lookup_minor_data()
107 mreg = snd_minors[minor]; in snd_lookup_minor_data()
120 static struct snd_minor *autoload_device(unsigned int minor) in autoload_device() argument
124 dev = SNDRV_MINOR_DEVICE(minor); in autoload_device()
127 int card = SNDRV_MINOR_CARD(minor); in autoload_device()
135 snd_request_other(minor); in autoload_device()
138 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.c2233 unsigned int minor; in is_pcm_file() local
2237 minor = iminor(inode); in is_pcm_file()
2238 pcm = snd_lookup_minor_data(minor, SNDRV_DEVICE_TYPE_PCM_PLAYBACK); in is_pcm_file()
2240 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.c234 init->fw_version.minor, init->fw_version.build); in process_fw_init()
241 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/soc/intel/avs/
Dloader.c120 man->version.minor != min->minor || in avs_fw_manifest_strip_verify()
124 man->version.major, man->version.minor, in avs_fw_manifest_strip_verify()
126 min->major, min->minor, min->hotfix, min->build); in avs_fw_manifest_strip_verify()
Dcore.c663 .minor = 21,
679 .minor = 22,
Dmessages.h379 u16 minor; member
/sound/soc/intel/catpt/
Dsysfs.c31 version.minor, version.build); in fw_version_show()
Dmessages.h62 u8 minor; member
/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/soc/fsl/
Dimx-pcm-rpmsg.h370 u8 minor; member
Dimx-pcm-rpmsg.c710 info->msg[i].s_msg.header.minor = IMX_RMPSG_MINOR; in imx_rpmsg_pcm_probe()
/sound/mips/
Dhal2.c744 unsigned short board, major, minor; in hal2_detect() local
762 minor = (rev & H2_REV_MINOR_CHIP_M); in hal2_detect()
765 board, major, minor); in hal2_detect()
/sound/soc/sof/
Dipc4-loader.c194 fw_ver->major, fw_ver->minor, fw_ver->hotfix, in sof_ipc4_query_fw_configuration()
Dipc3.c526 cc->name, cc->major, cc->minor, cc->micro, cc->desc, cc->optim); in sof_ipc3_get_cc_info()
748 "Firmware info: version %d:%d:%d-%s\n", v->major, v->minor, in sof_ipc3_validate_fw_version()
Dipc3-topology.c1412 if (SOF_ABI_VER(v->major, v->minor, v->micro) < SOF_ABI_VER(3, 0, 1)) in sof_link_dmic_load()
2295 SOF_FW_VER(v->major, v->minor, v->micro) < SOF_FW_VER(2, 2, 0)) { in sof_ipc3_tear_down_all_pipelines()
2312 if (!verify && (dyn_widgets || SOF_FW_VER(v->major, v->minor, v->micro) >= in sof_ipc3_tear_down_all_pipelines()
/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/core/oss/
Dpcm_oss.c2372 int minor) in snd_pcm_oss_init_substream() argument
2387 switch (SNDRV_MINOR_OSS_DEVICE(minor)) { in snd_pcm_oss_init_substream()
2422 int minor, in snd_pcm_oss_open_file() argument
2461 snd_pcm_oss_init_substream(substream, &setup[idx], minor); in snd_pcm_oss_open_file()