| /linux/drivers/soc/tegra/fuse/ |
| A D | fuse-tegra20.c | 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() 102 fuse->apbdma.chan = NULL; in tegra20_fuse_release_channel() 109 dma_free_coherent(fuse->dev, sizeof(u32), fuse->apbdma.virt, in tegra20_fuse_free_coherent() 110 fuse->apbdma.phys); in tegra20_fuse_free_coherent() 112 fuse->apbdma.phys = 0x0; in tegra20_fuse_free_coherent() 124 if (!fuse->apbdma.chan) in tegra20_fuse_probe() 128 fuse); in tegra20_fuse_probe() 132 fuse->apbdma.virt = dma_alloc_coherent(fuse->dev, sizeof(u32), in tegra20_fuse_probe() 135 if (!fuse->apbdma.virt) in tegra20_fuse_probe() [all …]
|
| A D | fuse-tegra.c | 107 buffer[i] = fuse->read(fuse, offset + i * 4); in tegra_fuse_read() 130 fuse->lookups = kmemdup_array(fuse->soc->lookups, fuse->soc->num_lookups, in tegra_fuse_add_lookups() 135 nvmem_add_cell_lookups(fuse->lookups, fuse->soc->num_lookups); in tegra_fuse_add_lookups() 184 fuse->soc->init(fuse); in tegra_fuse_probe() 205 err = fuse->soc->probe(fuse); in tegra_fuse_probe() 338 return fuse->read_early(fuse, offset) & 1; in tegra_fuse_read_spare() 343 return fuse->read_early(fuse, offset); in tegra_fuse_read_early() 348 if (!fuse->dev) in tegra_fuse_readl() 354 if (is_of_node(dev_fwnode(fuse->dev)) && !fuse->clk) in tegra_fuse_readl() 363 *value = fuse->read(fuse, offset); in tegra_fuse_readl() [all …]
|
| A D | fuse.h | 21 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);
|
| A D | fuse-tegra30.c | 45 if (WARN_ON(!fuse->base)) in tegra30_fuse_read_early() 48 return readl_relaxed(fuse->base + FUSE_BEGIN + offset); in tegra30_fuse_read_early() 51 static u32 tegra30_fuse_read(struct tegra_fuse *fuse, unsigned int offset) in tegra30_fuse_read() argument 56 err = pm_runtime_resume_and_get(fuse->dev); in tegra30_fuse_read() 60 value = readl_relaxed(fuse->base + FUSE_BEGIN + offset); in tegra30_fuse_read() 62 pm_runtime_put(fuse->dev); in tegra30_fuse_read() 89 static void __init tegra30_fuse_init(struct tegra_fuse *fuse) in tegra30_fuse_init() argument 91 fuse->read_early = tegra30_fuse_read_early; in tegra30_fuse_init() 92 fuse->read = tegra30_fuse_read; in tegra30_fuse_init() 96 if (fuse->soc->speedo_init) in tegra30_fuse_init() [all …]
|
| A D | Makefile | 2 obj-y += fuse-tegra.o 3 obj-y += fuse-tegra30.o 5 obj-$(CONFIG_ARCH_TEGRA_2x_SOC) += fuse-tegra20.o
|
| /linux/drivers/gpu/drm/nouveau/nvkm/subdev/fuse/ |
| A D | base.c | 27 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_()
|
| A D | Kbuild | 2 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
|
| A D | nv50.c | 27 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()
|
| A D | gf100.c | 27 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()
|
| A D | gm107.c | 29 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/pmdomain/qcom/ |
| A D | cpr.c | 808 for (; fuse < end; fuse++, fuses++) { in cpr_populate_ring_osc_idx() 867 for (i = 0; fuse <= end; fuse++, fuses++, i++, fdata++) { in cpr_fuse_corner_init() 884 fuse->uV = clamp(uV, fuse->min_uV, fuse->max_uV); in cpr_fuse_corner_init() 904 fuse->step_quot = desc->step_quot[fuse->ring_osc_idx]; in cpr_fuse_corner_init() 916 for (fuse = drv->fuse_corners, i = 0; fuse <= end; fuse++, i++) { in cpr_fuse_corner_init() 917 if (fuse->uV > fuse->max_uV) in cpr_fuse_corner_init() 918 fuse->uV = fuse->max_uV; in cpr_fuse_corner_init() 919 else if (fuse->uV < fuse->min_uV) in cpr_fuse_corner_init() 920 fuse->uV = fuse->min_uV; in cpr_fuse_corner_init() 944 i, fuse->min_uV, fuse->uV, fuse->max_uV, in cpr_fuse_corner_init() [all …]
|
| /linux/Documentation/devicetree/bindings/opp/ |
| A D | opp-v2-qcom-level.yaml | 27 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>;
|
| /linux/drivers/media/platform/amphion/ |
| A D | vpu_imx8q.c | 228 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/fs/fuse/ |
| A D | Makefile | 9 obj-$(CONFIG_FUSE_FS) += fuse.o 13 fuse-y := dev.o dir.o file.o inode.o control.o xattr.o acl.o readdir.o ioctl.o 14 fuse-y += iomode.o 15 fuse-$(CONFIG_FUSE_DAX) += dax.o 16 fuse-$(CONFIG_FUSE_PASSTHROUGH) += passthrough.o
|
| /linux/Documentation/devicetree/bindings/fuse/ |
| A D | nvidia,tegra20-fuse.yaml | 4 $id: http://devicetree.org/schemas/fuse/nvidia,tegra20-fuse.yaml# 38 - const: fuse 45 - const: fuse 81 fuse@7000f800 { 85 clock-names = "fuse"; 87 reset-names = "fuse";
|
| A D | renesas,rcar-efuse.yaml | 4 $id: http://devicetree.org/schemas/fuse/renesas,rcar-efuse.yaml# 49 fuse: fuse@e6078800 {
|
| /linux/drivers/gpu/drm/nouveau/nvkm/subdev/volt/ |
| A D | gf117.c | 32 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()
|
| A D | gf100.c | 32 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()
|
| A D | gk104.c | 72 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/ |
| A D | virtiofs.rst | 49 间之间的/dev/fuse接口由virtio-fs设备接口代替。 53 将/dev/fuse映射到虚拟队列需要解决/dev/fuse和虚拟队列之间语义上的差异。每次读取\ 54 /dev/fuse设备时,FUSE客户端都可以选择要传输的请求,从而可以使某些请求优先于其他\
|
| /linux/Documentation/translations/zh_TW/filesystems/ |
| A D | virtiofs.rst | 50 間之間的/dev/fuse接口由virtio-fs設備接口代替。 54 將/dev/fuse映射到虛擬隊列需要解決/dev/fuse和虛擬隊列之間語義上的差異。每次讀取\ 55 /dev/fuse設備時,FUSE客戶端都可以選擇要傳輸的請求,從而可以使某些請求優先於其他\
|
| /linux/tools/testing/selftests/memfd/ |
| A D | Makefile | 9 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/drivers/gpu/drm/nouveau/nvkm/engine/device/ |
| A D | base.c | 785 .fuse = { 0x00000001, nv50_fuse_new }, 888 .fuse = { 0x00000001, nv50_fuse_new }, 919 .fuse = { 0x00000001, nv50_fuse_new }, 950 .fuse = { 0x00000001, nv50_fuse_new }, 981 .fuse = { 0x00000001, nv50_fuse_new }, 1012 .fuse = { 0x00000001, nv50_fuse_new }, 1043 .fuse = { 0x00000001, nv50_fuse_new }, 1074 .fuse = { 0x00000001, nv50_fuse_new }, 1105 .fuse = { 0x00000001, nv50_fuse_new }, 1138 .fuse = { 0x00000001, nv50_fuse_new }, [all …]
|
| /linux/Documentation/ABI/testing/ |
| A D | sysfs-driver-tegra-fuse | 1 What: /sys/devices/*/<our-device>/fuse 8 as decoded from the fuse registers. Bits order/assignment
|
| /linux/Documentation/filesystems/ |
| A D | virtiofs.rst | 61 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
|