aboutsummaryrefslogtreecommitdiffstats
path: root/sound/core/pcm_native.c
AgeCommit message (Expand)AuthorFilesLines
2024-04-18ALSA: pcm: add support for 705.6kHz and 768kHz sample ratesPavel Hofman1-1/+1
2024-03-11Merge branch 'for-next' into for-linusTakashi Iwai1-268/+189
2024-02-28ALSA: pcm: Use guard() for PCM stream locksTakashi Iwai1-162/+130
2024-02-28ALSA: pcm: Use guard() for lockingTakashi Iwai1-32/+16
2024-02-23ALSA: pcm: Use CLASS() for fdget()/fdput()Takashi Iwai1-15/+7
2024-02-23ALSA: pcm: Use automatic cleanup of kfree()Takashi Iwai1-61/+38
2024-02-23ALSA: pcm: clarify and fix default msbits value for all formatsJaroslav Kysela1-0/+5
2023-11-27ALSA: pcm: Introduce MSBITS subformat interfaceJaroslav Kysela1-2/+53
2023-11-02Merge tag 'sound-6.7-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/ti...Linus Torvalds1-2/+2
2023-10-26ALSA: pcm: Replace with __packed attributeTakashi Iwai1-2/+2
2023-09-25sound: Fix snd_pcm_readv()/writev() to use iov access functionsDavid Howells1-2/+2
2023-08-18ALSA: pcm: Drop obsoleted PCM copy_user and copy_kernel opsTakashi Iwai1-1/+1
2023-08-18ALSA: pcm: Add copy ops with iov_iterTakashi Iwai1-1/+1
2023-05-18Revert "ALSA: emu10k1 - delay the PCM interrupts (add pcm_irq_delay parameter)"Oswald Buddenhagen1-4/+0
2023-05-06Merge tag 'sound-fix-6.4-rc1' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-3/+3
2023-05-05ALSA: pcm: Revert "ALSA: pcm: rewrite snd_pcm_playback_silence()"Jaroslav Kysela1-3/+3
2023-04-27Merge tag 'sound-6.4-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/ti...Linus Torvalds1-7/+7
2023-04-21ALSA: pcm: rewrite snd_pcm_playback_silence()Oswald Buddenhagen1-3/+3
2023-04-08ALSA: pcm: fix wait_time calculationsOswald Buddenhagen1-4/+4
2023-03-30ALSA: pcm: check for user backed iterator, not specific iterator typeJens Axboe1-2/+2
2023-03-30iov_iter: add iter_iovec() helperJens Axboe1-8/+14
2023-02-09mm: replace vma->vm_flags direct modifications with modifier callsSuren Baghdasaryan1-4/+5
2022-12-05ALSA: pcm: Handle XRUN at trigger STARTTakashi Iwai1-1/+7
2022-12-05ALSA: pcm: Set missing stop_operating flag at undoing trigger startTakashi Iwai1-1/+3
2022-11-16ALSA: pcm: avoid nused-but-set-variable warningKuninori Morimoto1-6/+6
2022-09-27ALSA: pcm: Make mmap status read-onlyTakashi Iwai1-0/+1
2022-09-27ALSA: pcm: Avoid reference to status->stateTakashi Iwai1-63/+64
2022-07-29ALSA: pcm: Use deferred fasync helperTakashi Iwai1-1/+1
2022-07-13ALSA: pcm: Fix missing return value comments for kernel docsTakashi Iwai1-0/+6
2022-03-30ALSA: pcm: Fix potential AB/BA lock with buffer_mutex and mmap_lockTakashi Iwai1-7/+32
2022-03-22ALSA: pcm: Add stream lock during PCM reset ioctl operationsTakashi Iwai1-0/+4
2022-03-22ALSA: pcm: Fix races among concurrent prepare and hw_params/hw_free callsTakashi Iwai1-14/+18
2022-03-22ALSA: pcm: Fix races among concurrent hw_params and hw_free callsTakashi Iwai1-22/+39
2022-01-28ASoC: soc-pcm: Fix DPCM lockdep warning due to nested stream locksTakashi Iwai1-0/+13
2021-10-18ALSA: memalloc: Support for non-contiguous page allocationTakashi Iwai1-0/+17
2021-10-14ALSA: pcm: Unify snd_pcm_delay() and snd_pcm_hwsync()Takashi Iwai1-16/+8
2021-10-07ALSA: pcm: Add more disconnection checks at file opsTakashi Iwai1-4/+21
2021-08-14ALSA: pcm: Add SNDRV_PCM_INFO_EXPLICIT_SYNC flagTakashi Iwai1-0/+9
2021-08-09ALSA: pcm: Check mmap capability of runtime dma buffer at firstTakashi Iwai1-2/+7
2021-08-09ALSA: pcm: Fix mmap breakage without explicit buffer setupTakashi Iwai1-1/+4
2021-07-30ALSA: pcm - fix mmap capability check for the snd-dummy driverJaroslav Kysela1-1/+1
2021-07-20ALSA: pcm: Fix mmap without buffer preallocationTakashi Iwai1-0/+2
2021-07-20ALSA: pcm: Fix mmap capability checkTakashi Iwai1-4/+10
2021-07-12ALSA: pcm: Call substream ack() method upon compat mmap commitAlan Young1-3/+8
2021-06-10ALSA: core: Move mmap handler into memalloc opsTakashi Iwai1-16/+3
2021-06-10ALSA: core: Abstract memory alloc helpersTakashi Iwai1-19/+1
2021-06-09ALSA: pcm: Fix assignment in if conditionTakashi Iwai1-2/+4
2021-05-25ALSA: pcm: Block the release until the system resume finishesTakashi Iwai1-0/+4
2021-05-25ALSA: Drop superfluous argument from snd_power_wait()Takashi Iwai1-1/+1
2021-03-26ALSA: pcm: Fix couple of typosBhaskar Chowdhury1-2/+2
2021-02-08ALSA: pcm: Use for_each_pcm_substream() macroTakashi Iwai1-20/+15
2021-02-08ALSA: pcm: Don't call sync_stop if it hasn't been stoppedTakashi Iwai1-2/+3
2021-02-08ALSA: pcm: Assure sync with the pending stop operation at suspendTakashi Iwai1-1/+7
2021-02-08ALSA: pcm: Call sync_stop at disconnectionTakashi Iwai1-8/+8
2021-02-02Merge branch 'for-linus' into for-nextTakashi Iwai1-2/+2
2021-01-23ALSA: pcm: One more dependency for hw constraintsTakashi Iwai1-2/+2
2021-01-08ALSA: Convert strlcpy to strscpy when return value is unusedJoe Perches1-3/+3
2020-12-18ALSA: pcm: Clear the full allocated memory at hw_paramsTakashi Iwai1-2/+7
2020-10-26ALSA: fix kernel-doc markupsMauro Carvalho Chehab1-2/+2
2020-07-09ALSA: Use fallthrough pseudo-keywordGustavo A. R. Silva1-4/+4
2020-06-15ALSA: pcm: Use dma_mmap_coherent() on x86, tooTakashi Iwai1-2/+0
2020-06-11Merge tag 'sound-fix-5.8-rc1' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-2/+18
2020-06-08ALSA: pcm: disallow linking stream to itselfMichał Mirosław1-0/+6
2020-06-08ALSA: pcm: fix snd_pcm_link() lockdep splatMichał Mirosław1-2/+12
2020-04-26pcm_native: result of put_user() needs to be checkedAl Viro1-4/+8
2020-04-02Merge tag 'sound-5.7-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/ti...Linus Torvalds1-21/+26
2020-03-30Merge branch 'pm-qos'Rafael J. Wysocki1-7/+7
2020-02-17Merge branch 'topic/usb-uac2-effect-unit' into for-nextTakashi Iwai1-1/+2
2020-02-14sound: Call cpu_latency_qos_*() instead of pm_qos_*()Rafael J. Wysocki1-7/+7
2020-02-13ALSA: pcm: Fix double hw_free callsTakashi Iwai1-1/+2
2020-02-10ALSA: pcm: Use a macro for parameter masks to reduce the needed castTakashi Iwai1-14/+18
2020-02-10ALSA: pcm: Use standard macros for fixing PCM format castTakashi Iwai1-7/+8
2020-01-31ALSA: pcm: Fix sparse warnings wrt snd_pcm_state_tTakashi Iwai1-66/+121
2020-01-29ALSA: pcm: Fix memory leak at closing a stream without hw_freeTakashi Iwai1-9/+15
2020-01-16ALSA: pcm: Make snd_pcm_hw_constraints_init() and _complete() staticTakashi Iwai1-2/+2
2019-12-18Merge branch 'for-linus' into for-nextTakashi Iwai1-0/+4
2019-12-14ALSA: pcm: Avoid possible info leaks from PCM stream buffersTakashi Iwai1-0/+4
2019-12-13ALSA: add new 32-bit layout for snd_pcm_mmap_status/controlArnd Bergmann1-14/+24
2019-12-13ALSA: move snd_pcm_ioctl_sync_ptr_compat into pcm_native.cArnd Bergmann1-0/+100
2019-12-11ALSA: Avoid using timespec for struct snd_pcm_statusBaolin Wang1-17/+79
2019-12-11ALSA: Replace timespec with timespec64Baolin Wang1-4/+8
2019-11-20ALSA: pcm: Add card sync_irq fieldTakashi Iwai1-0/+2
2019-11-20ALSA: pcm: Add the support for sync-stop operationTakashi Iwai1-0/+15
2019-11-20ALSA: pcm: Allow NULL ioctl opsTakashi Iwai1-4/+15
2019-11-20ALSA: pcm: Introduce managed buffer allocation modeTakashi Iwai1-0/+12
2019-11-09ALSA: pcm: Yet another missing check of non-cached buffer typeTakashi Iwai1-1/+2
2019-11-06ALSA: pcm: Handle special page mapping in the default mmap handlerTakashi Iwai1-1/+13
2019-11-04ALSA: pcm: Fix missing check of the new non-cached buffer typeTakashi Iwai1-1/+2
2019-09-19Merge tag 'dma-mapping-5.4' of git://git.infradead.org/users/hch/dma-mappingLinus Torvalds1-7/+6
2019-09-09Merge branch 'asoc-5.4' into asoc-nextMark Brown1-1/+1
2019-09-04ALSA: pcm: use dma_can_mmap() to check if a device supports dma_mmap_*Christoph Hellwig1-7/+6
2019-08-28ALSA: pcm: add support for 352.8KHz and 384KHz sample rateVidyakumar Athota1-1/+1
2019-07-29ALSA: pcm: fix lost wakeup event scenarios in snd_pcm_drainYuki Tsunashima1-1/+2
2019-07-19ALSA: pcm: Fix refcount_inc() on zero usageTakashi Iwai1-4/+5
2019-05-30treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 156Thomas Gleixner1-16/+1
2019-03-25ALSA: pcm: Don't suspend stream in unrecoverable PCM stateTakashi Iwai1-1/+8
2019-02-11ALSA: PCM: check if ops are defined before suspending PCMRanjani Sridharan1-0/+8
2019-01-31ALSA: pcm: remove a superfluous function declarationGuennadi Liakhovetski1-2/+0
2019-01-24Merge branch 'topic/pcm-lock-refactor' into for-nextTakashi Iwai1-123/+167
2019-01-24ALSA: pcm: Drop unused snd_pcm_substream.file fieldTakashi Iwai1-3/+1
2019-01-23ALSA: pcm: Cleanup snd_pcm_stream_lock() & coTakashi Iwai1-52/+16
2019-01-23ALSA: pcm: Remove down_write() hack for snd_pcm_link_rwsemTakashi Iwai1-14/+2
2019-01-23ALSA: pcm: More fine-grained PCM link lockingTakashi Iwai1-44/+122
2019-01-21ALSA: pcm: Avoid confusing loop in snd_pcm_unlink()Takashi Iwai1-5/+3
2019-01-21ALSA: pcm: Make PCM linked list consistent while re-groupingTakashi Iwai1-14/+20
2019-01-21ALSA: pcm: Unify snd_pcm_group initializationTakashi Iwai1-4/+9
2019-01-21ALSA: pcm: Call snd_card_unref() inside in_pcm_file()Takashi Iwai1-3/+8
2019-01-15ALSA: pcm: Make snd_pcm_suspend() local staticTakashi Iwai1-8/+3
2018-11-29ALSA: pcm: Fix starvation on down_write_nonblock()Chanho Min1-5/+6
2018-11-29ALSA: pcm: Call snd_pcm_unlink() conditionally at closingTakashi Iwai1-1/+2
2018-07-04ALSA: pcm: Use snd_pcm_stop_xrun() for xrun injectionTakashi Iwai1-1/+1
2018-07-04ALSA: pcm: trace XRUN event at injection, tooTakashi Iwai1-4/+4
2018-06-12treewide: kmalloc() -> kmalloc_array()Kees Cook1-2/+2
2018-05-04ALSA: pcm: Hide local_irq_disable/enable() and local_irqsave/restore()Anna-Maria Gleixner1-28/+57
2018-04-25Merge branch 'for-linus' into for-nextTakashi Iwai1-15/+15
2018-04-25ALSA: pcm: Change return type to vm_fault_tSouptick Joarder1-3/+3
2018-04-23ALSA: core: Report audio_tstamp in snd_pcm_sync_ptrDavid Henningsson1-0/+1
2018-04-23ALSA: pcm: Return negative delays from SNDRV_PCM_IOCTL_DELAY.Jeffery Miller1-12/+11
2018-04-17ALSA: pcm: Unify delay calculation in snd_pcm_status() and snd_pcm_delay()Takashi Iwai1-21/+16
2018-04-17ALSA: pcm: Unify playback and capture poll callbacksTakashi Iwai1-55/+19
2018-04-17ALSA: pcm: Clean up with snd_pcm_avail() and snd_pcm_hw_avail() helpersTakashi Iwai1-55/+10
2018-04-09ALSA: pcm: Remove WARN_ON() at snd_pcm_hw_params() errorTakashi Iwai1-1/+1
2018-04-02Merge branch 'for-next' into for-linusTakashi Iwai1-7/+12
2018-03-26ALSA: pcm: Use dma_bytes as size parameter in dma_mmap_coherent()Stefan Roese1-1/+1
2018-03-13ALSA: pcm: Remove VLA usageTakashi Iwai1-7/+12
2018-02-11vfs: do bulk POLL* -> EPOLL* replacementLinus Torvalds1-7/+7
2018-01-30Merge branch 'misc.poll' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-4/+4
2018-01-16ALSA: pcm: Fix trailing semicolonLuis de Bethencourt1-1/+1
2018-01-05ALSA: pcm: Workaround for weird PulseAudio behavior on rewind errorTakashi Iwai1-2/+7
2017-11-27sound: annotate ->poll() instancesAl Viro1-4/+4
2017-10-16ALSA: pcm: remove redundant variable runtimeColin Ian King1-2/+0
2017-08-30ALSA: pcm: Unify ioctl functions for playback and capture streamsTakashi Iwai1-179/+104
2017-08-30ALSA: Get rid of card power_lockTakashi Iwai1-23/+7
2017-08-30ALSA: pcm: Fix power lock unbalance via OSS emulationTakashi Iwai1-1/+5
2017-07-14Merge tag 'sound-fix-4.13-rc1' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-5/+3
2017-07-10ALSA: pcm: Simplify check for dma_mmap_coherent() availabilityTakashi Iwai1-4/+2
2017-07-10ALSA: pcm: Protect call to dma_mmap_coherent() by check for HAS_DMAGeert Uytterhoeven1-1/+1
2017-07-06Merge tag 'sound-4.13-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/t...Linus Torvalds1-454/+559
2017-06-27ALSA: pcm: Disable only control mmap for explicit appl_ptr syncTakashi Iwai1-5/+17
2017-06-27ALSA: pcm: Add an ioctl to specify the supported protocol versionTakashi Iwai1-0/+7
2017-06-23ALSA: pcm: Add the explicit appl_ptr sync supportTakashi Iwai1-2/+21
2017-06-20sched/wait: Rename wait_queue_t => wait_queue_entry_tIngo Molnar1-2/+2
2017-06-16ALSA: pcm: Follow standard EXPORT_SYMBOL() declarationsTakashi Iwai1-7/+0
2017-06-14ALSA: pcm: remove SNDRV_PCM_IOCTL1_INFO internal commandTakashi Sakamoto1-5/+1
2017-06-14ALSA: pcm: Use common PCM_RUNTIME_CHECK() for sanity checksTakashi Iwai1-2/+2
2017-06-14ALSA: pcm: Preprocess PAUSED or SUSPENDED stream before PREPARETakashi Iwai1-0/+11
2017-06-14ALSA: pcm: Allow dropping stream directly after resumeTakashi Iwai1-2/+1
2017-06-14ALSA: pcm: Apply power lock globally to common ioctlsTakashi Iwai1-37/+19
2017-06-14ALSA: pcm: Clean up SNDRV_PCM_IOCTL_PAUSE codeTakashi Iwai1-7/+3
2017-06-12ALSA: pcm: unify codes to operate application-side position on PCM bufferTakashi Sakamoto1-24/+4
2017-06-11ALSA: pcm: probe events when parameters are changed actuallyTakashi Sakamoto1-27/+29
2017-06-11ALSA: pcm: return error immediately for parameters handlingTakashi Sakamoto1-28/+38
2017-06-09ALSA: pcm: add tracepoints for final selection process of hardware parametersTakashi Sakamoto1-0/+22
2017-06-09ALSA: pcm: localize snd_pcm_hw_params_choose()Takashi Sakamoto1-0/+40
2017-06-09ALSA: pcm: move fixup of info flag after selecting single parametersTakashi Sakamoto1-10/+10
2017-06-09ALSA: pcm: calculate non-mask/non-interval parameters always when possibleTakashi Sakamoto1-26/+44
2017-06-09ALSA: pcm: use helper functions to refer parameters as constantsTakashi Sakamoto1-6/+6
2017-06-08ALSA: pcm: add comment about application of rule to PCM parametersTakashi Sakamoto1-1/+52
2017-06-08ALSA: pcm: use helper functions to check whether parameters are determinedTakashi Sakamoto1-2/+1
2017-06-08ALSA: pcm: adaption of code formattingTakashi Sakamoto1-6/+6
2017-06-08ALSA: pcm: remove function local variable with alternative evaluationTakashi Sakamoto1-5/+2
2017-06-08ALSA: pcm: use goto statement instead of while statement to reduce indentationTakashi Sakamoto1-42/+44
2017-06-08ALSA: pcm: add a helper function to apply parameter rulesTakashi Sakamoto1-32/+45
2017-06-08ALSA: pcm: add a helper function to constrain interval-type parametersTakashi Sakamoto1-19/+36
2017-06-08ALSA: pcm: add a helper function to constrain mask-type parametersTakashi Sakamoto1-19/+37
2017-06-07ALSA: pcm: obsolete RULES_DEBUG local macroTakashi Sakamoto1-82/+7
2017-06-07ALSA: pcm: enable parameter tracepoints only when CONFIG_SND_DEBUG is enabledTakashi Sakamoto1-0/+7
2017-06-07ALSA: pcm: tracepoints for refining PCM parametersTakashi Sakamoto1-0/+33
2017-05-26ALSA: pcm: add local header file for snd-pcm moduleTakashi Sakamoto1-0/+2
2017-05-25ALSA: pcm: Call ack() whenever appl_ptr is updatedTakashi Iwai1-9/+37
2017-05-23ALSA: pcm: Remove set_fs() in PCM core codeTakashi Iwai1-39/+63
2017-05-21ALSA: pcm: Simplify forward/rewind codesTakashi Iwai1-68/+50
2017-05-21ALSA: pcm: Use a common helper for PCM state check and hwsyncTakashi Iwai1-118/+35
2017-05-17ALSA: pcm: use helper function to refer parameter as read-onlyTakashi Sakamoto1-1/+2
2017-05-17ALSA: pcm: add const qualifier for read-only table for sampling rateTakashi Sakamoto1-2/+4
2017-03-02sched/headers: Prepare to move signal wakeup & sigpending methods from <linux...Ingo Molnar1-0/+1
2017-02-24mm, fs: reduce fault, page_mkwrite, and pfn_mkwrite to take only vmfDave Jiang1-9/+6
2016-09-06ALSA: pcm: Fix avail to return error if stream is suspendedJeeja KP1-1/+3
2016-05-09ALSA: pcm: Fix poll error return codesCharles Keepax1-2/+2
2016-02-18ALSA: pcm: Fix rwsem deadlock for non-atomic PCM streamTakashi Iwai1-2/+14
2015-11-30ALSA: pcm: constify action_ops structuresJulia Lawall1-13/+13
2015-10-16ALSA: timer: add config item to export PCM timer disabling for expertJie Yang1-20/+16
2015-09-29ALSA: pcm: Avoid double hw_free calls at releasing a streamTakashi Iwai1-1/+2
2015-09-24ALSA: core: check for underflow in snd_pcm_sw_params()Dan Carpenter1-1/+2
2015-07-17ALSA: pcm: Fix lockdep warning with nonatomic PCM opsTakashi Iwai1-1/+1
2015-04-15Merge tag 'sound-4.1-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/ti...Linus Torvalds1-3/+38
2015-04-11pcm: another weird API abuseAl Viro1-19/+20
2015-04-11Merge branch 'iocb' into for-nextAl Viro1-1/+1
2015-03-25fs: move struct kiocb to fs.hChristoph Hellwig1-1/+1
2015-03-06Merge tag 'asoc-v4.1' of git://git.kernel.org/pub/scm/linux/kernel/git/brooni...Takashi Iwai1-0/+2
2015-02-23ALSA: pcm: Don't leave PREPARED state after drainingTakashi Iwai1-0/+2
2015-02-20ALSA: core: add .get_time_infoPierre-Louis Bossart1-0/+24
2015-02-20ALSA: core: pass audio tstamp config from userspacePierre-Louis Bossart1-3/+14
2015-02-09ALSA: pcm: allow for trigger_tstamp snapshot in .triggerPierre-Louis Bossart1-1/+3
2015-02-09ALSA: pcm: don't override timestamp unconditionallyPierre-Louis Bossart1-1/+4
2015-01-28ALSA: Include linux/io.h instead of asm/io.hTakashi Iwai1-1/+1
2014-12-31ALSA: pcm: add SNDRV_PCM_TRIGGER_DRAIN triggerLibin Yang1-1/+9
2014-11-10ALSA: pcm: Fix document for snd_pcm_stop_xrun()Takashi Iwai1-1/+0
2014-11-09ALSA: pcm: Add snd_pcm_stop_xrun() helperTakashi Iwai1-0/+23
2014-11-06ALSA: pcm: Update the state properly before notificationTakashi Iwai1-4/+4