Home
last modified time | relevance | path

Searched +full:stream +full:- +full:match +full:- +full:mask (Results 1 – 25 of 179) sorted by relevance

12345678

/linux/Documentation/devicetree/bindings/iommu/
H A Darm,smmu.yaml1 # SPDX-License-Identifier: GPL-2.0-only
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Will Deacon <will@kernel.org>
11 - Robin Murphy <Robin.Murphy@arm.com>
23 pattern: "^iommu@[0-9a-f]*"
26 - description: Qcom SoCs implementing "arm,smmu-v2"
28 - enum:
29 - qcom,msm8996-smmu-v2
30 - qcom,msm8998-smmu-v2
[all …]
/linux/include/uapi/sound/
H A Dasoc.h1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
3 * uapi/sound/asoc.h -- ALSA SoC Firmware Controls and DAPM
29 * Maximum number of PCM stream configs
38 /* individual kcontrol info types - can be mixed with other types */
49 /* individual widget kcontrol info types - can be mixed with other types */
56 /* DAPM widget types - add new items to the end */
116 /* vendor block IDs - please add new vendor types to end */
296 * Stream Capabilities
317 * FE or BE Stream configuration supported by SW/FW
321 char name[SNDRV_CTL_ELEM_ID_NAME_MAXLEN]; /* Name of the stream */
[all …]
/linux/sound/xen/
H A Dxen_snd_front_cfg.c1 // SPDX-License-Identifier: GPL-2.0 OR MIT
4 * Xen para-virtual sound device
6 * Copyright (C) 2016-2018 EPAM Systems Inc.
23 unsigned int mask; member
28 { .name = "5512", .mask = SNDRV_PCM_RATE_5512, .value = 5512 },
29 { .name = "8000", .mask = SNDRV_PCM_RATE_8000, .value = 8000 },
30 { .name = "11025", .mask = SNDRV_PCM_RATE_11025, .value = 11025 },
31 { .name = "16000", .mask = SNDRV_PCM_RATE_16000, .value = 16000 },
32 { .name = "22050", .mask = SNDRV_PCM_RATE_22050, .value = 22050 },
33 { .name = "32000", .mask = SNDRV_PCM_RATE_32000, .value = 32000 },
[all …]
/linux/include/uapi/linux/dvb/
H A Ddmx.h1 /* SPDX-License-Identifier: LGPL-2.1+ WITH Linux-syscall-note */
22 * enum dmx_output - Output for the demux.
28 * Delivers the stream output to the demux device on which the ioctl
47 * enum dmx_input - Input from the demux.
49 * @DMX_IN_FRONTEND: Input from a front-end device.
58 * enum dmx_ts_pes - type of the PES filter.
125 * struct dmx_filter - Specifies a section header filter.
128 * @mask: bits that are valid at the filter bit array.
129 * @mode: mode of match: if bit is zero, it will match if equal (positive
130 * match); if bit is one, it will match if the bit is negated.
[all …]
/linux/drivers/net/ethernet/microchip/vcap/
H A Dvcap_api.c1 // SPDX-License-Identifier: GPL-2.0+
53 itr->offset = offset; in vcap_iter_set()
54 itr->sw_width = sw_width; in vcap_iter_set()
55 itr->regs_per_sw = DIV_ROUND_UP(sw_width, 32); in vcap_iter_set()
56 itr->tg = tg; in vcap_iter_set()
62 * A typegroup table ends with an all-zero terminator. in vcap_iter_skip_tg()
64 while (itr->tg->width && itr->offset >= itr->tg->offset) { in vcap_iter_skip_tg()
65 itr->offset += itr->tg->width; in vcap_iter_skip_tg()
66 itr->tg++; /* next typegroup */ in vcap_iter_skip_tg()
75 sw_idx = itr->offset / itr->sw_width; in vcap_iter_update()
[all …]
/linux/drivers/iommu/arm/arm-smmu/
H A Darm-smmu-qcom.c1 // SPDX-License-Identifier: GPL-2.0-only
7 #include <linux/adreno-smmu-priv.h>
14 #include "arm-smmu.h"
15 #include "arm-smmu-qcom.h"
17 #define QCOM_DUMMY_VAL -1
20 * SMMU-500 TRM defines BIT(0) as CMTLB (Enable context caching in the
38 { .compatible = "qcom,adreno-gmu",
40 { .compatible = "qcom,adreno-smmu",
44 { .compatible = "qcom,sc7280-mdss",
46 { .compatible = "qcom,sc7280-venus",
[all …]
H A Darm-smmu.c1 // SPDX-License-Identifier: GPL-2.0-only
10 * - SMMUv1 and v2 implementations
11 * - Stream-matching and stream-indexing
12 * - v7/v8 long-descriptor format
13 * - Non-secure access to the SMMU
14 * - Context fault reporting
15 * - Extended Stream ID (16 bit)
18 #define pr_fmt(fmt) "arm-smmu: " fmt
24 #include <linux/dma-mapping.h>
41 #include "arm-smmu.h"
[all …]
/linux/sound/soc/atmel/
H A Datmel-i2s.c1 // SPDX-License-Identifier: GPL-2.0-only
29 * ---- I2S Controller Register map ----
38 #define ATMEL_I2SC_IMR 0x001c /* Interrupt Mask Register */
44 * ---- Control Register (Write-only) ----
55 * ---- Mode Register (Read/Write) ----
124 * ---- Status Registers ----
143 * ---- Interrupt Enable/Disable/Mask Registers ----
212 unsigned int sr, imr, pending, ch, mask; in atmel_i2s_interrupt() local
215 regmap_read(dev->regmap, ATMEL_I2SC_SR, &sr); in atmel_i2s_interrupt()
216 regmap_read(dev->regmap, ATMEL_I2SC_IMR, &imr); in atmel_i2s_interrupt()
[all …]
/linux/sound/soc/sof/
H A Dtopology.c1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause)
18 #include "sof-priv.h"
19 #include "sof-audio.h"
29 * from dB gain 20th root of 10 in Q1.16 fixed-point notation
32 /* 40th root of 10 in Q1.16 fixed-point notation*/
44 * sof_update_ipc_object - Parse multiple sets of tokens within the token array associated with the
66 token_list = tplg_ops ? tplg_ops->token_list : NULL; in sof_update_ipc_object()
72 dev_err(scomp->dev, "Invalid token count for token ID: %d\n", token_id); in sof_update_ipc_object()
73 return -EINVAL; in sof_update_ipc_object()
76 /* No tokens to match */ in sof_update_ipc_object()
[all …]
/linux/sound/soc/meson/
H A Daxg-tdm-formatter.c1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
13 #include "axg-tdm-formatter.h"
17 struct axg_tdm_stream *stream; member
33 unsigned int ch = ts->channels; in axg_tdm_formatter_set_channel_masks()
40 * in the stream. This is why the odd algorithm below is used. in axg_tdm_formatter_set_channel_masks()
45 * Distribute the channels of the stream over the available slots in axg_tdm_formatter_set_channel_masks()
53 if ((BIT(i + k) & ts->mask[j]) && ch) { in axg_tdm_formatter_set_channel_masks()
55 ch -= 1; in axg_tdm_formatter_set_channel_masks()
63 * the stream has more channels than we can accommodate and we should in axg_tdm_formatter_set_channel_masks()
67 pr_err("channel mask error\n"); in axg_tdm_formatter_set_channel_masks()
[all …]
/linux/include/uapi/drm/
H A Dxe_drm.h1 /* SPDX-License-Identifier: MIT */
17 * subject to backwards-compatibility constraints.
28 * The diagram below represents a high-level simplification of a discrete
72 * - &DRM_IOCTL_XE_DEVICE_QUERY
73 * - &DRM_IOCTL_XE_GEM_CREATE
74 * - &DRM_IOCTL_XE_GEM_MMAP_OFFSET
75 * - &DRM_IOCTL_XE_VM_CREATE
76 * - &DRM_IOCTL_XE_VM_DESTROY
77 * -
553 __u8 mask[]; global() member
1514 __u64 mask; global() member
[all...]
/linux/lib/xz/
H A Dxz_dec_lzma2.c1 // SPDX-License-Identifier: 0BSD
7 * Igor Pavlov <https://7-zip.org/>
34 * In multi-call mode, also these are true:
39 * Most of these variables are size_t to support single-call mode,
55 * would read beyond the beginning of the uncompressed stream.
63 * End of the dictionary buffer. In multi-call mode, this is
64 * the same as the dictionary size. In single-call mode, this
72 * read beyond the beginning of the uncompressed stream.
77 * Maximum allowed dictionary size in multi-call mode.
78 * This is ignored in single-call mode.
[all …]
/linux/sound/soc/
H A Dsoc-dapm.c1 // SPDX-License-Identifier: GPL-2.0+
3 // soc-dapm.c -- ALSA SoC Dynamic Audio Power Management
12 // o Platform power domain - can support external components i.e. amps and
15 // o Jack insertion power event initiation - e.g. hp insertion will enable
43 #define DAPM_UPDATE_STAT(widget, val) widget->dapm->car
360 unsigned int mask = (1 << fls(max)) - 1; dapm_set_mixer_path_status() local
928 soc_dapm_update_bits(struct snd_soc_dapm_context * dapm,int reg,unsigned int mask,unsigned int value) soc_dapm_update_bits() argument
937 soc_dapm_test_bits(struct snd_soc_dapm_context * dapm,int reg,unsigned int mask,unsigned int value) soc_dapm_test_bits() argument
1498 snd_soc_dapm_dai_get_connected_widgets(struct snd_soc_dai * dai,int stream,struct snd_soc_dapm_widget_list ** list,bool (* custom_stop_condition)(struct snd_soc_dapm_widget *,enum snd_soc_dapm_direction)) snd_soc_dapm_dai_get_connected_widgets() argument
1787 unsigned int mask = 0; dapm_seq_run_coalesced() local
3293 unsigned int mask = (1 << fls(max)) - 1; snd_soc_dapm_get_volsw() local
3352 unsigned int mask = (1 << width) - 1; snd_soc_dapm_put_volsw() local
3473 unsigned int mask; snd_soc_dapm_put_enum_double() local
4376 int stream; dapm_connect_dai_pair() local
4409 soc_dapm_dai_stream_event(struct snd_soc_dai * dai,int stream,int event) soc_dapm_dai_stream_event() argument
4478 soc_dapm_stream_event(struct snd_soc_pcm_runtime * rtd,int stream,int event) soc_dapm_stream_event() argument
4501 snd_soc_dapm_stream_event(struct snd_soc_pcm_runtime * rtd,int stream,int event) snd_soc_dapm_stream_event() argument
4511 snd_soc_dapm_stream_stop(struct snd_soc_pcm_runtime * rtd,int stream) snd_soc_dapm_stream_stop() argument
[all...]
H A Dsoc-topology.c1 // SPDX-License-Identifier: GPL-2.0+
3 // soc-topology.c -- ALSA SoC Topology
29 #include <sound/soc-dapm.h>
30 #include <sound/soc-topology.h>
83 const u8 *end = tplg->pos + elem_size * count; in soc_tplg_check_elem_count()
85 if (end > tplg->fw->data + tplg->fw->size) { in soc_tplg_check_elem_count()
86 dev_err(tplg->dev, "ASoC: %s overflow end of data\n", in soc_tplg_check_elem_count()
88 return -EINVAL; in soc_tplg_check_elem_count()
94 dev_err(tplg->dev, in soc_tplg_check_elem_count()
97 return -EINVAL; in soc_tplg_check_elem_count()
[all …]
H A Dsoc-component.c1 // SPDX-License-Identifier: GPL-2.0
3 // soc-component.c
5 // Copyright 2009-2011 Wolfson Microelectronics PLC.
19 return snd_soc_ret(component->dev, ret, in _soc_component_ret()
20 "at %s() on %s\n", func, component->name); in _soc_component_ret()
27 return snd_soc_ret(component->dev, ret, in _soc_component_ret_reg_rw()
29 func, component->name, reg); in _soc_component_ret_reg_rw()
33 unsigned int mask) in soc_component_field_shift() argument
803 snd_soc_component_update_bits_legacy(struct snd_soc_component * component,unsigned int reg,unsigned int mask,unsigned int val,bool * change) snd_soc_component_update_bits_legacy() argument
834 snd_soc_component_update_bits(struct snd_soc_component * component,unsigned int reg,unsigned int mask,unsigned int val) snd_soc_component_update_bits() argument
870 snd_soc_component_update_bits_async(struct snd_soc_component * component,unsigned int reg,unsigned int mask,unsigned int val) snd_soc_component_update_bits_async() argument
897 snd_soc_component_read_field(struct snd_soc_component * component,unsigned int reg,unsigned int mask) snd_soc_component_read_field() argument
919 snd_soc_component_write_field(struct snd_soc_component * component,unsigned int reg,unsigned int mask,unsigned int val) snd_soc_component_write_field() argument
956 snd_soc_component_test_bits(struct snd_soc_component * component,unsigned int reg,unsigned int mask,unsigned int value) snd_soc_component_test_bits() argument
1253 snd_soc_pcm_component_pm_runtime_get(struct snd_soc_pcm_runtime * rtd,void * stream) snd_soc_pcm_component_pm_runtime_get() argument
1272 snd_soc_pcm_component_pm_runtime_put(struct snd_soc_pcm_runtime * rtd,void * stream,int rollback) snd_soc_pcm_component_pm_runtime_put() argument
[all...]
/linux/include/sound/
H A Dhdaudio.h1 /* SPDX-License-Identifier: GPL-2.0 */
3 * HD-audio core stuff
12 #include <linux/io-64-nonatomic-lo-hi.h>
50 * HD-audio codec base device
163 * snd_hdac_read_parm - rea
226 int (*match)(struct hdac_device *dev, const struct hdac_driver *drv); global() member
423 snd_hdac_aligned_read(addr,mask) global() argument
424 snd_hdac_aligned_write(val,addr,mask) global() argument
493 snd_hdac_chip_updatel(chip,reg,mask,val) global() argument
496 snd_hdac_chip_updatew(chip,reg,mask,val) global() argument
499 snd_hdac_chip_updateb(chip,reg,mask,val) global() argument
504 snd_hdac_updatel(addr,reg,mask,val) global() argument
507 snd_hdac_updatew(addr,reg,mask,val) global() argument
635 snd_hdac_stream_updatel(dev,reg,mask,val) global() argument
639 snd_hdac_stream_updatew(dev,reg,mask,val) global() argument
643 snd_hdac_stream_updateb(dev,reg,mask,val) global() argument
[all...]
/linux/drivers/net/ethernet/sfc/
H A Dmae.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright 2020-2022 Xilinx Inc.
29 return -EINVAL; in efx_mae_allocate_mport()
31 return -EINVAL; in efx_mae_allocate_mport()
42 return -EIO; in efx_mae_allocate_mport()
64 MAE_MPORT_SELECTOR_PPORT_ID, efx->port_num); in efx_mae_mport_wire()
104 return -EIO; in efx_mae_fw_lookup_mport()
120 efx->net_dev->mtu); in efx_mae_start_counters()
129 return -EIO; in efx_mae_start_counters()
132 netif_dbg(efx, drv, efx->net_dev, in efx_mae_start_counters()
[all …]
/linux/sound/soc/fsl/
H A Dfsl_ssi.c1 // SPDX-License-Identifier: GPL-2.0
7 // Copyright 2007-2010 Freescale Semiconductor, Inc.
9 // Some notes why imx-pcm-fiq is used instead of DMA on some boards:
16 // we receive in our (PCM-) data stream. The only chance we have is to
43 #include <linux/dma/imx-dma.h>
53 #include "imx-pcm.h"
55 /* Define RX and TX to index ssi->regvals array; Can be 0 or 1 only */
66 * (bit-endianness must match byte-endianness). Processors typically write
68 * written in. So if the host CPU is big-endian, then only big-endian
91 * - SSI inputs external bit clock and outputs frame sync clock -- CBM_CFS
[all …]
/linux/sound/soc/rockchip/
H A Drockchip_sai.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * ALSA SoC Audio Layer - Rockchip SAI Controller driver
24 #define DRV_NAME "rockchip-sai"
78 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK && in rockchip_sai_stream_valid()
79 sai->has_playback) in rockchip_sai_stream_valid()
82 if (substream->stream == SNDRV_PCM_STREAM_CAPTURE && in rockchip_sai_stream_valid()
83 sai->has_capture) in rockchip_sai_stream_valid()
93 if (sai->is_master_mode || sai->version < SAI_VER_2311) in rockchip_sai_fsync_lost_detect()
96 regmap_read(sai->regmap, SAI_FSCR, &fw); in rockchip_sai_fsync_lost_detect()
99 regmap_update_bits(sai->regmap, SAI_INTCR, in rockchip_sai_fsync_lost_detect()
[all …]
/linux/drivers/gpu/drm/i915/gt/uc/
H A Dintel_guc_capture.c1 // SPDX-License-Identifier: MIT
3 * Copyright © 2021-2022 Intel Corporation
27 * NOTE: For engine-registers, GuC only needs the register offsets
28 * from the engine-mmio-base
104 /* XE_LP Render / Compute Per-Class */
110 /* GEN8+ Render / Compute Per-Engine-Instance */
115 /* GEN8+ Media Decode/Encode Per-Engine-Instance */
120 /* XE_LP Video Enhancement Per-Class */
125 /* GEN8+ Video Enhancement Per-Engine-Instance */
130 /* GEN8+ Blitter Per-Engine-Instance */
[all …]
/linux/drivers/gpu/drm/xe/
H A Dxe_guc_capture.c1 // SPDX-License-Identifier: MIT
3 * Copyright © 2021-2024 Intel Corporation
45 * Book-keeping structure used to track read and write pointers
46 * as we extract error capture data from the GuC-log-buffer's
47 * error-capture region as a stream of dwords.
57 * struct __guc_capture_parsed_output - extracted error capture node
59 * A single unit of extracted error-capture output data grouped together
60 * at an engine-instance level. We keep these nodes in a linked list.
65 * A single set of 3 capture lists: a global-list
66 * an engine-class-list and an engine-instance list.
[all …]
/linux/drivers/media/v4l2-core/
H A Dv4l2-subdev.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * V4L2 sub-device
23 #include <media/v4l2-ctrls.h>
24 #include <media/v4l2-device.h>
25 #include <media/v4l2-event.h>
26 #include <media/v4l2-fh.h>
27 #include <media/v4l2-ioctl.h>
30 * struct v4l2_subdev_stream_config - Used for storing stream configuration.
33 * @stream: stream number
34 * @enabled: has the stream been enabled with v4l2_subdev_enable_streams()
[all …]
/linux/security/apparmor/
H A Daf_unix.c1 // SPDX-License-Identifier: GPL-2.0-only
30 return &u->sk; in aa_unix_sk()
33 static int unix_fs_perm(const char *op, u32 mask, const struct cred *subj_cred, in unix_fs_perm() argument
42 mask &= NET_FS_PERMS; in unix_fs_perm()
43 /* if !u->path.dentry socket is being shutdown - implicit delegation in unix_fs_perm()
46 if (path->dentry) { in unix_fs_perm()
48 struct inode *inode = path->dentry->d_inode; in unix_fs_perm()
49 vfsuid_t vfsuid = i_uid_into_vfsuid(mnt_idmap(path->mnt), inode); in unix_fs_perm()
52 .mode = inode->i_mode, in unix_fs_perm()
56 PATH_SOCK_COND, mask, &cond); in unix_fs_perm()
[all …]
/linux/sound/soc/codecs/
H A Dtwl4030.c1 // SPDX-License-Identifier: GPL-2.0-only
13 #include <linux/mfd/twl4030-audio.h>
64 u8 ctl_cache[TWL4030_REG_PRECKR_CTL - TWL4030_REG_EAR_CTL + 1];
76 twl4030->ctl_cache[i - TWL4030_REG_EAR_CTL] = byte; in tw4030_init_ctl_cache()
86 return -EIO; in twl4030_read()
95 value = twl4030->ctl_cache[reg - TWL4030_REG_EAR_CTL]; in twl4030_read()
113 if (twl4030->earpiece_enabled) in twl4030_can_write_to_chip()
117 if (twl4030->predrivel_enabled) in twl4030_can_write_to_chip()
121 if (twl4030->predriver_enabled) in twl4030_can_write_to_chip()
125 if (twl4030->carkitl_enabled) in twl4030_can_write_to_chip()
[all …]
/linux/fs/ntfs3/lib/
H A Dlzx_decompress.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * lzx_decompress.c - A decompressor for the LZX compression format, which can
17 /* The smallest and largest allowed match lengths */
21 /* Number of distinct match lengths that can be represented */
22 #define LZX_NUM_LENS (LZX_MAX_MATCH_LEN - LZX_MIN_MATCH_LEN + 1)
24 /* Number of match lengths for which no length symbol is required */
28 /* Valid values of the 3-bit block type field */
41 #define LZX_LENCODE_NUM_SYMBOLS (LZX_NUM_LENS - LZX_NUM_PRIMARY_LENS)
49 /* Number of low-order bits of each match offset that are entropy-encoded in
57 /* Mask for the match offset bits that are entropy-encoded in aligned offset
[all …]

12345678