Home
last modified time | relevance | path

Searched full:sfc (Results 1 – 25 of 85) sorted by relevance

1234

/linux/drivers/spi/
H A Dspi-rockchip-sfc.c190 static int rockchip_sfc_reset(struct rockchip_sfc *sfc) in rockchip_sfc_reset() argument
195 writel_relaxed(SFC_RCVR_RESET, sfc->regbase + SFC_RCVR); in rockchip_sfc_reset()
197 err = readl_poll_timeout(sfc->regbase + SFC_RCVR, status, in rockchip_sfc_reset()
201 dev_err(sfc->dev, "SFC reset never finished\n"); in rockchip_sfc_reset()
204 writel_relaxed(0xFFFFFFFF, sfc->regbase + SFC_ICLR); in rockchip_sfc_reset()
206 dev_dbg(sfc->dev, "reset\n"); in rockchip_sfc_reset()
211 static u16 rockchip_sfc_get_version(struct rockchip_sfc *sfc) in rockchip_sfc_get_version() argument
213 return (u16)(readl(sfc->regbase + SFC_VER) & 0xffff); in rockchip_sfc_get_version()
216 static u32 rockchip_sfc_get_max_iosize(struct rockchip_sfc *sfc) in rockchip_sfc_get_max_iosize() argument
221 static int rockchip_sfc_clk_set_rate(struct rockchip_sfc *sfc, unsigned long speed) in rockchip_sfc_clk_set_rate() argument
[all …]
H A Dspi-amlogic-spifc-a4.c130 /* soft flags for sfc */
225 static inline void *aml_sfc_to_ecc_ctx(struct aml_sfc *sfc) in aml_sfc_to_ecc_ctx() argument
227 return sfc->priv; in aml_sfc_to_ecc_ctx()
230 static int aml_sfc_wait_cmd_finish(struct aml_sfc *sfc, u64 timeout_ms) in aml_sfc_wait_cmd_finish() argument
247 regmap_write(sfc->regmap_base, SFC_CMD, CMD_IDLE(sfc->cs_sel, 0)); in aml_sfc_wait_cmd_finish()
248 regmap_write(sfc->regmap_base, SFC_CMD, CMD_IDLE(sfc->cs_sel, 0)); in aml_sfc_wait_cmd_finish()
251 ret = regmap_read_poll_timeout(sfc->regmap_base, SFC_CMD, cmd_size, in aml_sfc_wait_cmd_finish()
255 dev_err(sfc->dev, "wait for empty CMD FIFO time out\n"); in aml_sfc_wait_cmd_finish()
260 static int aml_sfc_pre_transfer(struct aml_sfc *sfc, u32 idle_cycle, u32 cs2clk_cycle) in aml_sfc_pre_transfer() argument
264 ret = regmap_write(sfc->regmap_base, SFC_CMD, CMD_IDLE(CS_NONE, idle_cycle)); in aml_sfc_pre_transfer()
[all …]
/linux/Documentation/devicetree/bindings/sound/
H A Dnvidia,tegra210-sfc.yaml4 $id: http://devicetree.org/schemas/sound/nvidia,tegra210-sfc.yaml#
7 title: Tegra210 SFC
10 The Sampling Frequency Converter (SFC) converts the sampling frequency
24 pattern: "^sfc@[0-9a-f]*$"
28 - const: nvidia,tegra210-sfc
31 - nvidia,tegra264-sfc
32 - nvidia,tegra234-sfc
33 - nvidia,tegra194-sfc
34 - nvidia,tegra186-sfc
35 - const: nvidia,tegra210-sfc
[all …]
H A Dnvidia,tegra210-ahub.yaml94 '^sfc@[0-9a-f]+$':
96 $ref: nvidia,tegra210-sfc.yaml#
/linux/arch/m68k/include/asm/
H A Dsun3mmu.h75 unsigned char sfc, c; in sun3_get_buserr() local
77 GET_SFC (sfc); in sun3_get_buserr()
80 SET_SFC (sfc); in sun3_get_buserr()
89 unsigned char c, sfc; in sun3_get_segmap() local
91 GET_SFC (sfc); in sun3_get_segmap()
94 SET_SFC (sfc); in sun3_get_segmap()
103 unsigned char sfc; in sun3_put_segmap() local
105 GET_DFC (sfc); in sun3_put_segmap()
108 SET_DFC (sfc); in sun3_put_segmap()
117 unsigned char sfc; in sun3_get_pte() local
[all …]
H A Dmovs.h21 /* Set SFC register value */
24 __asm__ __volatile__ (" movec %0,%/sfc" : : "d" (x));
26 /* Get SFC register value */
29 __asm__ __volatile__ (" movec %/sfc, %0" : "=d" (x) : );
/linux/drivers/net/ethernet/sfc/
H A DKconfig19 config SFC config
34 will be called sfc.
37 depends on SFC && MTD && !(SFC=y && MTD=m)
46 depends on SFC && HWMON && !(SFC=y && HWMON=m)
53 depends on SFC && PCI_IOV
62 depends on SFC
70 source "drivers/net/ethernet/sfc/falcon/Kconfig"
71 source "drivers/net/ethernet/sfc/siena/Kconfig"
H A DMakefile2 sfc-y += efx.o efx_common.o efx_channels.o nic.o \
11 sfc-$(CONFIG_SFC_MTD) += mtd.o
12 sfc-$(CONFIG_SFC_SRIOV) += sriov.o ef10_sriov.o ef100_sriov.o ef100_rep.o \
16 obj-$(CONFIG_SFC) += sfc.o
/linux/Documentation/devicetree/bindings/spi/
H A Drockchip-sfc.yaml4 $id: http://devicetree.org/schemas/spi/rockchip-sfc.yaml#
7 title: Rockchip Serial Flash Controller (SFC)
18 const: rockchip,sfc
20 The rockchip sfc controller is a standalone IP with version register,
43 rockchip,sfc-no-dma:
72 sfc: spi@ff3a0000 {
73 compatible = "rockchip,sfc";
/linux/drivers/net/ethernet/sfc/siena/
H A DMakefile2 sfc-siena-y += farch.o siena.o \
8 sfc-siena-$(CONFIG_SFC_SIENA_MTD) += mtd.o
9 sfc-siena-$(CONFIG_SFC_SIENA_SRIOV) += siena_sriov.o
11 obj-$(CONFIG_SFC_SIENA) += sfc-siena.o
/linux/sound/firewire/oxfw/
H A Doxfw-command.c115 unsigned int sfc; in avc_general_inquiry_sig_fmt() local
119 for (sfc = 0; sfc < CIP_SFC_COUNT; sfc++) { in avc_general_inquiry_sig_fmt()
120 if (amdtp_rate_table[sfc] == rate) in avc_general_inquiry_sig_fmt()
123 if (sfc == CIP_SFC_COUNT) in avc_general_inquiry_sig_fmt()
138 buf[5] = 0x07 & sfc; /* FDF-hi. AM824, frequency */ in avc_general_inquiry_sig_fmt()
/linux/include/net/
H A Dnsh.h30 * Maintenance (OAM) packet. The actual format and processing of SFC
32 * example [I-D.ietf-sfc-oam-framework] for one approach).
37 * SF/SFF/SFC Proxy/Classifier implementations that do not support SFC
39 * a configurable parameter to enable forwarding received SFC OAM
41 * packets unmodified by SFC elements that do not support SFC OAM
125 * Functions or by SFC Proxy nodes after performing required services
152 * packet or frame for SFC nodes that require access to that
190 * [0] https://datatracker.ietf.org/doc/draft-ietf-sfc-nsh/
/linux/Documentation/networking/devlink/
H A Dsfc.rst4 sfc devlink support
7 This document describes the devlink features implemented by the ``sfc``
13 The ``sfc`` driver reports the following versions
66 The ``sfc`` driver implements support for flash update using the
/linux/drivers/net/ethernet/sfc/falcon/
H A DMakefile2 sfc-falcon-y += efx.o nic.o farch.o falcon.o tx.o rx.o selftest.o \
6 sfc-falcon-$(CONFIG_SFC_FALCON_MTD) += mtd.o
7 obj-$(CONFIG_SFC_FALCON) += sfc-falcon.o
/linux/sound/soc/tegra/
H A Dtegra210_sfc.h3 * tegra210_sfc.h - Definitions for Tegra210 SFC driver
14 * The data comes from XBAR to SFC.
26 * The data goes out of SFC.
H A DKconfig145 tristate "Tegra210 SFC module"
147 Config to enable the Sampling Frequency Converter (SFC) which
151 Say Y or M if you want to add support for Tegra210 SFC module.
/linux/sound/firewire/
H A Damdtp-stream.c274 unsigned int sfc; in amdtp_stream_set_parameters() local
276 for (sfc = 0; sfc < ARRAY_SIZE(amdtp_rate_table); ++sfc) { in amdtp_stream_set_parameters()
277 if (amdtp_rate_table[sfc] == rate) in amdtp_stream_set_parameters()
280 if (sfc == ARRAY_SIZE(amdtp_rate_table)) in amdtp_stream_set_parameters()
283 s->sfc = sfc; in amdtp_stream_set_parameters()
285 s->syt_interval = amdtp_syt_intervals[sfc]; in amdtp_stream_set_parameters()
372 const enum cip_sfc sfc = s->sfc; in pool_ideal_nonblocking_data_blocks() local
379 if (!cip_sfc_is_base_44100(sfc)) { in pool_ideal_nonblocking_data_blocks()
393 if (sfc == CIP_SFC_44100) in pool_ideal_nonblocking_data_blocks()
398 desc->data_blocks = 11 * (sfc >> 1) + (phase == 0); in pool_ideal_nonblocking_data_blocks()
[all …]
H A Damdtp-stream.h78 * data such as 'One Bit LInear Audio', therefore the meaning of SFC became
189 enum cip_sfc sfc; member
297 static inline bool cip_sfc_is_base_44100(enum cip_sfc sfc) in cip_sfc_is_base_44100() argument
299 return sfc & 1; in cip_sfc_is_base_44100()
/linux/arch/m68k/ifpsp060/src/
H A Disp.S2937 # d6 = previous sfc/dfc #
2942 # d6 = previous sfc/dfc #
3098 mov.l %d6,%sfc # restore previous sfc
3114 mov.l %d6,%sfc # restore previous sfc
3194 # (3) Save current SFC/DFC (ASSUMED TO BE EQUAL!!!); Then set #
3283 # load the SFC and DFC with the appropriate mode.
3284 movc %sfc,%d6 # save old SFC/DFC
3285 movc %d0,%sfc # store new SFC
3333 # D6 = old SFC/DFC
3410 # restore previous SFC/DFC value.
[all …]
/linux/arch/m68k/kernel/
H A Dentry.S340 /* save fs (sfc,%dfc) (may be pointing to kernel memory) */
341 movec %sfc,%d0
427 /* restore fs (sfc,%dfc) */
429 movec %a0,%sfc
/linux/drivers/net/phy/qcom/
H A Dqcom-phy-lib.c244 int sfc, speed; in at803x_read_specific_status() local
246 sfc = phy_read(phydev, AT803X_SPECIFIC_FUNCTION_CONTROL); in at803x_read_specific_status()
247 if (sfc < 0) in at803x_read_specific_status()
248 return sfc; in at803x_read_specific_status()
277 switch (FIELD_GET(AT803X_SFC_MDI_CROSSOVER_MODE_M, sfc)) { in at803x_read_specific_status()
/linux/arch/m68k/ifpsp060/
H A Diskeleton.S204 | load sfc/dfc
212 movec.l %d0,%sfc
226 | restore sfc/dfc
228 movec.l %d2,%sfc
/linux/arch/arm/boot/dts/rockchip/
H A Drv1108.dtsi535 sfc: spi@301c0000 { label
536 compatible = "rockchip,sfc";
714 sfc {
715 sfc_bus4: sfc-bus4 {
723 sfc_bus2: sfc-bus2 {
729 sfc_cs0: sfc-cs0 {
734 sfc_clk: sfc-clk {
/linux/arch/m68k/fpsp040/
H A Dskeleton.S469 | and copyin overwrites SFC.
493 | SFC is already set
494 | movec %d1,%SFC | set sfc for user space
/linux/drivers/mtd/spi-nor/controllers/
H A DMakefile2 obj-$(CONFIG_SPI_HISI_SFC) += hisi-sfc.o

1234