Home
last modified time | relevance | path

Searched refs:major (Results 1 – 20 of 20) sorted by relevance

/sound/core/
Dsound.c21 static int major = CONFIG_SND_MAJOR; variable
30 module_param(major, int, 0444);
31 MODULE_PARM_DESC(major, "Major # for sound driver.");
280 device->devt = MKDEV(major, minor); in snd_register_device()
397 snd_major = major; in alsa_sound_init()
399 if (register_chrdev(major, "alsa", &snd_fops)) { in alsa_sound_init()
400 pr_err("ALSA core: unable to register native major device number %d\n", major); in alsa_sound_init()
404 unregister_chrdev(major, "alsa"); in alsa_sound_init()
423 unregister_chrdev(major, "alsa"); in alsa_sound_exit()
Dhwdep.c70 int major = imajor(inode); in snd_hwdep_open() local
75 if (major == snd_major) { in snd_hwdep_open()
79 } else if (major == SOUND_MAJOR) { in snd_hwdep_open()
/sound/isa/sb/
Dsb_common.c94 int major, minor; in snd_sbdsp_probe() local
113 major = version >> 8; in snd_sbdsp_probe()
116 chip->port, major, minor); in snd_sbdsp_probe()
120 switch (major) { 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
122 err = dsp_get_byte(port, major); in dsp_get_version()
374 u8 major; 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.c233 init->fw_version.type, init->fw_version.major, in process_fw_init()
240 sst_drv_ctx->fw_version.major = init->fw_version.major; in process_fw_init()
Dsst.c243 if (ctx->fw_version.type == 0 && ctx->fw_version.major == 0 && in firmware_version_show()
248 ctx->fw_version.type, ctx->fw_version.major, 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()
138 if (major == 0) { in snd_es1688_probe()
139 major = 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/intel/catpt/
Dsysfs.c28 return sprintf(buf, "%d.%d.%d.%d\n", version.type, version.major, in fw_version_show()
Dmessages.h63 u8 major; member
/sound/
DKconfig23 appropriate module using sound-slot/service-* and char-major-*
27 standard char-major-* aliases.
/sound/soc/fsl/
Dimx-pcm-rpmsg.h369 u8 major; member
Dfsl_sai.h240 u32 major; member
Dfsl_sai.c972 sai->verid.major = (val & FSL_SAI_VERID_MAJOR_MASK) >> in fsl_sai_check_version()
1148 sai->verid.major >= 3 && sai->verid.minor >= 1) { in fsl_sai_probe()
Dimx-pcm-rpmsg.c709 info->msg[i].s_msg.header.major = IMX_RMPSG_MAJOR; in imx_rpmsg_pcm_probe()
/sound/mips/
Dhal2.c744 unsigned short board, major, minor; in hal2_detect() local
761 major = (rev & H2_REV_MAJOR_CHIP_M) >> 4; in hal2_detect()
765 board, major, minor); in hal2_detect()
/sound/soc/intel/atom/
Dsst-mfld-dsp.h237 u8 major; /* major number*/ member
/sound/soc/intel/skylake/
Dskl-sst-utils.c72 u16 major; member
/sound/soc/sof/
Dipc.c787 "Firmware info: version %d:%d:%d-%s\n", v->major, v->minor, in snd_sof_ipc_valid()
Dloader.c61 cc->name, cc->major, cc->minor, cc->micro, cc->desc, in get_cc_info()
Dtopology.c3162 if (SOF_ABI_VER(v->major, v->minor, v->micro) < SOF_ABI_VER(3, 0, 1)) in sof_link_dmic_load()