Home
last modified time | relevance | path

Searched +full:sfc +full:- +full:no +full:- +full:dma (Results 1 – 25 of 30) sorted by relevance

12

/kernel/linux/linux-6.6/drivers/spi/
Dspi-rockchip-sfc.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (c) 2017-2021, Rockchip Inc.
6 * Author: Shawn Lin <shawn.lin@rock-chips.com>
8 * Jon Lin <Jon.lin@rock-chips.com>
14 #include <linux/dma-mapping.h>
22 #include <linux/spi/spi-mem.h>
154 * devices (0-3), however I have only been able to test a single CS (CS 0)
159 /* The SFC can transfer max 16KB - 1 at one time
164 /* DMA is only enabled for large data transmission */
168 * 150MHz. No minimum or average value is suggested.
[all …]
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
13 dynamic device discovery; some are even write-only or read-only.
17 chips, analog to digital (and d-to-a) converters, and more.
44 If your system has an master-capable SPI controller (which
56 by providing a high-level interface to send memory-like commands.
145 supports spi-mem interface.
224 this code to manage the per-word or per-transfer accesses to the
254 Flash over 1/2/4-bit wide bus. Enable this option if you have a
266 Flash over up to 8-bit wide bus. Enable this option if you have a
274 This enables dedicated general purpose SPI/Microwire1-compatible
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/spi/
Drockchip-sfc.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/spi/rockchip-sfc.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Rockchip Serial Flash Controller (SFC)
10 - Heiko Stuebner <heiko@sntech.de>
11 - Chris Morgan <macromorgan@hotmail.com>
14 - $ref: spi-controller.yaml#
18 const: rockchip,sfc
20 The rockchip sfc controller is a standalone IP with version register,
[all …]
/kernel/linux/linux-5.10/sound/firewire/
Dfcp.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Function Control Protocol (IEC 61883-1) helper functions
10 #include <linux/firewire-constants.h>
20 #include "amdtp-stream.h"
32 unsigned int sfc; in avc_general_set_sig_fmt() local
38 for (sfc = 0; sfc < CIP_SFC_COUNT; sfc++) { in avc_general_set_sig_fmt()
39 if (amdtp_rate_table[sfc] == rate) { in avc_general_set_sig_fmt()
45 return -EINVAL; in avc_general_set_sig_fmt()
49 return -ENOMEM; in avc_general_set_sig_fmt()
59 buf[5] = 0x07 & sfc; /* FDF-hi. AM824, frequency */ in avc_general_set_sig_fmt()
[all …]
Damdtp-stream.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Audio and Music Data Transmission Protocol (IEC 61883-6) streams
4 * with Common Isochronous Packet (IEC 61883-1) headers
12 #include <linux/firewire-constants.h>
17 #include "amdtp-stream.h"
27 #include "amdtp-stream-trace.h"
70 * amdtp_stream_init - initialize an AMDTP stream structure
86 return -EINVAL; in amdtp_stream_init()
88 s->protocol = kzalloc(protocol_size, GFP_KERNEL); in amdtp_stream_init()
89 if (!s->protocol) in amdtp_stream_init()
[all …]
/kernel/linux/linux-6.6/sound/firewire/
Dfcp.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Function Control Protocol (IEC 61883-1) helper functions
10 #include <linux/firewire-constants.h>
20 #include "amdtp-stream.h"
32 unsigned int sfc; in avc_general_set_sig_fmt() local
38 for (sfc = 0; sfc < CIP_SFC_COUNT; sfc++) { in avc_general_set_sig_fmt()
39 if (amdtp_rate_table[sfc] == rate) { in avc_general_set_sig_fmt()
45 return -EINVAL; in avc_general_set_sig_fmt()
49 return -ENOMEM; in avc_general_set_sig_fmt()
59 buf[5] = 0x07 & sfc; /* FDF-hi. AM824, frequency */ in avc_general_set_sig_fmt()
[all …]
Damdtp-stream.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Audio and Music Data Transmission Protocol (IEC 61883-6) streams
4 * with Common Isochronous Packet (IEC 61883-1) headers
12 #include <linux/firewire-constants.h>
17 #include "amdtp-stream.h"
27 #include "amdtp-stream-trace.h"
83 * amdtp_stream_init - initialize an AMDTP stream structure
87 * @flags: the details of the streaming protocol consist of cip_flags enumeration-constants.
99 return -EINVAL; in amdtp_stream_init()
101 s->protocol = kzalloc(protocol_size, GFP_KERNEL); in amdtp_stream_init()
[all …]
/kernel/linux/linux-6.6/arch/arm64/boot/dts/nvidia/
Dtegra186.dtsi1 // SPDX-License-Identifier: GPL-2.0
2 #include <dt-bindings/clock/tegra186-clock.h>
3 #include <dt-bindings/gpio/tegra186-gpio.h>
4 #include <dt-bindings/interrupt-controller/arm-gic.h>
5 #include <dt-bindings/mailbox/tegra186-hsp.h>
6 #include <dt-bindings/memory/tegra186-mc.h>
7 #include <dt-bindings/pinctrl/pinctrl-tegra-io-pad.h>
8 #include <dt-bindings/power/tegra186-powergate.h>
9 #include <dt-bindings/reset/tegra186-reset.h>
10 #include <dt-bindings/thermal/tegra186-bpmp-thermal.h>
[all …]
Dtegra210.dtsi1 // SPDX-License-Identifier: GPL-2.0
2 #include <dt-bindings/clock/tegra210-car.h>
3 #include <dt-bindings/gpio/tegra-gpio.h>
4 #include <dt-bindings/memory/tegra210-mc.h>
5 #include <dt-bindings/pinctrl/pinctrl-tegra.h>
6 #include <dt-bindings/pinctrl/pinctrl-tegra-io-pad.h>
7 #include <dt-bindings/reset/tegra210-car.h>
8 #include <dt-bindings/interrupt-controller/arm-gic.h>
9 #include <dt-bindings/thermal/tegra124-soctherm.h>
10 #include <dt-bindings/soc/tegra-pmc.h>
[all …]
Dtegra194.dtsi1 // SPDX-License-Identifier: GPL-2.0
2 #include <dt-bindings/clock/tegra194-clock.h>
3 #include <dt-bindings/gpio/tegra194-gpio.h>
4 #include <dt-bindings/interrupt-controller/arm-gic.h>
5 #include <dt-bindings/mailbox/tegra186-hsp.h>
6 #include <dt-bindings/pinctrl/pinctrl-tegra-io-pad.h>
7 #include <dt-bindings/pinctrl/pinctrl-tegra.h>
8 #include <dt-bindings/power/tegra194-powergate.h>
9 #include <dt-bindings/reset/tegra194-reset.h>
10 #include <dt-bindings/thermal/tegra194-bpmp-thermal.h>
[all …]
Dtegra234.dtsi1 // SPDX-License-Identifier: GPL-2.0
3 #include <dt-bindings/clock/tegra234-clock.h>
4 #include <dt-bindings/gpio/tegra234-gpio.h>
5 #include <dt-bindings/interrupt-controller/arm-gic.h>
6 #include <dt-bindings/mailbox/tegra186-hsp.h>
7 #include <dt-bindings/memory/tegra234-mc.h>
8 #include <dt-bindings/pinctrl/pinctrl-tegra-io-pad.h>
9 #include <dt-bindings/power/tegra234-powergate.h>
10 #include <dt-bindings/reset/tegra234-reset.h>
11 #include <dt-bindings/thermal/tegra234-bpmp-thermal.h>
[all …]
/kernel/linux/linux-6.6/arch/arm/boot/dts/rockchip/
Drv1108.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/interrupt-controller/irq.h>
5 #include <dt-bindings/interrupt-controller/arm-gic.h>
6 #include <dt-bindings/clock/rv1108-cru.h>
7 #include <dt-bindings/pinctrl/rockchip.h>
8 #include <dt-bindings/thermal/thermal.h>
10 #address-cells = <1>;
11 #size-cells = <1>;
15 interrupt-parent = <&gic>;
[all …]
/kernel/linux/linux-6.6/drivers/mtd/spi-nor/controllers/
Dhisi-sfc.c1 // SPDX-License-Identifier: GPL-2.0-or-later
5 * Copyright (c) 2015-2016 HiSilicon Technologies Co., Ltd.
9 #include <linux/dma-mapping.h>
13 #include <linux/mtd/spi-nor.h>
64 #define HIFMC_DMA_MASK (HIFMC_DMA_MAX_LEN - 1)
107 return readl_poll_timeout(host->regbase + FMC_INT, reg, in hisi_spi_nor_wait_op_finish()
144 writel(reg, host->regbase + FMC_SPI_TIMING_CFG); in hisi_spi_nor_init()
149 struct hifmc_priv *priv = nor->priv; in hisi_spi_nor_prep()
150 struct hifmc_host *host = priv->host; in hisi_spi_nor_prep()
153 mutex_lock(&host->lock); in hisi_spi_nor_prep()
[all …]
/kernel/linux/linux-5.10/drivers/mtd/spi-nor/controllers/
Dhisi-sfc.c1 // SPDX-License-Identifier: GPL-2.0-or-later
5 * Copyright (c) 2015-2016 HiSilicon Technologies Co., Ltd.
9 #include <linux/dma-mapping.h>
13 #include <linux/mtd/spi-nor.h>
64 #define HIFMC_DMA_MASK (HIFMC_DMA_MAX_LEN - 1)
107 return readl_poll_timeout(host->regbase + FMC_INT, reg, in hisi_spi_nor_wait_op_finish()
144 writel(reg, host->regbase + FMC_SPI_TIMING_CFG); in hisi_spi_nor_init()
149 struct hifmc_priv *priv = nor->priv; in hisi_spi_nor_prep()
150 struct hifmc_host *host = priv->host; in hisi_spi_nor_prep()
153 mutex_lock(&host->lock); in hisi_spi_nor_prep()
[all …]
/kernel/linux/linux-6.6/drivers/net/ethernet/sfc/siena/
Defx_common.c1 // SPDX-License-Identifier: GPL-2.0-only
37 * On Falcon-based NICs, this will:
38 * - Check the on-board hardware monitor;
39 * - Poll the link state and reconfigure the hardware as necessary.
40 * On Siena-based NICs for power systems with EEH support, this will give EEH a
108 * queued onto this work queue. This is not a per-nic work queue, because
118 return -ENOMEM; in efx_siena_create_reset_workqueue()
126 queue_work(reset_workqueue, &efx->reset_work); in efx_siena_queue_reset_work()
131 cancel_work_sync(&efx->reset_work); in efx_siena_flush_reset_workqueue()
142 /* We assume that efx->type->reconfigure_mac will always try to sync RX
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/sfc/
Defx_common.c1 // SPDX-License-Identifier: GPL-2.0-only
36 * On Falcon-based NICs, this will:
37 * - Check the on-board hardware monitor;
38 * - Poll the link state and reconfigure the hardware as necessary.
39 * On Siena-based NICs for power systems with EEH support, this will give EEH a
107 * queued onto this work queue. This is not a per-nic work queue, because
117 return -ENOMEM; in efx_create_reset_workqueue()
125 queue_work(reset_workqueue, &efx->reset_work); in efx_queue_reset_work()
130 cancel_work_sync(&efx->reset_work); in efx_flush_reset_workqueue()
141 /* We assume that efx->type->reconfigure_mac will always try to sync RX
[all …]
/kernel/linux/linux-6.6/drivers/net/ethernet/sfc/
Defx_common.c1 // SPDX-License-Identifier: GPL-2.0-only
104 * queued onto this work queue. This is not a per-nic work queue, because
114 return -ENOMEM; in efx_create_reset_workqueue()
122 queue_work(reset_workqueue, &efx->reset_work); in efx_queue_reset_work()
127 cancel_work_sync(&efx->reset_work); in efx_flush_reset_workqueue()
138 /* We assume that efx->type->reconfigure_mac will always try to sync RX
139 * filters and therefore needs to read-lock the filter table against freeing
143 if (efx->type->reconfigure_mac) { in efx_mac_reconfigure()
144 down_read(&efx->filter_sem); in efx_mac_reconfigure()
145 efx->type->reconfigure_mac(efx, mtu_only); in efx_mac_reconfigure()
[all …]
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/gt/
Dintel_engine_cs.c1 // SPDX-License-Identifier: MIT
40 * on HSW) - so the final size, including the extra state required for the
260 * intel_engine_context_size() - return the size of the context for an engine
275 struct intel_uncore *uncore = gt->uncore; in intel_engine_context_size()
284 switch (GRAPHICS_VER(gt->i915)) { in intel_engine_context_size()
286 MISSING_CASE(GRAPHICS_VER(gt->i915)); in intel_engine_context_size()
296 if (IS_HASWELL(gt->i915)) in intel_engine_context_size()
319 drm_dbg(&gt->i915->drm, in intel_engine_context_size()
321 GRAPHICS_VER(gt->i915), cxt_size * 64, in intel_engine_context_size()
322 cxt_size - 1); in intel_engine_context_size()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gt/
Dintel_engine_cs.c17 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
47 * on HSW) - so the final size, including the extra state required for the
144 * intel_engine_context_size() - return the size of the context for an engine
159 struct intel_uncore *uncore = gt->uncore; in intel_engine_context_size()
166 switch (INTEL_GEN(gt->i915)) { in intel_engine_context_size()
168 MISSING_CASE(INTEL_GEN(gt->i915)); in intel_engine_context_size()
180 if (IS_HASWELL(gt->i915)) in intel_engine_context_size()
203 drm_dbg(&gt->i915->drm, in intel_engine_context_size()
205 INTEL_GEN(gt->i915), cxt_size * 64, in intel_engine_context_size()
206 cxt_size - 1); in intel_engine_context_size()
[all …]
/kernel/linux/linux-6.6/arch/arm64/boot/dts/rockchip/
Drk356x.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 #include <dt-bindings/clock/rk3568-cru.h>
7 #include <dt-bindings/interrupt-controller/arm-gic.h>
8 #include <dt-bindings/interrupt-controller/irq.h>
9 #include <dt-bindings/phy/phy.h>
10 #include <dt-bindings/pinctrl/rockchip.h>
11 #include <dt-bindings/power/rk3568-power.h>
12 #include <dt-bindings/soc/rockchip,boot-mode.h>
13 #include <dt-bindings/thermal/thermal.h>
16 interrupt-parent = <&gic>;
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/sfc/falcon/
Defx.c1 // SPDX-License-Identifier: GPL-2.0-only
4 * Copyright 2005-2006 Fen Systems Ltd.
5 * Copyright 2005-2013 Solarflare Communications Inc.
85 * queued onto this work queue. This is not a per-nic work queue, because
108 * This is only used in MSI-X interrupt mode
115 /* This is the weight assigned to each of the (per-channel) virtual
122 * On Falcon-based NICs, this will:
123 * - Check the on-board hardware monitor;
124 * - Poll the link state and reconfigure the hardware as necessary.
125 * On Siena-based NICs for power systems with EEH support, this will give EEH a
[all …]
/kernel/linux/linux-6.6/drivers/net/ethernet/sfc/falcon/
Defx.c1 // SPDX-License-Identifier: GPL-2.0-only
4 * Copyright 2005-2006 Fen Systems Ltd.
5 * Copyright 2005-2013 Solarflare Communications Inc.
84 * queued onto this work queue. This is not a per-nic work queue, because
107 * This is only used in MSI-X interrupt mode
116 * On Falcon-based NICs, this will:
117 * - Check the on-board hardware monitor;
118 * - Poll the link state and reconfigure the hardware as necessary.
119 * On Siena-based NICs for power systems with EEH support, this will give EEH a
128 * round-trip latency and reducing overhead.
[all …]
Dfalcon.c1 // SPDX-License-Identifier: GPL-2.0-only
4 * Copyright 2005-2006 Fen Systems Ltd.
5 * Copyright 2006-2013 Solarflare Communications Inc.
134 (*(u32 *)((efx)->stats_buffer.addr + XgDmaDone_offset))
139 /* 48-bit stats are zero-padded to 64 on DMA */ \
199 [0 ... BITS_TO_LONGS(FALCON_STAT_COUNT) - 1] = ~0UL,
216 #define SPI_STATUS_WPEN 0x80 /* Write-protect pin enabled */
225 * Non-volatile memory layout
231 * 0-0x400 chip and board config (see struct falcon_nvconfig)
232 * 0x400-0x8000 unused (or may contain VPD if EEPROM not present)
[all …]
/kernel/linux/linux-5.10/drivers/scsi/
Dadvansys.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * advansys.c - Linux Host Driver for AdvanSys SCSI Adapters
5 * Copyright (c) 1995-2000 Advanced System Products, Inc.
6 * Copyright (c) 2000-2001 ConnectCom Solutions, Inc.
34 #include <linux/dma-mapping.h>
39 #include <asm/dma.h>
116 #define ASC_CHIP_LATEST_VER_EISA ((ASC_CHIP_MIN_VER_EISA - 1) + 3)
133 * Narrow boards only support 12-byte commands, while wide boards
134 * extend to 16-byte commands.
389 #define ASC_IERR_NO_CARRIER 0x0001 /* No more carrier memory */
[all …]
/kernel/linux/patches/linux-5.10/hispark_taurus_patch/
Dhispark_taurus.patch1 diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
3 --- a/arch/arm/Kconfig
5 @@ -322,7 +322,7 @@ config ARCH_MULTIPLATFORM
9 - select AUTO_ZRELADDR
14 @@ -650,6 +650,8 @@ source "arch/arm/mach-highbank/Kconfig"
16 source "arch/arm/mach-hisi/Kconfig"
18 +source "arch/arm/mach-hibvt/Kconfig"
20 source "arch/arm/mach-imx/Kconfig"
22 source "arch/arm/mach-integrator/Kconfig"
23 diff --git a/arch/arm/Makefile b/arch/arm/Makefile
[all …]

12