Home
last modified time | relevance | path

Searched +full:rx +full:- +full:frame +full:- +full:sync +full:- +full:delay +full:- +full:bits (Results 1 – 25 of 340) sorted by relevance

12345678910>>...14

/kernel/linux/linux-6.6/Documentation/devicetree/bindings/soc/fsl/cpm_qe/
Dfsl,cpm1-tsa.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-tsa.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: PowerQUICC CPM Time-slot assigner (TSA) controller
10 - Herve Codina <herve.codina@bootlin.com>
13 The TSA is the time-slot assigner that can be found on some PowerQUICC SoC.
14 Its purpose is to route some TDM time-slots to other internal serial
20 - enum:
21 - fsl,mpc885-tsa
[all …]
/kernel/linux/linux-6.6/drivers/soc/fsl/qe/
Dtsa.c1 // SPDX-License-Identifier: GPL-2.0
11 #include <dt-bindings/soc/cpm1-fsl,tsa.h>
33 /* SI mode register (32 bits) */
54 /* SI global mode register (8 bits) */
64 /* SI status register (8 bits) */
67 /* SI command register (8 bits) */
70 /* SI clock route register (32 bits) */
97 /* Serial interface RAM pointer register (32 bits) */
135 return container_of(tsa_serial, struct tsa, serials[tsa_serial->id]); in tsa_serial_get_tsa()
170 switch (tsa_serial->id) { in tsa_serial_connect()
[all …]
/kernel/linux/linux-6.6/drivers/spi/
Dspi-sh-msiof.c1 // SPDX-License-Identifier: GPL-2.0
7 * Copyright (C) 2014-2017 Glider bvba
13 #include <linux/delay.h>
14 #include <linux/dma-mapping.h>
86 #define SIMDR1_SYNCMD_MASK GENMASK(29, 28) /* SYNC Mode */
89 #define SIMDR1_SYNCAC_SHIFT 25 /* Sync Polarity (1 = Active-low) */
91 #define SIMDR1_DTDL_SHIFT 20 /* Data Pin Bit Delay for MSIOF_SYNC */
92 #define SIMDR1_SYNCDL_SHIFT 16 /* Frame Sync Signal Timing Delay */
93 #define SIMDR1_FLD_MASK GENMASK(3, 2) /* Frame Sync Signal Interval (0-3) */
98 #define SITMDR1_SYNCCH_MASK GENMASK(27, 26) /* Sync Signal Channel Select */
[all …]
/kernel/linux/linux-5.10/drivers/spi/
Dspi-sh-msiof.c1 // SPDX-License-Identifier: GPL-2.0
7 * Copyright (C) 2014-2017 Glider bvba
13 #include <linux/delay.h>
14 #include <linux/dma-mapping.h>
87 #define SIMDR1_SYNCMD_MASK GENMASK(29, 28) /* SYNC Mode */
90 #define SIMDR1_SYNCAC_SHIFT 25 /* Sync Polarity (1 = Active-low) */
92 #define SIMDR1_DTDL_SHIFT 20 /* Data Pin Bit Delay for MSIOF_SYNC */
93 #define SIMDR1_SYNCDL_SHIFT 16 /* Frame Sync Signal Timing Delay */
94 #define SIMDR1_FLD_MASK GENMASK(3, 2) /* Frame Sync Signal Interval (0-3) */
99 #define SITMDR1_SYNCCH_MASK GENMASK(27, 26) /* Sync Signal Channel Select */
[all …]
/kernel/linux/linux-5.10/drivers/tty/serial/
Dpmac_zilog.h1 /* SPDX-License-Identifier: GPL-2.0 */
25 * of "escc" node (ie. ch-a or ch-b)
74 if (uap->flags & PMACZILOG_FLAG_IS_CHANNEL_A) in pmz_get_port_A()
76 return uap->mate; in pmz_get_port_A()
81 * delay on PCI PowerMac hardware, it's dealt in HW by the MacIO chip,
88 writeb(reg, port->control_reg); in read_zsreg()
89 return readb(port->control_reg); in read_zsreg()
95 writeb(reg, port->control_reg); in write_zsreg()
96 writeb(value, port->control_reg); in write_zsreg()
101 return readb(port->data_reg); in read_zsdata()
[all …]
/kernel/linux/linux-6.6/drivers/tty/serial/
Dpmac_zilog.h1 /* SPDX-License-Identifier: GPL-2.0 */
25 * of "escc" node (ie. ch-a or ch-b)
64 if (uap->flags & PMACZILOG_FLAG_IS_CHANNEL_A) in pmz_get_port_A()
66 return uap->mate; in pmz_get_port_A()
71 * delay on PCI PowerMac hardware, it's dealt in HW by the MacIO chip,
78 writeb(reg, port->control_reg); in read_zsreg()
79 return readb(port->control_reg); in read_zsreg()
85 writeb(reg, port->control_reg); in write_zsreg()
86 writeb(value, port->control_reg); in write_zsreg()
91 return readb(port->data_reg); in read_zsdata()
[all …]
/kernel/linux/linux-5.10/sound/soc/fsl/
Dfsl_sai.c1 // SPDX-License-Identifier: GPL-2.0+
5 // Copyright 2012-2015 Freescale Semiconductor, Inc.
8 #include <linux/delay.h>
21 #include <linux/mfd/syscon/imx6q-iomuxc-gpr.h>
24 #include "imx-pcm.h"
41 * fsl_sai_dir_is_synced - Check if stream is synced by the opposite stream
43 * SAI supports synchronous mode using bit/frame clocks of either Transmitter's
52 int adir = (dir == TX) ? RX : TX; in fsl_sai_dir_is_synced()
54 /* current dir in async mode while opposite dir in sync mode */ in fsl_sai_dir_is_synced()
55 return !sai->synchronous[dir] && sai->synchronous[adir]; in fsl_sai_dir_is_synced()
[all …]
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
18 // from 48000Hz not every frame has valid receive data, so the ratio
23 // provides us status bits when the read register is updated with *another*
25 // contains the same value) these status bits are not set. We work
26 // around this by not polling these bits but only wait a fixed delay.
35 #include <linux/delay.h>
52 #include "imx-pcm.h"
[all …]
/kernel/linux/linux-6.6/include/linux/
Dpxa2xx_ssp.h1 /* SPDX-License-Identifier: GPL-2.0-only */
5 * This driver supports the following PXA CPU/SSP ports:-
17 #include <linux/bits.h>
31 * PXA255, PXA26x and PXA27x have extra ports, registers and bits.
43 #define SSRSA (0x34) /* SSP Rx Timeslot Active */
48 /* Common PXA2xx bits first */
50 #define SSCR0_DataSize(x) ((x) - 1) /* Data Size Select [4..16] */
51 #define SSCR0_FRF GENMASK(5, 4) /* FRame Format (mask) */
64 #define SSCR0_FRDC GENMASK(26, 24) /* Frame rate divider control (mask) */
65 #define SSCR0_SlotsPerFrm(x) (((x) - 1) << 24) /* Time slots per frame [1..8] */
[all …]
/kernel/linux/linux-5.10/include/linux/
Dpxa2xx_ssp.h1 /* SPDX-License-Identifier: GPL-2.0-only */
5 * This driver supports the following PXA CPU/SSP ports:-
17 #include <linux/bits.h>
31 * PXA255, PXA26x and PXA27x have extra ports, registers and bits.
44 #define SSRSA (0x34) /* SSP Rx Timeslot Active */
49 /* Common PXA2xx bits first */
51 #define SSCR0_DataSize(x) ((x) - 1) /* Data Size Select [4..16] */
52 #define SSCR0_FRF GENMASK(5, 4) /* FRame Format (mask) */
65 #define SSCR0_FRDC GENMASK(26, 24) /* Frame rate divider control (mask) */
66 #define SSCR0_SlotsPerFrm(x) (((x) - 1) << 24) /* Time slots per frame [1..8] */
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/dma/xilinx/
Dxilinx_dma.txt11 Xilinx AXI CDMA engine, it does transfers between memory-mapped source
12 address and a memory-mapped destination address.
19 - compatible: Should be one of-
20 "xlnx,axi-vdma-1.00.a"
21 "xlnx,axi-dma-1.00.a"
22 "xlnx,axi-cdma-1.00.a"
23 "xlnx,axi-mcdma-1.00.a"
24 - #dma-cells: Should be <1>, see "dmas" property below
25 - reg: Should contain VDMA registers location and length.
26 - xlnx,addrwidth: Should be the vdma addressing size in bits(ex: 32 bits).
[all …]
/kernel/linux/linux-6.6/sound/soc/fsl/
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
18 // from 48000Hz not every frame has valid receive data, so the ratio
23 // provides us status bits when the read register is updated with *another*
25 // contains the same value) these status bits are not set. We work
26 // around this by not polling these bits but only wait a fixed delay.
35 #include <linux/delay.h>
43 #include <linux/dma/imx-dma.h>
[all …]
Dfsl_sai.c1 // SPDX-License-Identifier: GPL-2.0+
5 // Copyright 2012-2015 Freescale Semiconductor, Inc.
8 #include <linux/delay.h>
23 #include <linux/mfd/syscon/imx6q-iomuxc-gpr.h>
27 #include "imx-pcm.h"
45 * fsl_sai_dir_is_synced - Check if stream is synced by the opposite stream
47 * SAI supports synchronous mode using bit/frame clocks of either Transmitter's
56 int adir = (dir == TX) ? RX : TX; in fsl_sai_dir_is_synced()
58 /* current dir in async mode while opposite dir in sync mode */ in fsl_sai_dir_is_synced()
59 return !sai->synchronous[dir] && sai->synchronous[adir]; in fsl_sai_dir_is_synced()
[all …]
/kernel/linux/linux-5.10/sound/soc/bcm/
Dbcm2835-i2s.c1 // SPDX-License-Identifier: GPL-2.0-only
23 * Copyright 2007-2010 Freescale Semiconductor, Inc.
28 #include <linux/delay.h>
108 /* Frame length register is 10 bit, maximum length 1024 */
130 unsigned int master = dev->fmt & SND_SOC_DAIFMT_MASTER_MASK; in bcm2835_i2s_start_clock()
132 if (dev->clk_prepared) in bcm2835_i2s_start_clock()
138 clk_prepare_enable(dev->clk); in bcm2835_i2s_start_clock()
139 dev->clk_prepared = true; in bcm2835_i2s_start_clock()
148 if (dev->clk_prepared) in bcm2835_i2s_stop_clock()
149 clk_disable_unprepare(dev->clk); in bcm2835_i2s_stop_clock()
[all …]
/kernel/linux/linux-6.6/sound/soc/bcm/
Dbcm2835-i2s.c1 // SPDX-License-Identifier: GPL-2.0-only
23 * Copyright 2007-2010 Freescale Semiconductor, Inc.
28 #include <linux/delay.h>
108 /* Frame length register is 10 bit, maximum length 1024 */
130 unsigned int provider = dev->fmt & SND_SOC_DAIFMT_CLOCK_PROVIDER_MASK; in bcm2835_i2s_start_clock()
132 if (dev->clk_prepared) in bcm2835_i2s_start_clock()
138 clk_prepare_enable(dev->clk); in bcm2835_i2s_start_clock()
139 dev->clk_prepared = true; in bcm2835_i2s_start_clock()
148 if (dev->clk_prepared) in bcm2835_i2s_stop_clock()
149 clk_disable_unprepare(dev->clk); in bcm2835_i2s_stop_clock()
[all …]
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/e1000e/
Ddefines.h1 /* SPDX-License-Identifier: GPL-2.0 */
2 /* Copyright(c) 1999 - 2018 Intel Corporation. */
46 #define E1000_CTRL_EXT_IAME 0x08000000 /* Int ACK Auto-mask */
64 #define E1000_RXD_ERR_RXE 0x80 /* Rx Data Error */
65 #define E1000_RXD_SPC_VLAN_MASK 0x0FFF /* VLAN ID is in lower 12 bits */
74 /* mask to determine if packets should be dropped due to frame errors */
100 #define E1000_MANC_SMBUS_EN 0x00000001 /* SMBus Enabled - RO */
101 #define E1000_MANC_ASF_EN 0x00000002 /* ASF Enabled - RO */
125 #define E1000_RCTL_RDMTS_HALF 0x00000000 /* Rx desc min threshold size */
131 #define E1000_RCTL_SZ_2048 0x00000000 /* Rx buffer size 2048 */
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/e1000e/
Ddefines.h1 /* SPDX-License-Identifier: GPL-2.0 */
2 /* Copyright(c) 1999 - 2018 Intel Corporation. */
46 #define E1000_CTRL_EXT_IAME 0x08000000 /* Int ACK Auto-mask */
64 #define E1000_RXD_ERR_RXE 0x80 /* Rx Data Error */
65 #define E1000_RXD_SPC_VLAN_MASK 0x0FFF /* VLAN ID is in lower 12 bits */
74 /* mask to determine if packets should be dropped due to frame errors */
100 #define E1000_MANC_SMBUS_EN 0x00000001 /* SMBus Enabled - RO */
101 #define E1000_MANC_ASF_EN 0x00000002 /* ASF Enabled - RO */
125 #define E1000_RCTL_RDMTS_HALF 0x00000000 /* Rx desc min threshold size */
131 #define E1000_RCTL_SZ_2048 0x00000000 /* Rx buffer size 2048 */
[all …]
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/igc/
Digc_defines.h1 /* SPDX-License-Identifier: GPL-2.0 */
88 /* Loop limit on how long we wait for auto-negotiation to complete */
170 /* 1000BASE-T Control Register */
174 /* 1000BASE-T Status Register */
180 #define MMD_DEVADDR_SHIFT 16 /* Shift MMD to higher bits */
189 /* NVM Addressing bits based on type 0=small, 1=large */
204 #define IGC_NVM_RW_ADDR_SHIFT 2 /* Shift to the address bits */
238 /* 1Gbps and 2.5Gbps half duplex is not supported, nor spec-compliant. */
258 #define IGC_ICR_RXSEQ BIT(3) /* Rx sequence error */
259 #define IGC_ICR_RXDMT0 BIT(4) /* Rx desc min. threshold (0) */
[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 */
137 #define MMD_DEVADDR_SHIFT 16 /* Shift MMD to higher bits */
146 /* NVM Addressing bits based on type 0=small, 1=large */
161 #define IGC_NVM_RW_ADDR_SHIFT 2 /* Shift to the address bits */
195 /* 1Gbps and 2.5Gbps half duplex is not supported, nor spec-compliant. */
215 #define IGC_ICR_RXSEQ BIT(3) /* Rx sequence error */
216 #define IGC_ICR_RXDMT0 BIT(4) /* Rx desc min. threshold (0) */
[all …]
/kernel/linux/linux-5.10/drivers/net/wan/
Dfarsync.c1 // SPDX-License-Identifier: GPL-2.0-or-later
5 * Actually sync driver for X.21, V.35 and V.24 on FarSync T-series cards
7 * Copyright (C) 2001-2004 FarSite Communications Ltd.
25 #include <linux/delay.h>
37 MODULE_DESCRIPTION("FarSync T-Series WAN driver. FarSite Communications Ltd.");
70 #define ARPHRD_MYTYPE ARPHRD_HDLC /* Cisco-HDLC (keepalives etc) */
94 * file. Unfortunately various name clashes and the non-portability of the
134 volatile u8 hadr; /* High order address. Low 4 bits only, high 4
135 * bits must be zero
137 volatile u8 bits; /* Status and config */ member
[all …]
/kernel/linux/linux-6.6/drivers/net/wan/
Dfarsync.c1 // SPDX-License-Identifier: GPL-2.0-or-later
4 * Actually sync driver for X.21, V.35 and V.24 on FarSync T-series cards
6 * Copyright (C) 2001-2004 FarSite Communications Ltd.
24 #include <linux/delay.h>
35 MODULE_DESCRIPTION("FarSync T-Series WAN driver. FarSite Communications Ltd.");
71 #define ARPHRD_MYTYPE ARPHRD_HDLC /* Cisco-HDLC (keepalives etc) */
94 * file. Unfortunately various name clashes and the non-portability of the
136 volatile u8 hadr; /* High order address. Low 4 bits only, high 4
137 * bits must be zero
139 volatile u8 bits; /* Status and config */ member
[all …]
/kernel/linux/linux-6.6/drivers/net/ethernet/sun/
Dcassini.h1 /* SPDX-License-Identifier: GPL-2.0+ */
29 /* cassini register map: 2M memory mapped in 32-bit memory space accessible as
30 * 32-bit words. there is no i/o port access. REG_ addresses are
42 * if rx weight == 1 and tx weight == 0, rx == 2x tx transfer credit
45 * DEFAULT: 0x0, SIZE: 5 bits
62 /* top level interrupts [0-9] are auto-cleared to 0 when the status
63 * register is read. second level interrupts [13 - 18] are cleared at
64 * the source. tx completion register 3 is replicated in [19 - 31]
65 * DEFAULT: 0x00000000, SIZE: 29 bits
68 #define INTR_TX_INTME 0x00000001 /* frame w/ INT ME desc bit set
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/sun/
Dcassini.h1 /* SPDX-License-Identifier: GPL-2.0+ */
29 /* cassini register map: 2M memory mapped in 32-bit memory space accessible as
30 * 32-bit words. there is no i/o port access. REG_ addresses are
42 * if rx weight == 1 and tx weight == 0, rx == 2x tx transfer credit
45 * DEFAULT: 0x0, SIZE: 5 bits
62 /* top level interrupts [0-9] are auto-cleared to 0 when the status
63 * register is read. second level interrupts [13 - 18] are cleared at
64 * the source. tx completion register 3 is replicated in [19 - 31]
65 * DEFAULT: 0x00000000, SIZE: 29 bits
68 #define INTR_TX_INTME 0x00000001 /* frame w/ INT ME desc bit set
[all …]
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath5k/
Dreg.h2 * Copyright (c) 2006-2008 Nick Kossifidis <mickflemm@gmail.com>
3 * Copyright (c) 2004-2008 Reyk Floeter <reyk@openbsd.org>
4 * Copyright (c) 2007-2008 Michael Taylor <mike.taylor@apprion.com>
28 * 5210 - http://nova.stanford.edu/~bbaas/ps/isscc2002_slides.pdf
30 * 5211 - http://www.hotchips.org/archives/hc14/3_Tue/16_mcfarland.pdf
33 * Atheros's ART program (Atheros Radio Test), on ath9k, on legacy-hal
42 * AR5210-Specific TXDP registers
46 #define AR5K_NOQCU_TXDP0 0x0000 /* Queue 0 - data */
47 #define AR5K_NOQCU_TXDP1 0x0004 /* Queue 1 - beacons */
55 #define AR5K_CR_RXE 0x00000004 /* RX Enable */
[all …]
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath5k/
Dreg.h2 * Copyright (c) 2006-2008 Nick Kossifidis <mickflemm@gmail.com>
3 * Copyright (c) 2004-2008 Reyk Floeter <reyk@openbsd.org>
4 * Copyright (c) 2007-2008 Michael Taylor <mike.taylor@apprion.com>
28 * 5210 - http://nova.stanford.edu/~bbaas/ps/isscc2002_slides.pdf
30 * 5211 - http://www.hotchips.org/archives/hc14/3_Tue/16_mcfarland.pdf
33 * Atheros's ART program (Atheros Radio Test), on ath9k, on legacy-hal
42 * AR5210-Specific TXDP registers
46 #define AR5K_NOQCU_TXDP0 0x0000 /* Queue 0 - data */
47 #define AR5K_NOQCU_TXDP1 0x0004 /* Queue 1 - beacons */
55 #define AR5K_CR_RXE 0x00000004 /* RX Enable */
[all …]

12345678910>>...14