Home
last modified time | relevance | path

Searched +full:tx +full:- +full:ts +full:- +full:mask (Results 1 – 25 of 270) sorted by relevance

1234567891011

/kernel/linux/linux-6.6/Documentation/devicetree/bindings/soc/fsl/cpm_qe/
Dfsl,cpm1-scc-qmc.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/soc/fsl/cpm_qe/fsl,cpm1-scc-qmc.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Herve Codina <herve.codina@bootlin.com>
19 - enum:
20 - fsl,mpc885-scc-qmc
21 - fsl,mpc866-scc-qmc
22 - const: fsl,cpm1-scc-qmc
26 - description: SCC (Serial communication controller) register base
[all …]
/kernel/linux/linux-6.6/sound/soc/meson/
Daxg-tdm-interface.c1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
11 #include <sound/soc-dai.h>
13 #include "axg-tdm.h"
23 static unsigned int axg_tdm_slots_total(u32 *mask) in axg_tdm_slots_total() argument
28 if (!mask) in axg_tdm_slots_total()
33 slots += hweight32(mask[i]); in axg_tdm_slots_total()
43 struct axg_tdm_stream *tx = snd_soc_dai_dma_data_get_playback(dai); in axg_tdm_set_tdm_slots() local
53 dev_err(dai->dev, "interface has no slot\n"); in axg_tdm_set_tdm_slots()
54 return -EINVAL; in axg_tdm_set_tdm_slots()
57 iface->slots = slots; in axg_tdm_set_tdm_slots()
[all …]
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/igc/
Digc_ptp.c1 // SPDX-License-Identifier: GPL-2.0
24 void igc_ptp_read(struct igc_adapter *adapter, struct timespec64 *ts) in igc_ptp_read() argument
26 struct igc_hw *hw = &adapter->hw; in igc_ptp_read()
33 ts->tv_sec = sec; in igc_ptp_read()
34 ts->tv_nsec = nsec; in igc_ptp_read()
38 const struct timespec64 *ts) in igc_ptp_write_i225() argument
40 struct igc_hw *hw = &adapter->hw; in igc_ptp_write_i225()
42 wr32(IGC_SYSTIML, ts->tv_nsec); in igc_ptp_write_i225()
43 wr32(IGC_SYSTIMH, ts->tv_sec); in igc_ptp_write_i225()
50 struct igc_hw *hw = &igc->hw; in igc_ptp_adjfine_i225()
[all …]
/kernel/linux/linux-6.6/drivers/net/ethernet/mscc/
Docelot_ptp.c1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
19 int ocelot_ptp_gettime64(struct ptp_clock_info *ptp, struct timespec64 *ts) in ocelot_ptp_gettime64() argument
27 spin_lock_irqsave(&ocelot->ptp_clock_lock, flags); in ocelot_ptp_gettime64()
39 spin_unlock_irqrestore(&ocelot->ptp_clock_lock, flags); in ocelot_ptp_gettime64()
43 s--; in ocelot_ptp_gettime64()
48 set_normalized_timespec64(ts, s, ns); in ocelot_ptp_gettime64()
54 const struct timespec64 *ts) in ocelot_ptp_settime64() argument
60 spin_lock_irqsave(&ocelot->ptp_clock_lock, flags); in ocelot_ptp_settime64()
68 ocelot_write_rix(ocelot, lower_32_bits(ts->tv_sec), PTP_PIN_TOD_SEC_LSB, in ocelot_ptp_settime64()
70 ocelot_write_rix(ocelot, upper_32_bits(ts->tv_sec), PTP_PIN_TOD_SEC_MSB, in ocelot_ptp_settime64()
[all …]
/kernel/linux/linux-5.10/sound/soc/meson/
Daxg-tdm-interface.c1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
11 #include <sound/soc-dai.h>
13 #include "axg-tdm.h"
20 static unsigned int axg_tdm_slots_total(u32 *mask) in axg_tdm_slots_total() argument
25 if (!mask) in axg_tdm_slots_total()
30 slots += hweight32(mask[i]); in axg_tdm_slots_total()
40 struct axg_tdm_stream *tx = (struct axg_tdm_stream *) in axg_tdm_set_tdm_slots() local
41 dai->playback_dma_data; in axg_tdm_set_tdm_slots()
43 dai->capture_dma_data; in axg_tdm_set_tdm_slots()
52 dev_err(dai->dev, "interface has no slot\n"); in axg_tdm_set_tdm_slots()
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/sound/
Dfsl,qmc-audio.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/sound/fsl,qmc-audio.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Herve Codina <herve.codina@bootlin.com>
18 - $ref: dai-common.yaml#
22 const: fsl,qmc-audio
24 '#address-cells':
26 '#size-cells':
28 '#sound-dai-cells':
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/igb/
Digb_ptp.c1 // SPDX-License-Identifier: GPL-2.0+
38 * +--------------+ +---+---+------+
40 * +--------------+ +---+---+------+
43 * +----------+---+ +--------------+
45 * +----------+---+ +--------------+
50 * 2^45 * 10^-9 / 3600 = 9.77 hours.
53 * 2^40 * 10^-9 / 60 = 18.3 minutes.
67 #define INCVALUE_82576_MASK GENMASK(E1000_TIMINCA_16NS_SHIFT - 1, 0)
77 struct e1000_hw *hw = &igb->hw; in igb_ptp_read_82576()
94 struct e1000_hw *hw = &igb->hw; in igb_ptp_read_82580()
[all …]
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/igb/
Digb_ptp.c1 // SPDX-License-Identifier: GPL-2.0+
38 * +--------------+ +---+---+------+
40 * +--------------+ +---+---+------+
43 * +----------+---+ +--------------+
45 * +----------+---+ +--------------+
50 * 2^45 * 10^-9 / 3600 = 9.77 hours.
53 * 2^40 * 10^-9 / 60 = 18.3 minutes.
67 #define INCVALUE_82576_MASK GENMASK(E1000_TIMINCA_16NS_SHIFT - 1, 0)
79 struct e1000_hw *hw = &igb->hw; in igb_ptp_read_82576()
96 struct e1000_hw *hw = &igb->hw; in igb_ptp_read_82580()
[all …]
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath11k/
Ddp_tx.c1 // SPDX-License-Identifier: BSD-3-Clause-Clear
3 * Copyright (c) 2018-2019 The Linux Foundation. All rights reserved.
17 struct ath11k_base *ab = arvif->ar->ab; in ath11k_dp_tx_get_encap_type()
19 if (test_bit(ATH11K_FLAG_RAW_MODE, &ab->dev_flags)) in ath11k_dp_tx_get_encap_type()
22 if (tx_info->flags & IEEE80211_TX_CTL_HW_80211_ENCAP) in ath11k_dp_tx_get_encap_type()
30 struct ieee80211_hdr *hdr = (void *)skb->data; in ath11k_dp_tx_encap_nwifi()
33 if (!ieee80211_is_data_qos(hdr->frame_control)) in ath11k_dp_tx_encap_nwifi()
37 memmove(skb->data + IEEE80211_QOS_CTL_LEN, in ath11k_dp_tx_encap_nwifi()
38 skb->data, (void *)qos_ctl - (void *)skb->data); in ath11k_dp_tx_encap_nwifi()
41 hdr = (void *)skb->data; in ath11k_dp_tx_encap_nwifi()
[all …]
/kernel/linux/linux-6.6/drivers/net/wireless/intel/iwlwifi/mvm/
Dutils.c1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
3 * Copyright (C) 2012-2014, 2018-2023 Intel Corporation
4 * Copyright (C) 2013-2014 Intel Mobile Communications GmbH
5 * Copyright (C) 2015-2017 Intel Deutschland GmbH
9 #include "iwl-debug.h"
10 #include "iwl-io.h"
11 #include "iwl-prph.h"
12 #include "iwl-csr.h"
19 * CMD_WANT_SKB is set in cmd->flags.
26 if (WARN_ON(mvm->d3_test_active)) in iwl_mvm_send_cmd()
[all …]
/kernel/linux/linux-6.6/drivers/soc/fsl/qe/
Dqmc.c1 // SPDX-License-Identifier: GPL-2.0
11 #include <linux/dma-mapping.h>
44 /* SCC mask register (16 bits) */
52 /* Tx time-slot assignment table pointer (16 bits) */
64 /* Rx time-slot assignment table pointer (16 bits) */
66 /* Tx pointer (16 bits) */
72 /* Time slot assignment table Tx (32 x 16 bits) */
83 /* Tx buffer descriptor base address (16 bits, offset from MCBASE) */
98 /* Tx internal state (32 bits) */
100 /* Tx buffer descriptor pointer (16 bits) */
[all …]
/kernel/linux/linux-5.10/drivers/ptp/
Dptp_ines.c1 // SPDX-License-Identifier: GPL-2.0
3 // Copyright (C) 2018 MOSER-BAER AG
103 #define ines_read32(s, r) __raw_readl((void __iomem *)&s->regs->r)
104 #define ines_write32(s, v, r) __raw_writel(v, (void __iomem *)&s->regs->r)
176 struct ines_timestamp *ts, struct device *dev);
179 static bool ines_timestamp_expired(struct ines_timestamp *ts);
191 port = &clock->port[i]; in ines_clock_cleanup()
192 cancel_delayed_work_sync(&port->ts_work); in ines_clock_cleanup()
199 struct device_node *node = device->of_node; in ines_clock_init()
204 INIT_LIST_HEAD(&clock->list); in ines_clock_init()
[all …]
/kernel/linux/linux-6.6/drivers/ptp/
Dptp_ines.c1 // SPDX-License-Identifier: GPL-2.0
3 // Copyright (C) 2018 MOSER-BAER AG
103 #define ines_read32(s, r) __raw_readl((void __iomem *)&s->regs->r)
104 #define ines_write32(s, v, r) __raw_writel(v, (void __iomem *)&s->regs->r)
171 struct ines_timestamp *ts, struct device *dev);
174 static bool ines_timestamp_expired(struct ines_timestamp *ts);
186 port = &clock->port[i]; in ines_clock_cleanup()
187 cancel_delayed_work_sync(&port->ts_work); in ines_clock_cleanup()
194 struct device_node *node = device->of_node; in ines_clock_init()
199 INIT_LIST_HEAD(&clock->list); in ines_clock_init()
[all …]
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath9k/
Dxmit.c2 * Copyright (c) 2008-2011 Atheros Communications Inc.
17 #include <linux/dma-mapping.h>
33 #define TIME_SYMBOLS_HALFGI(t) (((t) * 5 - 4) / 18)
35 #define NUM_SYMBOLS_PER_USEC_HALFGI(_usec) (((_usec*5)-4)/18)
49 { 104, 216 }, /* 3: 16-QAM 1/2 */
50 { 156, 324 }, /* 4: 16-QAM 3/4 */
51 { 208, 432 }, /* 5: 64-QAM 2/3 */
52 { 234, 486 }, /* 6: 64-QAM 3/4 */
53 { 260, 540 }, /* 7: 64-QAM 5/6 */
64 struct ath_tx_status *ts, int txok);
[all …]
Ddynack.c27 * ath_dynack_get_max_to - set max timeout according to channel width
33 const struct ath9k_channel *chan = ah->curchan; in ath_dynack_get_max_to()
48 * ath_dynack_ewma - EWMA (Exponentially Weighted Moving Average) calculation
53 return (new * (EWMA_DIV - EWMA_LEVEL) + in ath_dynack_ewma()
60 * ath_dynack_get_sifs - get sifs time based on phy used
70 if (IS_CHAN_QUARTER_RATE(ah->curchan)) in ath_dynack_get_sifs()
72 else if (IS_CHAN_HALF_RATE(ah->curchan)) in ath_dynack_get_sifs()
81 * ath_dynack_bssidmask - filter out ACK frames based on BSSID mask
91 if ((common->macaddr[i] & common->bssidmask[i]) != in ath_dynack_bssidmask()
92 (mac[i] & common->bssidmask[i])) in ath_dynack_bssidmask()
[all …]
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath9k/
Dxmit.c2 * Copyright (c) 2008-2011 Atheros Communications Inc.
17 #include <linux/dma-mapping.h>
33 #define TIME_SYMBOLS_HALFGI(t) (((t) * 5 - 4) / 18)
35 #define NUM_SYMBOLS_PER_USEC_HALFGI(_usec) (((_usec*5)-4)/18)
43 { 104, 216 }, /* 3: 16-QAM 1/2 */
44 { 156, 324 }, /* 4: 16-QAM 3/4 */
45 { 208, 432 }, /* 5: 64-QAM 2/3 */
46 { 234, 486 }, /* 6: 64-QAM 3/4 */
47 { 260, 540 }, /* 7: 64-QAM 5/6 */
58 struct ath_tx_status *ts, int txok);
[all …]
Ddynack.c27 * ath_dynack_get_max_to - set max timeout according to channel width
33 const struct ath9k_channel *chan = ah->curchan; in ath_dynack_get_max_to()
48 * ath_dynack_ewma - EWMA (Exponentially Weighted Moving Average) calculation
54 return (new * (EWMA_DIV - EWMA_LEVEL) + in ath_dynack_ewma()
61 * ath_dynack_get_sifs - get sifs time based on phy used
71 if (IS_CHAN_QUARTER_RATE(ah->curchan)) in ath_dynack_get_sifs()
73 else if (IS_CHAN_HALF_RATE(ah->curchan)) in ath_dynack_get_sifs()
82 * ath_dynack_bssidmask - filter out ACK frames based on BSSID mask
92 if ((common->macaddr[i] & common->bssidmask[i]) != in ath_dynack_bssidmask()
93 (mac[i] & common->bssidmask[i])) in ath_dynack_bssidmask()
[all …]
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath11k/
Ddp_tx.c1 // SPDX-License-Identifier: BSD-3-Clause-Clear
3 * Copyright (c) 2018-2019 The Linux Foundation. All rights reserved.
4 * Copyright (c) 2021-2023 Qualcomm Innovation Center, Inc. All rights reserved.
19 struct ath11k_base *ab = arvif->ar->ab; in ath11k_dp_tx_get_encap_type()
21 if (test_bit(ATH11K_FLAG_RAW_MODE, &ab->dev_flags)) in ath11k_dp_tx_get_encap_type()
24 if (tx_info->flags & IEEE80211_TX_CTL_HW_80211_ENCAP) in ath11k_dp_tx_get_encap_type()
32 struct ieee80211_hdr *hdr = (void *)skb->data; in ath11k_dp_tx_encap_nwifi()
35 if (!ieee80211_is_data_qos(hdr->frame_control)) in ath11k_dp_tx_encap_nwifi()
39 memmove(skb->data + IEEE80211_QOS_CTL_LEN, in ath11k_dp_tx_encap_nwifi()
40 skb->data, (void *)qos_ctl - (void *)skb->data); in ath11k_dp_tx_encap_nwifi()
[all …]
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath12k/
Ddp_tx.c1 // SPDX-License-Identifier: BSD-3-Clause-Clear
3 * Copyright (c) 2018-2021 The Linux Foundation. All rights reserved.
4 * Copyright (c) 2021-2023 Qualcomm Innovation Center, Inc. All rights reserved.
16 struct ath12k_base *ab = arvif->ar->ab; in ath12k_dp_tx_get_encap_type()
18 if (test_bit(ATH12K_FLAG_RAW_MODE, &ab->dev_flags)) in ath12k_dp_tx_get_encap_type()
21 if (tx_info->flags & IEEE80211_TX_CTL_HW_80211_ENCAP) in ath12k_dp_tx_get_encap_type()
29 struct ieee80211_hdr *hdr = (void *)skb->data; in ath12k_dp_tx_encap_nwifi()
32 if (!ieee80211_is_data_qos(hdr->frame_control)) in ath12k_dp_tx_encap_nwifi()
36 memmove(skb->data + IEEE80211_QOS_CTL_LEN, in ath12k_dp_tx_encap_nwifi()
37 skb->data, (void *)qos_ctl - (void *)skb->data); in ath12k_dp_tx_encap_nwifi()
[all …]
/kernel/linux/linux-6.6/drivers/net/ethernet/qlogic/qede/
Dqede_ptp.c1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause)
3 * Copyright (c) 2015-2017 QLogic Corporation
4 * Copyright (c) 2019-2020 Marvell International Ltd.
31 * qede_ptp_adjfine() - Adjust the frequency of the PTP cycle counter.
36 * Scaled parts per million is ppm with a 16-bit binary fractional field.
44 struct qede_dev *edev = ptp->edev; in qede_ptp_adjfine()
48 if (edev->state == QEDE_STATE_OPEN) { in qede_ptp_adjfine()
49 spin_lock_bh(&ptp->lock); in qede_ptp_adjfine()
50 rc = ptp->ops->adjfreq(edev->cdev, ppb); in qede_ptp_adjfine()
51 spin_unlock_bh(&ptp->lock); in qede_ptp_adjfine()
[all …]
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/mvm/
Dutils.c8 * Copyright(c) 2012 - 2014, 2018 - 2020 Intel Corporation. All rights reserved.
9 * Copyright(c) 2013 - 2014 Intel Mobile Communications GmbH
10 * Copyright (C) 2015 - 2017 Intel Deutschland GmbH
26 * Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497
30 * Copyright(c) 2012 - 2014, 2018 - 2020 Intel Corporation. All rights reserved.
31 * Copyright(c) 2013 - 2014 Intel Mobile Communications GmbH
32 * Copyright (C) 2015 - 2017 Intel Deutschland GmbH
64 #include "iwl-debug.h"
65 #include "iwl-io.h"
66 #include "iwl-prph.h"
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ixgbe/
Dixgbe_ptp.c1 // SPDX-License-Identifier: GPL-2.0
2 /* Copyright(c) 1999 - 2018 Intel Corporation. */
30 * Period * [ 2 ^ ( MaxWidth - PeriodWidth ) ]
47 * +--------------+ +--------------+
49 * *--------------+ +--------------+
52 * +--------------+ +--------------+
54 * *--------------+ +--------------+
58 * 2^36 * 10^-9 / 60 = 1.14 minutes or 69 seconds
61 * 2^43 * 10^-9 / 3600 = 2.4 hours
89 * represents units of 2^-32 nanoseconds, and uses 31 bits for this, with the
[all …]
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/ixgbe/
Dixgbe_ptp.c1 // SPDX-License-Identifier: GPL-2.0
2 /* Copyright(c) 1999 - 2018 Intel Corporation. */
30 * Period * [ 2 ^ ( MaxWidth - PeriodWidth ) ]
47 * +--------------+ +--------------+
49 * *--------------+ +--------------+
52 * +--------------+ +--------------+
54 * *--------------+ +--------------+
58 * 2^36 * 10^-9 / 60 = 1.14 minutes or 69 seconds
61 * 2^43 * 10^-9 / 3600 = 2.4 hours
89 * represents units of 2^-32 nanoseconds, and uses 31 bits for this, with the
[all …]
/kernel/linux/linux-5.10/drivers/net/can/spi/mcp251xfd/
Dmcp251xfd.h1 /* SPDX-License-Identifier: GPL-2.0
3 * mcp251xfd - Microchip MCP251xFD Family CAN controller driver
6 * Marc Kleine-Budde <kernel@pengutronix.de>
15 #include <linux/can/rx-offload.h>
366 /* number of TX FIFO objects, depending on CAN mode
368 * FIFO setup: tef: 8*12 bytes = 96 bytes, tx: 8*16 bytes = 128 bytes
369 * FIFO setup: tef: 4*12 bytes = 48 bytes, tx: 4*72 bytes = 288 bytes
407 /* Silence TX MAB overflow warnings */
411 /* Use CRC to access RX/TEF-RAM */
413 /* Use CRC to access TX-RAM */
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qede/
Dqede_ptp.c1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause)
3 * Copyright (c) 2015-2017 QLogic Corporation
4 * Copyright (c) 2019-2020 Marvell International Ltd.
31 * qede_ptp_adjfreq() - Adjust the frequency of the PTP cycle counter.
41 struct qede_dev *edev = ptp->edev; in qede_ptp_adjfreq()
45 if (edev->state == QEDE_STATE_OPEN) { in qede_ptp_adjfreq()
46 spin_lock_bh(&ptp->lock); in qede_ptp_adjfreq()
47 rc = ptp->ops->adjfreq(edev->cdev, ppb); in qede_ptp_adjfreq()
48 spin_unlock_bh(&ptp->lock); in qede_ptp_adjfreq()
51 rc = -EFAULT; in qede_ptp_adjfreq()
[all …]

1234567891011