| /OK3568_Linux_fs/kernel/drivers/spi/ |
| H A D | spi-rockchip-sfc.c | 197 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 D | rockchip_sfc.c | 158 /* 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 D | sun3mmu.h | 75 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 D | movs.h | 21 /* 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 D | sfc.txt | 1 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 D | Kconfig | 12 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 D | rksfc_base.c | 20 #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 D | Makefile | 4 …(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 D | Kconfig | 19 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 D | Makefile | 2 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 D | Kconfig | 13 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 D | Makefile | 9 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 D | rockchip-sfc.yaml | 4 $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 D | rksfc.c | 47 "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 D | fcp.c | 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() 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 D | amdtp-stream.c | 276 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 D | amdtp-stream.h | 71 * 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 D | README.rksfc | 1 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 D | oxfw-command.c | 115 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 D | batch.py | 23 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 D | nsh.h | 30 * 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 D | Makefile | 2 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 D | rksfc.h | 10 * 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 D | isp.S | 2937 # 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 D | rv1126-thunder-boot-spi-nor.dtsi | 10 compatible = "rockchip,thunder-boot-sfc"; 17 &sfc {
|