Home
last modified time | relevance | path

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

123456789

/OK3568_Linux_fs/kernel/drivers/spi/
H A Dspi-rockchip-sfc.c197 static int rockchip_sfc_reset(struct rockchip_sfc *sfc) in rockchip_sfc_reset() argument
202 writel_relaxed(SFC_RCVR_RESET, sfc->regbase + SFC_RCVR); in rockchip_sfc_reset()
204 err = readl_poll_timeout(sfc->regbase + SFC_RCVR, status, in rockchip_sfc_reset()
208 dev_err(sfc->dev, "SFC reset never finished\n"); in rockchip_sfc_reset()
211 writel_relaxed(0xFFFFFFFF, sfc->regbase + SFC_ICLR); in rockchip_sfc_reset()
213 dev_dbg(sfc->dev, "reset\n"); in rockchip_sfc_reset()
218 static u16 rockchip_sfc_get_version(struct rockchip_sfc *sfc) in rockchip_sfc_get_version() argument
220 return (u16)(readl(sfc->regbase + SFC_VER) & 0xffff); in rockchip_sfc_get_version()
223 static u32 rockchip_sfc_get_max_iosize(struct rockchip_sfc *sfc) in rockchip_sfc_get_max_iosize() argument
228 static u32 rockchip_sfc_get_max_dll_cells(struct rockchip_sfc *sfc) in rockchip_sfc_get_max_dll_cells() argument
[all …]
/OK3568_Linux_fs/u-boot/drivers/spi/
H A Drockchip_sfc.c158 /* The SFC can transfer max 16KB - 1 at one time
194 static int rockchip_sfc_reset(struct rockchip_sfc *sfc) in rockchip_sfc_reset() argument
199 writel(SFC_RCVR_RESET, sfc->regbase + SFC_RCVR); in rockchip_sfc_reset()
201 err = readl_poll_timeout(sfc->regbase + SFC_RCVR, status, in rockchip_sfc_reset()
205 printf("SFC reset never finished\n"); in rockchip_sfc_reset()
208 writel(0xFFFFFFFF, sfc->regbase + SFC_ICLR); in rockchip_sfc_reset()
213 static u16 rockchip_sfc_get_version(struct rockchip_sfc *sfc) in rockchip_sfc_get_version() argument
215 return (u16)(readl(sfc->regbase + SFC_VER) & 0xffff); in rockchip_sfc_get_version()
218 static u32 rockchip_sfc_get_max_iosize(struct rockchip_sfc *sfc) in rockchip_sfc_get_max_iosize() argument
220 if (rockchip_sfc_get_version(sfc) >= SFC_VER_4) in rockchip_sfc_get_max_iosize()
[all …]
/OK3568_Linux_fs/kernel/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) : );
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/rkflash/
H A Dsfc.txt1 Rockchip SFC Controller for SOC
4 - compatible : "rockchip,sfc".
7 - clocks : shall reference sfc controller clocks.
8 - clock-names : sfc controller internal clock names. Shall contain :
9 * "clk_sfc" : sfc controller clock
10 * "hclk_sfc" : sfc ahb clock gate
15 sfc: sfc@301c0000 {
16 compatible = "rockchip,sfc";
/OK3568_Linux_fs/kernel/drivers/rkflash/
H A DKconfig12 Nand, SFC Spi Nand and SFC Spi Nor.
44 tristate "Rockchip SFC Spi Nand Devices support"
48 This enables support for Rockchip SFC Spi Nand Devices.
53 Serial Flash Controller(SFC).
56 bool "RK SFC NAND mtd Interface Support"
66 tristate "Rockchip SFC Spi Nor Devices Support"
71 This enables support for Rockchip SFC Spi Nor Devices.
76 Serial Flash Controller(SFC).
79 bool "RK SFC NOR mtd Interface Support"
H A Drksfc_base.c20 #include "sfc.h"
32 struct clk *clk; /* sfc clk*/
220 dev_err(g_sfc_dev, "Wait for SFC idle timeout!\n"); in rksfc_probe()
266 {.compatible = "rockchip,sfc"},
H A DMakefile4 …(CONFIG_RK_SFC_NAND) += rkflash_blk.o rkflash_debug.o rksfc_base.o sfc_nand_boot.o sfc_nand.o sfc.o
6 obj-$(CONFIG_RK_SFC_NOR) += rkflash_blk.o rkflash_debug.o rksfc_base.o sfc_nor_boot.o sfc_nor.o sfc
/OK3568_Linux_fs/kernel/drivers/net/ethernet/sfc/
H A DKconfig19 config SFC config
33 will be called sfc.
36 depends on SFC && MTD && !(SFC=y && MTD=m)
44 depends on SFC && HWMON && !(SFC=y && HWMON=m)
51 depends on SFC && PCI_IOV
59 depends on SFC
67 source "drivers/net/ethernet/sfc/falcon/Kconfig"
H A DMakefile2 sfc-y += efx.o efx_common.o efx_channels.o nic.o \
10 sfc-$(CONFIG_SFC_MTD) += mtd.o
11 sfc-$(CONFIG_SFC_SRIOV) += sriov.o siena_sriov.o ef10_sriov.o
13 obj-$(CONFIG_SFC) += sfc.o
/OK3568_Linux_fs/u-boot/drivers/rkflash/
H A DKconfig13 Nand, SFC SPI Nand and SFC SPI Nor.
36 bool "Rockchip SFC SPI Nand Devices support"
40 This enables support for Rockchip SFC SPI Nand Devices.
45 Serial Flash Controller(SFC).
47 bool "Rockchip SFC SPI Nor Devices Support"
50 This enables support for Rockchip SFC SPI Nor Devices.
55 Serial Flash Controller(SFC).
H A DMakefile9 obj-$(CONFIG_RKSFC_NAND) += rksftl.o rksfc_base.o rkflash_api.o sfc_nand.o sfc.o
10 obj-$(CONFIG_RKSFC_NOR) += rksfc_base.o rkflash_api.o sfc_nor.o sfc.o
/OK3568_Linux_fs/kernel/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:
70 sfc: spi@ff3a0000 {
71 compatible = "rockchip,sfc";
/OK3568_Linux_fs/u-boot/cmd/
H A Drksfc.c47 "rockchip sfc sub-system",
48 "scan - scan Sfc devices\n"
49 "rksfc info - show all available Sfc devices\n"
50 "rksfc device [dev] - show or set current Sfc device\n"
53 "rksfc part [dev] - print partition table of one or all Sfc devices\n"
/OK3568_Linux_fs/kernel/sound/firewire/
H A Dfcp.c32 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()
59 buf[5] = 0x07 & sfc; /* FDF-hi. AM824, frequency */ in avc_general_set_sig_fmt()
88 unsigned int sfc; in avc_general_get_sig_fmt() local
124 /* check sfc field and pick up rate */ in avc_general_get_sig_fmt()
125 sfc = 0x07 & buf[5]; in avc_general_get_sig_fmt()
126 if (sfc >= CIP_SFC_COUNT) { in avc_general_get_sig_fmt()
131 *rate = amdtp_rate_table[sfc]; in avc_general_get_sig_fmt()
H A Damdtp-stream.c276 unsigned int sfc; in amdtp_stream_set_parameters() local
278 for (sfc = 0; sfc < ARRAY_SIZE(amdtp_rate_table); ++sfc) { in amdtp_stream_set_parameters()
279 if (amdtp_rate_table[sfc] == rate) in amdtp_stream_set_parameters()
282 if (sfc == ARRAY_SIZE(amdtp_rate_table)) in amdtp_stream_set_parameters()
285 s->sfc = sfc; in amdtp_stream_set_parameters()
287 s->syt_interval = amdtp_syt_intervals[sfc]; in amdtp_stream_set_parameters()
344 unsigned int syt_interval, enum cip_sfc sfc) in calculate_data_blocks() argument
357 if (!cip_sfc_is_base_44100(sfc)) { in calculate_data_blocks()
371 if (sfc == CIP_SFC_44100) in calculate_data_blocks()
377 data_blocks = 11 * (sfc >> 1) + (phase == 0); in calculate_data_blocks()
[all …]
H A Damdtp-stream.h71 * data such as 'One Bit LInear Audio', therefore the meaning of SFC became
161 enum cip_sfc sfc; member
257 static inline bool cip_sfc_is_base_44100(enum cip_sfc sfc) in cip_sfc_is_base_44100() argument
259 return sfc & 1; in cip_sfc_is_base_44100()
/OK3568_Linux_fs/u-boot/doc/
H A DREADME.rksfc1 rksfc (Rockchip SPI FLASH SFC drivers)
7 The rksfc is used for Rockchip Soc sfc devices with
12 It supprot SFC SPI NOR.
24 To find and initialize sfc devices, try:
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/yocto/poky/scripts/pybootchartgui/pybootchartgui/
H A Dbatch.py23 lambda sfc: sfc.write_to_png(filename)),
24 "pdf": (lambda w, h: cairo.PDFSurface(filename, w, h), lambda sfc: 0),
25 "svg": (lambda w, h: cairo.SVGSurface(filename, w, h), lambda sfc: 0)
/OK3568_Linux_fs/kernel/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/
/OK3568_Linux_fs/kernel/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
/OK3568_Linux_fs/u-boot/include/
H A Drksfc.h10 * rksfc_scan_namespace - scan all namespaces attached to RK SFC
13 * This probes all registered RK SFC uclass device drivers in the
14 * system,and tries to find all namespaces attached to the RK SFC
/OK3568_Linux_fs/kernel/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 …]
/OK3568_Linux_fs/kernel/arch/arm/boot/dts/
H A Drv1126-thunder-boot-spi-nor.dtsi10 compatible = "rockchip,thunder-boot-sfc";
17 &sfc {

123456789