Home
last modified time | relevance | path

Searched refs:fuse (Results 1 – 25 of 152) sorted by relevance

1234567

/kernel/linux/linux-5.10/drivers/soc/tegra/fuse/
Dfuse-tegra20.c29 static u32 tegra20_fuse_read_early(struct tegra_fuse *fuse, unsigned int offset) in tegra20_fuse_read_early() argument
31 return readl_relaxed(fuse->base + FUSE_BEGIN + offset); in tegra20_fuse_read_early()
36 struct tegra_fuse *fuse = args; in apb_dma_complete() local
38 complete(&fuse->apbdma.wait); in apb_dma_complete()
41 static u32 tegra20_fuse_read(struct tegra_fuse *fuse, unsigned int offset) in tegra20_fuse_read() argument
49 mutex_lock(&fuse->apbdma.lock); in tegra20_fuse_read()
51 fuse->apbdma.config.src_addr = fuse->phys + FUSE_BEGIN + offset; in tegra20_fuse_read()
53 err = dmaengine_slave_config(fuse->apbdma.chan, &fuse->apbdma.config); in tegra20_fuse_read()
57 dma_desc = dmaengine_prep_slave_single(fuse->apbdma.chan, in tegra20_fuse_read()
58 fuse->apbdma.phys, in tegra20_fuse_read()
[all …]
Dfuse-tegra.c46 static struct tegra_fuse *fuse = &(struct tegra_fuse) { variable
86 struct tegra_fuse *fuse = priv; in tegra_fuse_read() local
90 buffer[i] = fuse->read(fuse, offset + i * 4); in tegra_fuse_read()
185 void __iomem *base = fuse->base; in tegra_fuse_probe()
192 fuse->phys = res->start; in tegra_fuse_probe()
193 fuse->base = devm_ioremap_resource(&pdev->dev, res); in tegra_fuse_probe()
194 if (IS_ERR(fuse->base)) { in tegra_fuse_probe()
195 err = PTR_ERR(fuse->base); in tegra_fuse_probe()
196 fuse->base = base; in tegra_fuse_probe()
200 fuse->clk = devm_clk_get(&pdev->dev, "fuse"); in tegra_fuse_probe()
[all …]
Dfuse-tegra30.c42 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 = clk_prepare_enable(fuse->clk); in tegra30_fuse_read()
57 dev_err(fuse->dev, "failed to enable FUSE clock: %d\n", err); in tegra30_fuse_read()
61 value = readl_relaxed(fuse->base + FUSE_BEGIN + offset); in tegra30_fuse_read()
63 clk_disable_unprepare(fuse->clk); in tegra30_fuse_read()
90 static void __init tegra30_fuse_init(struct tegra_fuse *fuse) in tegra30_fuse_init() argument
92 fuse->read_early = tegra30_fuse_read_early; in tegra30_fuse_init()
[all …]
Dfuse.h21 u32 (*read)(struct tegra_fuse *fuse, unsigned int offset);
27 void (*init)(struct tegra_fuse *fuse);
29 int (*probe)(struct tegra_fuse *fuse);
45 u32 (*read_early)(struct tegra_fuse *fuse, unsigned int offset);
46 u32 (*read)(struct tegra_fuse *fuse, unsigned int offset);
DMakefile2 obj-y += fuse-tegra.o
3 obj-y += fuse-tegra30.o
5 obj-$(CONFIG_ARCH_TEGRA_2x_SOC) += fuse-tegra20.o
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/subdev/fuse/
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, index, &fuse->subdev); in nvkm_fuse_new_()
51 fuse->func = func; in nvkm_fuse_new_()
52 spin_lock_init(&fuse->lock); in nvkm_fuse_new_()
DKbuild2 nvkm-y += nvkm/subdev/fuse/base.o
3 nvkm-y += nvkm/subdev/fuse/nv50.o
4 nvkm-y += nvkm/subdev/fuse/gf100.o
5 nvkm-y += nvkm/subdev/fuse/gm107.o
Dnv50.c27 nv50_fuse_read(struct nvkm_fuse *fuse, u32 addr) in nv50_fuse_read() argument
29 struct nvkm_device *device = fuse->subdev.device; in nv50_fuse_read()
34 spin_lock_irqsave(&fuse->lock, flags); in nv50_fuse_read()
38 spin_unlock_irqrestore(&fuse->lock, flags); in nv50_fuse_read()
Dgf100.c27 gf100_fuse_read(struct nvkm_fuse *fuse, u32 addr) in gf100_fuse_read() argument
29 struct nvkm_device *device = fuse->subdev.device; in gf100_fuse_read()
34 spin_lock_irqsave(&fuse->lock, flags); in gf100_fuse_read()
40 spin_unlock_irqrestore(&fuse->lock, flags); in gf100_fuse_read()
Dgm107.c27 gm107_fuse_read(struct nvkm_fuse *fuse, u32 addr) in gm107_fuse_read() argument
29 struct nvkm_device *device = fuse->subdev.device; in gm107_fuse_read()
/kernel/linux/linux-5.10/drivers/soc/qcom/
Dcpr.c367 struct fuse_corner *fuse = corner->fuse_corner; in cpr_corner_restore() local
371 ro_sel = fuse->ring_osc_idx; in cpr_corner_restore()
373 gcnt |= fuse->quot - corner->quot_adjust; in cpr_corner_restore()
377 step_quot |= fuse->step_quot & RBCPR_STEP_QUOT_STEPQUOT_MASK; in cpr_corner_restore()
839 struct fuse_corner *fuse = drv->fuse_corners; in cpr_populate_ring_osc_idx() local
840 struct fuse_corner *end = fuse + drv->desc->num_fuse_corners; in cpr_populate_ring_osc_idx()
845 for (; fuse < end; fuse++, fuses++) { in cpr_populate_ring_osc_idx()
850 fuse->ring_osc_idx = data; in cpr_populate_ring_osc_idx()
889 struct fuse_corner *fuse, *end; in cpr_fuse_corner_init() local
901 fuse = drv->fuse_corners; in cpr_fuse_corner_init()
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/fuse/
Dnvidia,tegra20-fuse.txt1 NVIDIA Tegra20/Tegra30/Tegr114/Tegra124 fuse block.
12 nvidia,tegra20-efuse: Tegra20 requires using APB DMA to read the fuse data
20 of the fuse registers.
24 - fuse
28 - fuse
32 fuse@7000f800 {
37 clock-names = "fuse";
39 reset-names = "fuse";
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/subdev/volt/
Dgf117.c32 struct nvkm_fuse *fuse = device->fuse; in gf117_volt_speedo_read() local
34 if (!fuse) in gf117_volt_speedo_read()
37 return nvkm_fuse_read(fuse, 0x3a8); in gf117_volt_speedo_read()
Dgf100.c32 struct nvkm_fuse *fuse = device->fuse; in gf100_volt_speedo_read() local
34 if (!fuse) in gf100_volt_speedo_read()
37 return nvkm_fuse_read(fuse, 0x1cc); in gf100_volt_speedo_read()
Dgk104.c72 struct nvkm_fuse *fuse = device->fuse; in gk104_volt_speedo_read() local
75 if (!fuse) in gk104_volt_speedo_read()
79 ret = nvkm_fuse_read(fuse, 0x3a8); in gk104_volt_speedo_read()
/kernel/linux/linux-5.10/Documentation/translations/zh_CN/filesystems/
Dvirtiofs.rst49 间之间的/dev/fuse接口由virtio-fs设备接口代替。
53 将/dev/fuse映射到虚拟队列需要解决/dev/fuse和虚拟队列之间语义上的差异。每次读取\
54 /dev/fuse设备时,FUSE客户端都可以选择要传输的请求,从而可以使某些请求优先于其他\
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/opp/
Dqcom-opp.txt16 - qcom,opp-fuse-level: A positive value representing the fuse corner/level
18 a certain fuse corner/level. A fuse corner/level contains e.g. ref uV,
/kernel/linux/linux-5.10/fs/fuse/
DMakefile6 obj-$(CONFIG_FUSE_FS) += fuse.o
10 fuse-y := dev.o dir.o file.o inode.o control.o xattr.o acl.o readdir.o
11 fuse-$(CONFIG_FUSE_DAX) += dax.o
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/power/avs/
Dqcom,cpr.txt61 that makes up a fuse corner, for each fuse corner.
62 As well as the CPR fuse revision.
81 qcom,opp-fuse-level = <1>;
85 qcom,opp-fuse-level = <2>;
89 qcom,opp-fuse-level = <3>;
/kernel/linux/linux-5.10/tools/testing/selftests/memfd/
DMakefile11 VAR_CFLAGS := $(shell pkg-config fuse --cflags 2>/dev/null)
13 VAR_CFLAGS := -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse
16 VAR_LDLIBS := $(shell pkg-config fuse --libs 2>/dev/null)
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/engine/device/
Dbase.c819 .fuse = nv50_fuse_new,
926 .fuse = nv50_fuse_new,
958 .fuse = nv50_fuse_new,
990 .fuse = nv50_fuse_new,
1022 .fuse = nv50_fuse_new,
1054 .fuse = nv50_fuse_new,
1086 .fuse = nv50_fuse_new,
1118 .fuse = nv50_fuse_new,
1150 .fuse = nv50_fuse_new,
1184 .fuse = nv50_fuse_new,
[all …]
/kernel/linux/linux-5.10/drivers/crypto/qat/qat_c3xxx/
Dadf_c3xxx_hw_data.c20 static u32 get_accel_mask(u32 fuse) in get_accel_mask() argument
22 return (~fuse) >> ADF_C3XXX_ACCELERATORS_REG_OFFSET & in get_accel_mask()
26 static u32 get_ae_mask(u32 fuse) in get_ae_mask() argument
28 return (~fuse) & ADF_C3XXX_ACCELENGINES_MASK; in get_ae_mask()
/kernel/linux/linux-5.10/drivers/crypto/qat/qat_c62x/
Dadf_c62x_hw_data.c25 static u32 get_accel_mask(u32 fuse) in get_accel_mask() argument
27 return (~fuse) >> ADF_C62X_ACCELERATORS_REG_OFFSET & in get_accel_mask()
31 static u32 get_ae_mask(u32 fuse) in get_ae_mask() argument
33 return (~fuse) & ADF_C62X_ACCELENGINES_MASK; in get_ae_mask()
/kernel/linux/linux-5.10/drivers/crypto/qat/qat_dh895xcc/
Dadf_dh895xcc_hw_data.c27 static u32 get_accel_mask(u32 fuse) in get_accel_mask() argument
29 return (~fuse) >> ADF_DH895XCC_ACCELERATORS_REG_OFFSET & in get_accel_mask()
33 static u32 get_ae_mask(u32 fuse) in get_ae_mask() argument
35 return (~fuse) & ADF_DH895XCC_ACCELENGINES_MASK; in get_ae_mask()
/kernel/linux/linux-5.10/Documentation/ABI/testing/
Dsysfs-driver-tegra-fuse1 What: /sys/devices/*/<our-device>/fuse
8 as decoded from the fuse registers. Bits order/assignment

1234567