Home
last modified time | relevance | path

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

123

/linux/drivers/soc/tegra/fuse/
H A Dfuse-tegra20.c30 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()
58 err = dmaengine_slave_config(fuse->apbdma.chan, &fuse->apbdma.config); in tegra20_fuse_read()
62 dma_desc = dmaengine_prep_slave_single(fuse->apbdma.chan, in tegra20_fuse_read()
[all …]
H A Dfuse-tegra.c62 static struct tegra_fuse *fuse = &(struct tegra_fuse) { variable
102 struct tegra_fuse *fuse = priv; in tegra_fuse_read() local
106 buffer[i] = fuse->read(fuse, offset + i * 4); in tegra_fuse_read()
113 fuse->base = (void __iomem *)base; in tegra_fuse_restore()
114 fuse->clk = NULL; in tegra_fuse_restore()
127 static int tegra_fuse_add_lookups(struct tegra_fuse *fuse) in tegra_fuse_add_lookups() argument
129 fuse->lookups = kmemdup_array(fuse->soc->lookups, fuse->soc->num_lookups, in tegra_fuse_add_lookups()
130 sizeof(*fuse->lookups), GFP_KERNEL); in tegra_fuse_add_lookups()
131 if (!fuse->lookups) in tegra_fuse_add_lookups()
134 nvmem_add_cell_lookups(fuse->lookups, fuse->soc->num_lookups); in tegra_fuse_add_lookups()
[all …]
H A 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);
52 u32 (*read_early)(struct tegra_fuse *fuse, unsigned int offset);
53 u32 (*read)(struct tegra_fuse *fuse, unsigned int offset);
H A DMakefile2 obj-y += fuse-tegra.o
3 obj-y += fuse-tegra30.o
5 obj-$(CONFIG_ARCH_TEGRA_2x_SOC) += fuse-tegra20.o
/linux/drivers/nvmem/
H A Drcar-efuse.c32 struct rcar_fuse *fuse = priv; in rcar_fuse_reg_read() local
35 ret = pm_runtime_resume_and_get(fuse->dev); in rcar_fuse_reg_read()
39 __ioread32_copy(val, fuse->base + offset, bytes / 4); in rcar_fuse_reg_read()
41 pm_runtime_put(fuse->dev); in rcar_fuse_reg_read()
62 struct rcar_fuse *fuse; in rcar_fuse_probe() local
70 fuse = devm_kzalloc(dev, sizeof(*fuse), GFP_KERNEL); in rcar_fuse_probe()
71 if (!fuse) in rcar_fuse_probe()
74 fuse->base = devm_platform_get_and_ioremap_resource(pdev, data->bank, in rcar_fuse_probe()
76 if (IS_ERR(fuse->base)) in rcar_fuse_probe()
77 return PTR_ERR(fuse->base); in rcar_fuse_probe()
[all …]
/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_obj(*fuse))) 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_()
H A 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
H A 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()
H A 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()
H A Dgm107.c29 gm107_fuse_read(struct nvkm_fuse *fuse, u32 addr) in gm107_fuse_read() argument
31 struct nvkm_device *device = fuse->subdev.device; in gm107_fuse_read()
/linux/drivers/media/platform/amphion/
H A Dvpu_imx8q.c228 u32 fuse = vpu_imx8q_get_fuse(); in vpu_imx8q_check_codec() local
231 if (fuse & VPU_ENCODER_MASK) in vpu_imx8q_check_codec()
234 fuse >>= VPU_IMX_DECODER_FUSE_OFFSET; in vpu_imx8q_check_codec()
235 fuse &= VPU_DECODER_MASK; in vpu_imx8q_check_codec()
237 if (fuse == VPU_DECODER_MASK) in vpu_imx8q_check_codec()
245 u32 fuse = vpu_imx8q_get_fuse(); in vpu_imx8q_check_fmt() local
248 fuse >>= VPU_IMX_DECODER_FUSE_OFFSET; in vpu_imx8q_check_fmt()
249 fuse &= VPU_DECODER_MASK; in vpu_imx8q_check_fmt()
251 if (fuse == VPU_DECODER_HEVC_MASK && pixelfmt == V4L2_PIX_FMT_HEVC) in vpu_imx8q_check_fmt()
253 if (fuse == VPU_DECODER_H264_MASK && pixelfmt == V4L2_PIX_FMT_H264) in vpu_imx8q_check_fmt()
[all …]
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/volt/
H A 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()
H A 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()
H A 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()
/linux/Documentation/translations/zh_CN/filesystems/
H A Dvirtiofs.rst49 间之间的/dev/fuse接口由virtio-fs设备接口代替。
53 将/dev/fuse映射到虚拟队列需要解决/dev/fuse和虚拟队列之间语义上的差异。每次读取\
54 /dev/fuse设备时,FUSE客户端都可以选择要传输的请求,从而可以使某些请求优先于其他\
/linux/Documentation/translations/zh_TW/filesystems/
H A Dvirtiofs.rst50 間之間的/dev/fuse接口由virtio-fs設備接口代替。
54 將/dev/fuse映射到虛擬隊列需要解決/dev/fuse和虛擬隊列之間語義上的差異。每次讀取\
55 /dev/fuse設備時,FUSE客戶端都可以選擇要傳輸的請求,從而可以使某些請求優先於其他\
/linux/tools/testing/selftests/memfd/
H A DMakefile9 VAR_CFLAGS := $(shell pkg-config fuse --cflags 2>/dev/null)
11 VAR_CFLAGS := -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse
14 VAR_LDLIBS := $(shell pkg-config fuse --libs 2>/dev/null)
/linux/tools/testing/selftests/filesystems/fuse/
H A DMakefile20 VAR_CFLAGS := $(shell pkg-config fuse --cflags 2>/dev/null)
22 VAR_CFLAGS := -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse
25 VAR_LDLIBS := $(shell pkg-config fuse --libs 2>/dev/null)
/linux/fs/fuse/
H A DKconfig14 installed if you've installed the "fuse" package itself.
16 See <file:Documentation/filesystems/fuse/fuse.rst> for more information.
77 If you want to allow fuse server/client communication through io-uring,
/linux/Documentation/filesystems/
H A Dvirtiofs.rst61 server. The /dev/fuse interface between the kernel and userspace is replaced
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
/linux/Documentation/filesystems/fuse/
H A Dfuse.rst41 module (fuse.ko), a userspace library (libfuse.*) and a mount utility
57 fuse
72 obtained by opening the FUSE device ('/dev/fuse').
111 mount -t fusectl none /sys/fs/fuse/connections
113 Mounting it under the '/sys/fs/fuse/connections' directory makes it
116 Under the fuse control filesystem each connection has a directory
336 | "rm /mnt/fuse/file" | FUSE filesystem daemon
384 | "rm /mnt/fuse/file" | FUSE filesystem daemon
386 | >sys_unlink("/mnt/fuse/file") |
392 | | >sys_unlink("/mnt/fuse/file")
[all …]
/linux/drivers/phy/tegra/
H A Dxusb-tegra124.c216 struct tegra124_xusb_fuse_calibration fuse; member
503 value |= (priv->fuse.hs_squelch_level << in tegra124_usb2_phy_power_on()
526 value |= (priv->fuse.hs_curr_level[index] + in tegra124_usb2_phy_power_on()
543 value |= (priv->fuse.hs_term_range_adj << in tegra124_usb2_phy_power_on()
545 (priv->fuse.hs_iref_cap << in tegra124_usb2_phy_power_on()
1661 tegra124_xusb_read_fuse_calibration(struct tegra124_xusb_fuse_calibration *fuse) in tegra124_xusb_read_fuse_calibration() argument
1671 for (i = 0; i < ARRAY_SIZE(fuse->hs_curr_level); i++) { in tegra124_xusb_read_fuse_calibration()
1672 fuse->hs_curr_level[i] = in tegra124_xusb_read_fuse_calibration()
1676 fuse->hs_iref_cap = in tegra124_xusb_read_fuse_calibration()
1679 fuse->hs_term_range_adj = in tegra124_xusb_read_fuse_calibration()
[all …]
/linux/drivers/soc/tegra/
H A DMakefile2 obj-y += fuse/
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/therm/
H A Dg84.c34 if (nvkm_fuse_read(device->fuse, 0x1a8) == 1) in g84_temp_get()
46 if (nvkm_fuse_read(device->fuse, 0x1a8) == 1) { in g84_sensor_setup()
/linux/arch/arm64/boot/dts/renesas/
H A Dr8a779f4.dtsi14 &fuse {

123