Home
last modified time | relevance | path

Searched +full:sync +full:- +full:update +full:- +full:mask (Results 1 – 25 of 1020) sorted by relevance

12345678910>>...41

/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/
Dsi_dma.c33 * si_dma_is_lockup - Check if the DMA engine is locked up
44 u32 mask; in si_dma_is_lockup() local
46 if (ring->idx == R600_RING_TYPE_DMA_INDEX) in si_dma_is_lockup()
47 mask = RADEON_RESET_DMA; in si_dma_is_lockup()
49 mask = RADEON_RESET_DMA1; in si_dma_is_lockup()
51 if (!(reset_mask & mask)) { in si_dma_is_lockup()
59 * si_dma_vm_copy_pages - update PTEs by copying them from the GART
65 * @count: number of page entries to update
67 * Update PTEs by copying them from the GART using the DMA (SI).
79 ib->ptr[ib->length_dw++] = DMA_PACKET(DMA_PACKET_COPY, in si_dma_vm_copy_pages()
[all …]
Dcik_sdma.c39 * sDMA - System DMA
56 * cik_sdma_get_rptr - get the current read pointer
68 if (rdev->wb.enabled) { in cik_sdma_get_rptr()
69 rptr = rdev->wb.wb[ring->rptr_offs/4]; in cik_sdma_get_rptr()
71 if (ring->idx == R600_RING_TYPE_DMA_INDEX) in cik_sdma_get_rptr()
83 * cik_sdma_get_wptr - get the current write pointer
95 if (ring->idx == R600_RING_TYPE_DMA_INDEX) in cik_sdma_get_wptr()
104 * cik_sdma_set_wptr - commit the write pointer
116 if (ring->idx == R600_RING_TYPE_DMA_INDEX) in cik_sdma_set_wptr()
121 WREG32(reg, (ring->wptr << 2) & 0x3fffc); in cik_sdma_set_wptr()
[all …]
/kernel/linux/linux-6.6/drivers/gpu/drm/radeon/
Dsi_dma.c32 * si_dma_is_lockup - Check if the DMA engine is locked up
43 u32 mask; in si_dma_is_lockup() local
45 if (ring->idx == R600_RING_TYPE_DMA_INDEX) in si_dma_is_lockup()
46 mask = RADEON_RESET_DMA; in si_dma_is_lockup()
48 mask = RADEON_RESET_DMA1; in si_dma_is_lockup()
50 if (!(reset_mask & mask)) { in si_dma_is_lockup()
58 * si_dma_vm_copy_pages - update PTEs by copying them from the GART
64 * @count: number of page entries to update
66 * Update PTEs by copying them from the GART using the DMA (SI).
78 ib->ptr[ib->length_dw++] = DMA_PACKET(DMA_PACKET_COPY, in si_dma_vm_copy_pages()
[all …]
Dcik_sdma.c38 * sDMA - System DMA
55 * cik_sdma_get_rptr - get the current read pointer
67 if (rdev->wb.enabled) { in cik_sdma_get_rptr()
68 rptr = rdev->wb.wb[ring->rptr_offs/4]; in cik_sdma_get_rptr()
70 if (ring->idx == R600_RING_TYPE_DMA_INDEX) in cik_sdma_get_rptr()
82 * cik_sdma_get_wptr - get the current write pointer
94 if (ring->idx == R600_RING_TYPE_DMA_INDEX) in cik_sdma_get_wptr()
103 * cik_sdma_set_wptr - commit the write pointer
115 if (ring->idx == R600_RING_TYPE_DMA_INDEX) in cik_sdma_set_wptr()
120 WREG32(reg, (ring->wptr << 2) & 0x3fffc); in cik_sdma_set_wptr()
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/pwm/
Dmicrochip,corepwm.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 ---
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
11 - Conor Dooley <conor.dooley@microchip.com>
16 https://www.microsemi.com/existing-parts/parts/152118
19 - $ref: pwm.yaml#
24 - const: microchip,corepwm-rtl-v4
32 "#pwm-cells":
37 microchip,sync-update-mask:
48 Each bit of "microchip,sync-update-mask" corresponds to a PWM channel & represents
[all …]
/kernel/linux/linux-5.10/include/sound/
Dhda_regmap.h1 /* SPDX-License-Identifier: GPL-2.0 */
3 * HD-audio regmap helpers
26 unsigned int mask, unsigned int val);
28 unsigned int mask, unsigned int val);
32 * snd_hdac_regmap_encode_verb - encode the verb to a pseudo register
42 * snd_hdac_regmap_encode_amp - encode the AMP verb to a pseudo register
57 * snd_hdac_regmap_encode_amp_stereo - encode a pseudo register for stereo AMPs
71 * snd_hdac_regmap_write - Write a verb with caching
88 * snd_hda_regmap_update - Update a verb value with caching
90 * @verb: verb to update
[all …]
/kernel/linux/linux-6.6/include/sound/
Dhda_regmap.h1 /* SPDX-License-Identifier: GPL-2.0 */
3 * HD-audio regmap helpers
26 unsigned int mask, unsigned int val);
28 unsigned int mask, unsigned int val);
32 * snd_hdac_regmap_encode_verb - encode the verb to a pseudo register
42 * snd_hdac_regmap_encode_amp - encode the AMP verb to a pseudo register
57 * snd_hdac_regmap_encode_amp_stereo - encode a pseudo register for stereo AMPs
71 * snd_hdac_regmap_write - Write a verb with caching
88 * snd_hda_regmap_update - Update a verb value with caching
90 * @verb: verb to update
[all …]
/kernel/linux/linux-6.6/sound/soc/
Dsoc-jack.c1 // SPDX-License-Identifier: GPL-2.0+
3 // soc-jack.c -- ALSA SoC jack handling
21 * snd_soc_jack_report - Report the current status for a jack
25 * @mask: a bitmask of enum snd_jack_type values that being reported.
34 void snd_soc_jack_report(struct snd_soc_jack *jack, int status, int mask) in snd_soc_jack_report() argument
38 unsigned int sync = 0; in snd_soc_jack_report() local
40 if (!jack || !jack->jack) in snd_soc_jack_report()
42 trace_snd_soc_jack_report(jack, mask, status); in snd_soc_jack_report()
44 dapm = &jack->card->dapm; in snd_soc_jack_report()
46 mutex_lock(&jack->mutex); in snd_soc_jack_report()
[all …]
/kernel/linux/linux-5.10/sound/soc/
Dsoc-jack.c1 // SPDX-License-Identifier: GPL-2.0+
3 // soc-jack.c -- ALSA SoC jack handling
27 * snd_soc_jack_report - Report the current status for a jack
31 * @mask: a bitmask of enum snd_jack_type values that being reported.
40 void snd_soc_jack_report(struct snd_soc_jack *jack, int status, int mask) in snd_soc_jack_report() argument
44 unsigned int sync = 0; in snd_soc_jack_report() local
49 trace_snd_soc_jack_report(jack, mask, status); in snd_soc_jack_report()
51 dapm = &jack->card->dapm; in snd_soc_jack_report()
53 mutex_lock(&jack->mutex); in snd_soc_jack_report()
55 jack->status &= ~mask; in snd_soc_jack_report()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/fm10k/
Dfm10k_netdev.c1 // SPDX-License-Identifier: GPL-2.0
2 /* Copyright(c) 2013 - 2019 Intel Corporation. */
10 * fm10k_setup_tx_resources - allocate Tx resources (Descriptors)
17 struct device *dev = tx_ring->dev; in fm10k_setup_tx_resources()
20 size = sizeof(struct fm10k_tx_buffer) * tx_ring->count; in fm10k_setup_tx_resources()
22 tx_ring->tx_buffer = vzalloc(size); in fm10k_setup_tx_resources()
23 if (!tx_ring->tx_buffer) in fm10k_setup_tx_resources()
26 u64_stats_init(&tx_ring->syncp); in fm10k_setup_tx_resources()
29 tx_ring->size = tx_ring->count * sizeof(struct fm10k_tx_desc); in fm10k_setup_tx_resources()
30 tx_ring->size = ALIGN(tx_ring->size, 4096); in fm10k_setup_tx_resources()
[all …]
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/fm10k/
Dfm10k_netdev.c1 // SPDX-License-Identifier: GPL-2.0
2 /* Copyright(c) 2013 - 2019 Intel Corporation. */
10 * fm10k_setup_tx_resources - allocate Tx resources (Descriptors)
17 struct device *dev = tx_ring->dev; in fm10k_setup_tx_resources()
20 size = sizeof(struct fm10k_tx_buffer) * tx_ring->count; in fm10k_setup_tx_resources()
22 tx_ring->tx_buffer = vzalloc(size); in fm10k_setup_tx_resources()
23 if (!tx_ring->tx_buffer) in fm10k_setup_tx_resources()
26 u64_stats_init(&tx_ring->syncp); in fm10k_setup_tx_resources()
29 tx_ring->size = tx_ring->count * sizeof(struct fm10k_tx_desc); in fm10k_setup_tx_resources()
30 tx_ring->size = ALIGN(tx_ring->size, 4096); in fm10k_setup_tx_resources()
[all …]
/kernel/linux/linux-5.10/arch/arm64/include/asm/vdso/
Dvsyscall.h1 /* SPDX-License-Identifier: GPL-2.0 */
15 * Update the vDSO data page to keep in sync with kernel timekeeping.
27 vdata[CS_HRES_COARSE].mask = VDSO_PRECISION_MASK; in __arm64_update_vsyscall()
28 vdata[CS_RAW].mask = VDSO_PRECISION_MASK; in __arm64_update_vsyscall()
32 /* The asm-generic header needs to be included after the definitions above */
33 #include <asm-generic/vdso/vsyscall.h>
/kernel/linux/linux-6.6/arch/arm64/include/asm/vdso/
Dvsyscall.h1 /* SPDX-License-Identifier: GPL-2.0 */
15 * Update the vDSO data page to keep in sync with kernel timekeeping.
27 vdata[CS_HRES_COARSE].mask = VDSO_PRECISION_MASK; in __arm64_update_vsyscall()
28 vdata[CS_RAW].mask = VDSO_PRECISION_MASK; in __arm64_update_vsyscall()
32 /* The asm-generic header needs to be included after the definitions above */
33 #include <asm-generic/vdso/vsyscall.h>
/kernel/linux/linux-6.6/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_ptp.h1 /* SPDX-License-Identifier: GPL-2.0-only */
20 #define PTP_SSIR 0x04 /* Sub-Second Increment Reg */
23 #define PTP_STSUR 0x10 /* System Time – Seconds Update Reg */
24 #define PTP_STNSUR 0x14 /* System Time – Nanoseconds Update Reg */
27 #define PTP_ATNR 0x48 /* Auxiliary Timestamp - Nanoseconds Reg */
28 #define PTP_ATSR 0x4c /* Auxiliary Timestamp - Seconds Reg */
37 #define PTP_DIGITAL_ROLLOVER_MODE 0x3B9ACA00 /* 10e9-1 ns */
42 #define PTP_TCR_TSCFUPDT BIT(1) /* Timestamp Fine/Coarse Update */
44 #define PTP_TCR_TSUPDT BIT(3) /* Timestamp Update */
46 #define PTP_TCR_TSADDREG BIT(5) /* Addend Reg Update */
[all …]
/kernel/linux/linux-5.10/include/linux/firmware/intel/
Dstratix10-smc.h1 /* SPDX-License-Identifier: GPL-2.0 */
3 * Copyright (C) 2017-2018, Intel Corporation
9 #include <linux/arm-smccc.h>
19 * An ARM SMC instruction takes a function identifier and up to 6 64-bit
20 * register values as arguments, and can return up to 4 64-bit register
31 * STD call starts a operation which can be preempted by a non-secure
69 * There is error during the process of remote status update request.
81 * Sync call used by service driver at EL1 to request the FPGA in EL3 to
88 * a2-7: not used.
92 * a1-3: not used.
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/igc/
Digc_defines.h1 /* SPDX-License-Identifier: GPL-2.0 */
47 /* Loop limit on how long we wait for auto-negotiation to complete */
125 /* 1000BASE-T Control Register */
130 /* 1000BASE-T Status Register */
151 #define IGC_EECD_FLUPD_I225 0x00800000 /* Update FLASH */
152 #define IGC_EECD_FLUDONE_I225 0x04000000 /* Update FLASH done*/
180 #define IGC_STATUS_FUNC_MASK 0x0000000C /* PCI Function Mask */
195 /* 1Gbps and 2.5Gbps half duplex is not supported, nor spec-compliant. */
219 #define IGC_ICR_TS BIT(19) /* Time Sync Interrupt */
234 /* Interrupt Mask Set */
[all …]
/kernel/linux/linux-5.10/sound/hda/
Dhdac_regmap.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Regmap support for HD-audio verbs
9 * - Provided for not all verbs but only subset standard non-volatile verbs.
10 * - For reading, only AC_VERB_GET_* variants can be used.
11 * - For writing, mapped to the *corresponding* AC_VERB_SET_* variants,
46 return !codec->cache_coef; in hda_volatile_reg()
59 case AC_VERB_GET_DEVICE_LIST: /* read-only volatile */ in hda_volatile_reg()
73 snd_array_for_each(&codec->vendor_verbs, i, v) { in hda_writeable_reg()
78 if (codec->caps_overwriting) in hda_writeable_reg()
86 return codec->cache_coef; in hda_writeable_reg()
[all …]
/kernel/linux/linux-6.6/sound/hda/
Dhdac_regmap.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Regmap support for HD-audio verbs
9 * - Provided for not all verbs but only subset standard non-volatile verbs.
10 * - For reading, only AC_VERB_GET_* variants can be used.
11 * - For writing, mapped to the *corresponding* AC_VERB_SET_* variants,
45 return !codec->cache_coef; in hda_volatile_reg()
58 case AC_VERB_GET_DEVICE_LIST: /* read-only volatile */ in hda_volatile_reg()
72 snd_array_for_each(&codec->vendor_verbs, i, v) { in hda_writeable_reg()
77 if (codec->caps_overwriting) in hda_writeable_reg()
85 return codec->cache_coef; in hda_writeable_reg()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/omapdrm/dss/
Domapdss.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Copyright (C) 2016 Texas Instruments Incorporated - http://www.ti.com/
168 /* Sync Pulses: both sync start and end packets sent */
170 /* Sync Events: only sync start packets sent */
172 /* Burst: only sync start packets sent, pixels are time compressed */
268 * clk+, clk-
269 * data1+, data1-
270 * data2+, data2-
302 int (*update)(struct omap_dss_device *dssdev, int channel, member
358 * enum omap_dss_device_ops_flag - Indicates which device ops are supported
[all …]
/kernel/linux/linux-5.10/sound/soc/stm/
Dstm32_sai_sub.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (C) 2016, STMicroelectronics - All Rights Reserved
10 #include <linux/clk-provider.h>
41 #define STM_SAI_IS_PLAYBACK(ip) ((ip)->dir == SNDRV_PCM_STREAM_PLAYBACK)
42 #define STM_SAI_IS_CAPTURE(ip) ((ip)->dir == SNDRV_PCM_STREAM_CAPTURE)
47 #define STM_SAI_IS_SUB_A(x) ((x)->id == STM_SAI_A_ID)
48 #define STM_SAI_IS_SUB_B(x) ((x)->id == STM_SAI_B_ID)
49 #define STM_SAI_BLOCK_NAME(x) (((x)->id == STM_SAI_A_ID) ? "A" : "B")
55 #define STM_SAI_PROTOCOL_IS_SPDIF(ip) ((ip)->spdif)
56 #define STM_SAI_HAS_SPDIF(x) ((x)->pdata->conf.has_spdif_pdm)
[all …]
/kernel/linux/linux-6.6/sound/soc/stm/
Dstm32_sai_sub.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (C) 2016, STMicroelectronics - All Rights Reserved
10 #include <linux/clk-provider.h>
41 #define STM_SAI_IS_PLAYBACK(ip) ((ip)->dir == SNDRV_PCM_STREAM_PLAYBACK)
42 #define STM_SAI_IS_CAPTURE(ip) ((ip)->dir == SNDRV_PCM_STREAM_CAPTURE)
47 #define STM_SAI_IS_SUB_A(x) ((x)->id == STM_SAI_A_ID)
53 #define STM_SAI_PROTOCOL_IS_SPDIF(ip) ((ip)->spdif)
54 #define STM_SAI_HAS_SPDIF(x) ((x)->pdata->conf.has_spdif_pdm)
55 #define STM_SAI_HAS_PDM(x) ((x)->pdata->conf.has_spdif_pdm)
56 #define STM_SAI_HAS_EXT_SYNC(x) (!STM_SAI_IS_F4(sai->pdata))
[all …]
/kernel/linux/linux-6.6/include/linux/
Dptp_classify.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
27 #define PTP_CLASS_PMASK 0x70 /* mask for the packet type field */
57 #define IPV4_HLEN(data) (((struct iphdr *)(data + OFF_IHL))->ihl << 2)
85 * ptp_classify_raw - classify a PTP packet
97 * ptp_parse_header - Get pointer to the PTP v2 header
112 * ptp_get_msgtype - Extract ptp message type from given header
128 msgtype = hdr->control; in ptp_get_msgtype()
130 msgtype = hdr->tsmt & 0x0f; in ptp_get_msgtype()
137 * ptp_check_diff8 - Computes new checksum (when altering a 64-bit field)
155 * ptp_header_update_correction - Update PTP header's correction field
[all …]
/kernel/linux/linux-5.10/drivers/gpio/
Dgpio-crystalcove.c1 // SPDX-License-Identifier: GPL-2.0
64 * struct crystalcove_gpio - Crystal Cove GPIO controller
65 * @buslock: for bus lock/sync and unlock.
68 * @update: pending IRQ setting update, to be written to the chip upon unlock.
70 * @set_irq_mask: true if the IRQ mask needs to be set, false to clear.
76 int update; member
94 return -EOPNOTSUPP; in to_reg()
117 int mask = BIT(gpio % 8); in crystalcove_update_irq_mask() local
119 if (cg->set_irq_mask) in crystalcove_update_irq_mask()
120 regmap_update_bits(cg->regmap, mirqs0, mask, mask); in crystalcove_update_irq_mask()
[all …]
/kernel/linux/linux-6.6/drivers/gpio/
Dgpio-crystalcove.c1 // SPDX-License-Identifier: GPL-2.0
65 * struct crystalcove_gpio - Crystal Cove GPIO controller
66 * @buslock: for bus lock/sync and unlock.
69 * @update: pending IRQ setting update, to be written to the chip upon unlock.
71 * @set_irq_mask: true if the IRQ mask needs to be set, false to clear.
77 int update; member
95 return -ENOTSUPP; in to_reg()
117 int mask = BIT(gpio % 8); in crystalcove_update_irq_mask() local
119 if (cg->set_irq_mask) in crystalcove_update_irq_mask()
120 regmap_update_bits(cg->regmap, mirqs0, mask, mask); in crystalcove_update_irq_mask()
[all …]
/kernel/linux/linux-6.6/include/linux/firmware/intel/
Dstratix10-smc.h1 /* SPDX-License-Identifier: GPL-2.0 */
3 * Copyright (C) 2017-2018, Intel Corporation
9 #include <linux/arm-smccc.h>
19 * An ARM SMC instruction takes a function identifier and up to 6 64-bit
20 * register values as arguments, and can return up to 4 64-bit register
31 * STD call starts a operation which can be preempted by a non-secure
69 * There is error during the process of remote status update request.
81 * Sync call used by service driver at EL1 to request the FPGA in EL3 to
88 * a2-7: not used.
92 * a1-3: not used.
[all …]

12345678910>>...41