Home
last modified time | relevance | path

Searched full:fuse (Results 1 – 25 of 574) sorted by relevance

12345678910>>...23

/openbmc/linux/drivers/soc/tegra/fuse/
H A Dfuse-tegra20.c22 #include <soc/tegra/fuse.h>
24 #include "fuse.h"
30 static u32 tegra20_fuse_read_early(struct tegra_fuse *fuse, unsigned int offset) in tegra20_fuse_read_early() argument
32 return readl_relaxed(fuse->base + FUSE_BEGIN + offset); in tegra20_fuse_read_early()
37 struct tegra_fuse *fuse = args; in apb_dma_complete() local
39 complete(&fuse->apbdma.wait); in apb_dma_complete()
42 static u32 tegra20_fuse_read(struct tegra_fuse *fuse, unsigned int offset) in tegra20_fuse_read() argument
50 err = pm_runtime_resume_and_get(fuse->dev); in tegra20_fuse_read()
54 mutex_lock(&fuse->apbdma.lock); in tegra20_fuse_read()
56 fuse->apbdma.config.src_addr = fuse->phys + FUSE_BEGIN + offset; in tegra20_fuse_read()
[all …]
H A Dfuse-tegra.c22 #include <soc/tegra/fuse.h>
24 #include "fuse.h"
61 static struct tegra_fuse *fuse = &(struct tegra_fuse) { variable
101 struct tegra_fuse *fuse = priv; in tegra_fuse_read() local
105 buffer[i] = fuse->read(fuse, offset + i * 4); in tegra_fuse_read()
112 fuse->base = (void __iomem *)base; in tegra_fuse_restore()
113 fuse->clk = NULL; in tegra_fuse_restore()
118 void __iomem *base = fuse->base; in tegra_fuse_probe()
128 fuse->base = devm_platform_get_and_ioremap_resource(pdev, 0, &res); in tegra_fuse_probe()
129 if (IS_ERR(fuse->base)) in tegra_fuse_probe()
[all …]
H A Dfuse-tegra30.c17 #include <soc/tegra/fuse.h>
19 #include "fuse.h"
42 static u32 tegra30_fuse_read_early(struct tegra_fuse *fuse, unsigned int offset) in tegra30_fuse_read_early() argument
44 if (WARN_ON(!fuse->base)) in tegra30_fuse_read_early()
47 return readl_relaxed(fuse->base + FUSE_BEGIN + offset); in tegra30_fuse_read_early()
50 static u32 tegra30_fuse_read(struct tegra_fuse *fuse, unsigned int offset) in tegra30_fuse_read() argument
55 err = pm_runtime_resume_and_get(fuse->dev); in tegra30_fuse_read()
59 value = readl_relaxed(fuse->base + FUSE_BEGIN + offset); in tegra30_fuse_read()
61 pm_runtime_put(fuse->dev); in tegra30_fuse_read()
88 static void __init tegra30_fuse_init(struct tegra_fuse *fuse) in tegra30_fuse_init() argument
[all …]
/openbmc/u-boot/doc/
H A DREADME.fuse1 Fuse API functions and commands
3 The fuse API allows to control a fusebox and how it is used by the upper
6 A fuse corresponds to a single non-volatile memory bit that can be programmed
8 fuse that has not been programmed reads 0.
13 A fuse word is the smallest group of fuses that can be read at once from the
16 A fuse bank is the smallest group of fuse words having a common ID, as defined
19 Upon startup, the fusebox control IP reads the fuse values and stores them to a
28 fuse read <bank> <word> [<cnt>]
29 Read fuse words from the shadow cache.
32 fuse sense <bank> <word> [<cnt>]
[all …]
H A DREADME.fsl_iim1 Driver implementing the fuse API for Freescale's IC Identification Module (IIM)
14 A fuse word contains 8 fuse bit slots, as explained in 30.4.2.2.1.
16 A bank contains 256 fuse word slots, as shown by the memory map in 30.3.1.
18 Some fuse bit or word slots may not have the corresponding fuses actually
25 Fuse operations:
/openbmc/openbmc/meta-openembedded/meta-filesystems/recipes-support/fuse/
H A Dfuse_2.9.9.bb2 DESCRIPTION = "FUSE (Filesystem in Userspace) is a simple interface for userspace \
3 programs to export a virtual filesystem to the Linux kernel. FUSE \
16 file://0001-fuse-fix-the-return-value-of-help-option.patch \
18 file://fuse.conf \
24 UPSTREAM_CHECK_REGEX = "fuse\-(?P<pver>2(\.\d+)+).tar.gz"
26 CVE_PRODUCT = "fuse_project:fuse fuse:fuse"
30 INITSCRIPT_NAME = "fuse"
37 PACKAGES =+ "fuse-utils libulockmgr libulockmgr-dev"
39 RPROVIDES:${PN}-dbg += "fuse-utils-dbg libulockmgr-dbg"
41 RRECOMMENDS:${PN}:class-target = "kernel-module-fuse libulockmgr fuse-utils"
[all …]
/openbmc/linux/drivers/pmdomain/qcom/
H A Dcpr.c145 /* fuse quot */
149 /* fuse quot_offset */
366 struct fuse_corner *fuse = corner->fuse_corner; in cpr_corner_restore() local
370 ro_sel = fuse->ring_osc_idx; in cpr_corner_restore()
372 gcnt |= fuse->quot - corner->quot_adjust; in cpr_corner_restore()
376 step_quot |= fuse->step_quot & RBCPR_STEP_QUOT_STEPQUOT_MASK; in cpr_corner_restore()
806 struct fuse_corner *fuse = drv->fuse_corners; in cpr_populate_ring_osc_idx() local
807 struct fuse_corner *end = fuse + drv->desc->num_fuse_corners; in cpr_populate_ring_osc_idx()
812 for (; fuse < end; fuse++, fuses++) { in cpr_populate_ring_osc_idx()
816 fuse->ring_osc_idx = data; in cpr_populate_ring_osc_idx()
[all …]
/openbmc/qemu/tests/qemu-iotests/
H A D308.out26 'type': 'fuse',
29 'mountpoint': 'TEST_DIR/t.IMGFMT.fuse'
31 {"error": {"class": "GenericError", "desc": "Failed to stat 'TEST_DIR/t.IMGFMT.fuse': No such file …
36 'type': 'fuse',
39 'mountpoint': 'TEST_DIR/t.IMGFMT.fuse'
41 {"error": {"class": "GenericError", "desc": "'TEST_DIR/t.IMGFMT.fuse' is not a regular file"}}
46 'type': 'fuse',
49 'mountpoint': 'TEST_DIR/t.IMGFMT.fuse'
54 chmod: changing permissions of 'TEST_DIR/t.IMGFMT.fuse': Read-only file system
61 'type': 'fuse',
[all …]
/openbmc/qemu/tests/qemu-iotests/tests/
H A Dfuse-allow-other.out1 QA output created by fuse-allow-other
11 'type': 'fuse',
14 'mountpoint': 'TEST_DIR/fuse-export',
23 chmod: changing permissions of 'TEST_DIR/fuse-export': Operation not permitted
26 cat: fuse-export: Permission denied
27 stat: cannot statx 'fuse-export': Permission denied
28 cat: fuse-export: Permission denied
29 stat: cannot statx 'fuse-export': Permission denied
40 'type': 'fuse',
43 'mountpoint': 'TEST_DIR/fuse-export',
[all …]
H A Dfile-io-error31 rm -f "$TEST_DIR/fuse-export"
54 # file-posix, which can be done (rootless) by providing a FUSE export that
74 # FUSE mountpoint must exist and be a regular file
75 touch "$TEST_DIR/fuse-export"
77 # The grep -v to filter fusermount's (benign) error when /etc/fuse.conf does
78 # not contain user_allow_other and the subsequent check for missing FUSE support
84 'type': 'fuse',
86 'mountpoint': '$TEST_DIR/fuse-export',
92 if echo "$output" | grep -q "Parameter 'type' does not accept value 'fuse'"; then
93 _notrun 'No FUSE support'
[all …]
H A Dfuse-allow-other4 # Test FUSE exports' allow-other option
42 _supported_proto file # We create the FUSE export manually
59 'type': 'fuse',
83 EXT_MP="$TEST_DIR/fuse-export"
126 # This is already prevented by the permissions (without allow-other, FUSE
128 sudo -n -u nobody cat fuse-export >/dev/null
134 stat -c 'Permissions seen by nobody: %a' fuse-export 2>&1 \
138 chmod o-r fuse-export 2>&1 | _filter_testdir | _filter_imgfmt
141 sudo -n -u nobody cat fuse-export >/dev/null
144 stat -c 'Permissions seen by nobody: %a' fuse-export 2>&1 \
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/libeigen/libeigen/
H A D0001-Default-eigen_packet_wrapper-constructor.patch14 for recipes with -Werror enabled and gcc-11, e.g. fuse-core, robot-localization,
17 …ros/webos-noetic-honister/tmp-glibc/work/raspberrypi4-webos-linux-gnueabi/fuse-core/0.4.2-1-r0/rec…
18 …ros/webos-noetic-honister/tmp-glibc/work/raspberrypi4-webos-linux-gnueabi/fuse-core/0.4.2-1-r0/git…
19 …ros/webos-noetic-honister/tmp-glibc/work/raspberrypi4-webos-linux-gnueabi/fuse-core/0.4.2-1-r0/git…
20 …ros/webos-noetic-honister/tmp-glibc/work/raspberrypi4-webos-linux-gnueabi/fuse-core/0.4.2-1-r0/git…
21 …ros/webos-noetic-honister/tmp-glibc/work/raspberrypi4-webos-linux-gnueabi/fuse-core/0.4.2-1-r0/git…
22 …ros/webos-noetic-honister/tmp-glibc/work/raspberrypi4-webos-linux-gnueabi/fuse-core/0.4.2-1-r0/rec…
23 …ros/webos-noetic-honister/tmp-glibc/work/raspberrypi4-webos-linux-gnueabi/fuse-core/0.4.2-1-r0/rec…
26 …ros/webos-noetic-honister/tmp-glibc/work/raspberrypi4-webos-linux-gnueabi/fuse-core/0.4.2-1-r0/rec…
27 …ros/webos-noetic-honister/tmp-glibc/work/raspberrypi4-webos-linux-gnueabi/fuse-core/0.4.2-1-r0/git…
[all …]
/openbmc/u-boot/drivers/thermal/
H A Dimx_thermal.c11 #include <fuse.h>
42 unsigned int fuse; member
56 u32 fuse = priv->fuse; in read_cpu_temperature() local
66 * slope = 0.4445388 - (0.0016549 * 25C fuse) in read_cpu_temperature()
68 n1 = fuse >> 20; in read_cpu_temperature()
73 * slope = 0.4445388 - (0.0016549 * 25C fuse) in read_cpu_temperature()
142 u32 fuse = *priv; in read_cpu_temperature() local
146 * fuse data layout: in read_cpu_temperature()
153 raw_25c = fuse >> 21; in read_cpu_temperature()
157 te1 = (fuse >> 9) & 0x1ff; in read_cpu_temperature()
[all …]
/openbmc/u-boot/doc/imx/common/
H A Dimx6.txt6 1. CONVENTIONS FOR FUSE ASSIGNMENTS
9 1.1 MAC Address: It is stored in fuse bank 4, with the 32 lsbs in word 2 and the
12 is stored in fuse bank 4, with the 16 lsb in word 3[31:16] and the 32 msbs in
19 - The MAC address is stored in two fuse addresses (the fuse addresses are
25 In order to use the fuse API, we need to pass the bank and word values, which
28 Fuse address for the lower MAC address: 0x620
42 => fuse read 4 2
49 Fuse address for the upper MAC address: 0x630
63 => fuse read 4 3
84 - The command '=> fuse read 4 2 2' reads the whole MAC addresses at once:
[all …]
/openbmc/qemu/python/qemu/utils/
H A Dqom_fuse.py2 QEMU Object Model FUSE filesystem tool
4 This script offers a simple FUSE filesystem within which the QOM tree
10 usage: qom-fuse [-h] [--socket SOCKET] <mount>
12 Mount a QOM tree as a FUSE filesystem
48 import fuse
49 from fuse import FUSE, FuseOSError, Operations
56 fuse.fuse_python_api = (0, 2)
61 QOMFuse implements both fuse.Operations and QOMCommand.
65 name = 'fuse'
66 help = 'Mount a QOM tree as a FUSE filesystem'
[all …]
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/fuse/
H A Dbase.c27 nvkm_fuse_read(struct nvkm_fuse *fuse, u32 addr) in nvkm_fuse_read() argument
29 return fuse->func->read(fuse, addr); in nvkm_fuse_read()
47 struct nvkm_fuse *fuse; in nvkm_fuse_new_() local
48 if (!(fuse = *pfuse = kzalloc(sizeof(*fuse), GFP_KERNEL))) in nvkm_fuse_new_()
50 nvkm_subdev_ctor(&nvkm_fuse, device, type, inst, &fuse->subdev); in nvkm_fuse_new_()
51 fuse->func = func; in nvkm_fuse_new_()
52 spin_lock_init(&fuse->lock); in nvkm_fuse_new_()
/openbmc/linux/Documentation/filesystems/
H A Dvirtiofs.rst46 ro, rw, context, etc. It also supports FUSE mount options.
58 Since the virtio-fs device uses the FUSE protocol for file system requests, the
59 virtiofs file system for Linux is integrated closely with the FUSE file system
60 client. The guest acts as the FUSE client while the host acts as the FUSE
61 server. The /dev/fuse interface between the kernel and userspace is replaced
64 FUSE requests are placed into a virtqueue and processed by the host. The
68 Mapping /dev/fuse to virtqueues requires solving differences in semantics
69 between /dev/fuse and virtqueues. Each time the /dev/fuse device is read, the
70 FUSE client may choose which request to transfer, making it possible to
H A Dfuse.rst4 FUSE title
37 What is FUSE?
40 FUSE is a userspace filesystem framework. It consists of a kernel
41 module (fuse.ko), a userspace library (libfuse.*) and a mount utility
44 One of the most important features of FUSE is allowing secure,
50 `FUSE homepage: <https://github.com/libfuse/>`_
57 fuse
58 This is the usual way to mount a FUSE filesystem. The first
72 obtained by opening the FUSE device ('/dev/fuse').
84 By default FUSE doesn't check file access permissions, the
[all …]
/openbmc/linux/Documentation/devicetree/bindings/opp/
H A Dopp-v2-qcom-level.yaml27 qcom,opp-fuse-level:
29 A positive value representing the fuse corner/level associated with
30 this OPP node. Sometimes several corners/levels shares a certain fuse
31 corner/level. A fuse corner/level contains e.g. ref uV, min uV,
39 - qcom,opp-fuse-level
53 qcom,opp-fuse-level = <1>;
57 qcom,opp-fuse-level = <2>;
61 qcom,opp-fuse-level = <3>;
/openbmc/linux/Documentation/devicetree/bindings/fuse/
H A Dnvidia,tegra20-fuse.yaml4 $id: http://devicetree.org/schemas/fuse/nvidia,tegra20-fuse.yaml#
7 title: NVIDIA Tegra FUSE block
38 - const: fuse
45 - const: fuse
81 fuse@7000f800 {
85 clock-names = "fuse";
87 reset-names = "fuse";
/openbmc/u-boot/cmd/
H A Dfuse.c14 #include <fuse.h>
34 "\nReally perform this fuse programming? <y/N>\n"); in confirm_prog()
39 puts("Fuse programming aborted\n"); in confirm_prog()
135 fuse, CONFIG_SYS_MAXARGS, 0, do_fuse,
136 "Fuse sub-system",
137 "read <bank> <word> [<cnt>] - read 1 or 'cnt' fuse words,\n"
139 "fuse sense <bank> <word> [<cnt>] - sense 1 or 'cnt' fuse words,\n"
141 "fuse prog [-y] <bank> <word> <hexval> [<hexval>...] - program 1 or\n"
142 " several fuse words, starting at 'word' (PERMANENT)\n"
143 "fuse override <bank> <word> <hexval> [<hexval>...] - override 1 or\n"
[all …]
/openbmc/linux/fs/fuse/
H A DKconfig3 tristate "FUSE (Filesystem in Userspace) support"
6 With FUSE it is possible to implement a fully functional filesystem
10 from the FUSE homepage:
13 installed if you've installed the "fuse" package itself.
15 See <file:Documentation/filesystems/fuse.rst> for more information.
19 a filesystem based on FUSE, answer Y or M.
25 This FUSE extension allows character devices to be
/openbmc/openbmc/meta-openembedded/meta-filesystems/recipes-support/fuse/files/
H A Dgold-unversioned-symbol.patch1 fuse: Fix linking issues with gold linker
3 fuse has problems when linking with gold since it uses version
16 http://comments.gmane.org/gmane.comp.file-systems.fuse.devel/9524
24 lib/fuse.c | 10 +++++-----
30 diff --git a/lib/fuse.c b/lib/fuse.c
32 --- a/lib/fuse.c
33 +++ b/lib/fuse.c
34 @@ -4873,11 +4873,11 @@ struct fuse *fuse_new_compat1(int fd, int flags,
55 @@ -119,4 +119,4 @@ int fuse_loop_mt(struct fuse *f)
/openbmc/u-boot/board/toradex/colibri_imx6/
H A Ddo_fuse.c13 #include <fuse.h>
20 printf("Fuse 0, 5: %8x\n", val); in mfgr_fuse()
22 printf("Fuse 0, 6: %8x\n", val6); in mfgr_fuse()
24 printf("Fuse 4, 3: %8x\n", val); in mfgr_fuse()
26 printf("Fuse 4, 2: %8x\n", val); in mfgr_fuse()
64 printf("Fuse 0, 5: %8x\n", val); in do_updt_fuse()
66 puts("Fast boot mode already fused, no need to fuse\n"); in do_updt_fuse()
73 "\nReally perform this fuse programming? <y/N>\n"); in do_updt_fuse()
/openbmc/u-boot/board/toradex/apalis_imx6/
H A Ddo_fuse.c13 #include <fuse.h>
20 printf("Fuse 0, 5: %8x\n", val); in mfgr_fuse()
22 printf("Fuse 0, 6: %8x\n", val6); in mfgr_fuse()
24 printf("Fuse 4, 3: %8x\n", val); in mfgr_fuse()
26 printf("Fuse 4, 2: %8x\n", val); in mfgr_fuse()
64 printf("Fuse 0, 5: %8x\n", val); in do_updt_fuse()
66 puts("Fast boot mode already fused, no need to fuse\n"); in do_updt_fuse()
73 "\nReally perform this fuse programming? <y/N>\n"); in do_updt_fuse()

12345678910>>...23