Home
last modified time | relevance | path

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

12345678910>>...19

/external/u-boot/doc/
DREADME.fuse3 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>]
34 fuse words. This operation does not update the shadow cache.
[all …]
DREADME.imx69 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
42 => fuse read 4 2
63 => fuse read 4 3
84 - The command '=> fuse read 4 2 2' reads the whole MAC addresses at once:
86 => fuse read 4 2 2
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
DREADME.mxc_ocotp1 Driver implementing the fuse API for Freescale's On-Chip OTP Controller (OCOTP)
16 A fuse word contains 32 fuse bit slots, as explained in 46.2.1.
18 A bank contains 8 fuse word slots, as explained in 46.2.1 and shown by the
21 Some fuse bit or word slots may not have the corresponding fuses actually
DREADME.armada-secureboot229 SEC_FUSE_DUMP - Dump the "fuse prog" commands necessary for writing the
293 have to be crafted by hand. The needed fuse lines can be looked up in [1]; a
300 * Enable trusted boot by burning the corresponding fuse (WARNING: this must be
301 the last fuse line written!)
302 * Lock the unused fuse lines
304 The command to employ is the "fuse prog" command previously enabled by setting
307 For the trusted boot, the fuse prog command has a special syntax, since the
308 ARMADA SoC demands that whole fuse lines (64 bit values) have to be written as
309 a whole. The fuse prog command itself allows lists of 32 bit words to be
311 operations to the fuse line, where the individual 32 bit words are identified
[all …]
DREADME.imx527 2.1 MAC Address: It is stored in the words 9 to 14 of fuse bank 1, using the
34 => fuse prog -y 1 9 01 23 45 67 89 ab
37 done by programming the MAC_ADDR_LOCK fuse, which is bit 4 of word 0 in
40 => fuse prog -y 1 0 10
/external/u-boot/drivers/thermal/
Dimx_thermal.c42 unsigned int fuse; member
56 u32 fuse = priv->fuse; in read_cpu_temperature() local
68 n1 = fuse >> 20; in read_cpu_temperature()
142 u32 fuse = *priv; in read_cpu_temperature() local
153 raw_25c = fuse >> 21; in read_cpu_temperature()
157 te1 = (fuse >> 9) & 0x1ff; in read_cpu_temperature()
236 unsigned int fuse = ~0; in imx_thermal_probe() local
242 fuse_read(pdata->fuse_bank, pdata->fuse_word, &fuse); in imx_thermal_probe()
246 if (fuse == 0 || fuse == ~0) { in imx_thermal_probe()
248 fuse); in imx_thermal_probe()
[all …]
/external/u-boot/arch/arm/mach-tegra/tegra20/
Dwarmboot.c200 static int is_production_mode_fuse_set(struct fuse_regs *fuse) in is_production_mode_fuse_set() argument
202 return readl(&fuse->production_mode); in is_production_mode_fuse_set()
205 static int is_odm_production_mode_fuse_set(struct fuse_regs *fuse) in is_odm_production_mode_fuse_set() argument
207 return readl(&fuse->security_mode); in is_odm_production_mode_fuse_set()
210 static int is_failure_analysis_mode(struct fuse_regs *fuse) in is_failure_analysis_mode() argument
212 return readl(&fuse->fa); in is_failure_analysis_mode()
217 struct fuse_regs *fuse = (struct fuse_regs *)NV_PA_FUSE_BASE; in ap20_is_odm_production_mode() local
219 if (!is_failure_analysis_mode(fuse) && in ap20_is_odm_production_mode()
220 is_odm_production_mode_fuse_set(fuse)) in ap20_is_odm_production_mode()
228 struct fuse_regs *fuse = (struct fuse_regs *)NV_PA_FUSE_BASE; in ap20_is_production_mode() local
[all …]
/external/u-boot/arch/arm/mach-imx/
Dmac.c28 struct imx_mac_fuse *fuse; in imx_get_mac_from_fuse() local
33 fuse = (struct imx_mac_fuse *)(ulong)(OCOTP_BASE_ADDR + offset); in imx_get_mac_from_fuse()
37 u32 value = readl(&fuse->mac_addr2); in imx_get_mac_from_fuse()
44 value = readl(&fuse->mac_addr1); in imx_get_mac_from_fuse()
49 u32 value = readl(&fuse->mac_addr1); in imx_get_mac_from_fuse()
54 value = readl(&fuse->mac_addr0); in imx_get_mac_from_fuse()
Dcpu.c353 struct fuse_bank1_regs *fuse = in get_cpu_speed_grade_hz() local
357 val = readl(&fuse->tester3); in get_cpu_speed_grade_hz()
385 struct fuse_bank1_regs *fuse = in get_cpu_temp_grade() local
389 val = readl(&fuse->tester3); in get_cpu_temp_grade()
465 struct fuse_bank4_regs *fuse = in nxp_board_rev() local
468 return (readl(&fuse->gp1) >> 8 & 0x0F); in nxp_board_rev()
/external/syzkaller/sys/linux/test/
Dfuse_deadlock1 # Test how we avoid fuse deadlocks in kill_and_wait.
5 r0 = openat$fuse(0xffffffffffffff9c, &(0x7f0000000640)='/dev/fuse\x00', 0x2, 0x0)
6 mount$fuse(0x0, &(0x7f0000000200)='./file0\x00', &(0x7f0000000300)='fuse\x00', 0x0, &(0x7f000000040…
/external/archive-patcher/applier/src/test/java/com/google/archivepatcher/applier/
DPartiallyCompressingOutputStreamTest.java67 private byte[] fuse(byte[]... arrays) throws IOException { in fuse() method in PartiallyCompressingOutputStreamTest
125 byte[] input = fuse(PREAMBLE_BYTES, ENTRY1.getUncompressedBinaryContent()); in testWrite_GapAndCompression()
126 byte[] expected = fuse(PREAMBLE_BYTES, ENTRY1.getCompressedBinaryContent()); in testWrite_GapAndCompression()
138 byte[] input = fuse(PREAMBLE_BYTES, ENTRY1.getUncompressedBinaryContent(), GAP1_BYTES); in testWrite_GapAndCompressionAndGap()
139 byte[] expected = fuse(PREAMBLE_BYTES, ENTRY1.getCompressedBinaryContent(), GAP1_BYTES); in testWrite_GapAndCompressionAndGap()
153 fuse( in testWrite_MixedSequence_Thrash()
159 fuse( in testWrite_MixedSequence_Thrash()
/external/u-boot/arch/arm/mach-omap2/
Dabb.c17 __weak s8 abb_setup_ldovbb(u32 fuse, u32 ldovbb) in abb_setup_ldovbb() argument
58 void abb_setup(u32 fuse, u32 ldovbb, u32 setup, u32 control, in abb_setup() argument
93 if (fuse && ldovbb) { in abb_setup()
94 if (abb_setup_ldovbb(fuse, ldovbb)) in abb_setup()
/external/u-boot/arch/arm/mach-imx/mx7/
Dsoc.c105 struct fuse_bank1_regs *fuse = in is_mx7d() local
109 val = readl(&fuse->tester4); in is_mx7d()
231 struct fuse_bank0_regs *fuse = in get_board_serial() local
234 serialnr->low = fuse->tester0; in get_board_serial()
235 serialnr->high = fuse->tester1; in get_board_serial()
/external/autotest/client/site_tests/platform_CrosDisksSshfs/
Dsshfs_tests6 "expected_mount_path": "/media/fuse/chronos@localhost:",
7 "expected_file": "/media/fuse/chronos@localhost:/.ssh"
/external/u-boot/arch/arm/mach-imx/mx6/
Dsoc.c127 struct fuse_bank0_regs *fuse = in get_cpu_speed_grade_hz() local
131 val = readl(&fuse->cfg3); in get_cpu_speed_grade_hz()
186 struct fuse_bank1_regs *fuse = in get_cpu_temp_grade() local
190 val = readl(&fuse->mem0); in get_cpu_temp_grade()
331 struct fuse_bank1_regs *fuse = in init_bandgap() local
359 val = readl(&fuse->mem0); in init_bandgap()
/external/u-boot/arch/arm/mach-omap2/omap5/
Dabb.c27 s8 abb_setup_ldovbb(u32 fuse, u32 ldovbb) in abb_setup_ldovbb() argument
42 vset = readl(fuse); in abb_setup_ldovbb()
/external/compiler-rt/test/profile/Linux/
Dcoverage_shared.test3 RUN: %clang_profgen -fdata-sections -ffunction-sections -fuse-ld=gold -Wl,--gc-sections -fcoverage-…
4 RUN: %clang_profgen -fdata-sections -ffunction-sections -fuse-ld=gold -Wl,--gc-sections -o %t-share…
6 RUN: %clang_profgen -fdata-sections -ffunction-sections -fuse-ld=gold -Wl,--gc-sections -o %t-stati…
Dinstrprof-alloc.test1 // RUN: %clang_profgen -Xclang -fprofile-instrument=llvm -fuse-ld=gold -Wl,-wrap,malloc -Wl,-wrap,…
4 // RUN: %clang_profgen -Xclang -fprofile-instrument=llvm -mllvm -vp-static-alloc=false -fuse-ld=go…
Dinstrprof-dynamic-one-shared.test2 RUN: %clang_profgen -fdata-sections -ffunction-sections -fuse-ld=gold -Wl,--gc-sections -o %t.d/a.s…
3 RUN: %clang_profgen -fdata-sections -ffunction-sections -fuse-ld=gold -Wl,--gc-sections -o %t-share…
5 RUN: %clang_profgen -fdata-sections -ffunction-sections -fuse-ld=gold -Wl,--gc-sections -o %t-stati…
Dinstrprof-dynamic-two-shared.test2 RUN: %clang_profgen -fdata-sections -ffunction-sections -fuse-ld=gold -Wl,--gc-sections -o %t.d/a.s…
3 RUN: %clang_profgen -fdata-sections -ffunction-sections -fuse-ld=gold -Wl,--gc-sections -o %t.d/b.s…
4 RUN: %clang_profgen -fdata-sections -ffunction-sections -fuse-ld=gold -Wl,--gc-sections -o %t-share…
/external/linux-kselftest/tools/testing/selftests/memfd/
DMakefile11 fuse_mnt.o: CFLAGS += $(shell pkg-config fuse --cflags)
15 $(OUTPUT)/fuse_mnt: LDLIBS += $(shell pkg-config fuse --libs)
/external/u-boot/arch/arm/mach-imx/mx5/
Dsoc.c79 struct fuse_bank1_regs *fuse = in imx_get_mac_from_fuse() local
83 mac[i] = readl(&fuse->mac_addr[i]) & 0xff; in imx_get_mac_from_fuse()
/external/syzkaller/sys/linux/
Dfuse.txt6 include <uapi/linux/fuse.h>
11 openat$fuse(fd const[AT_FDCWD], file ptr[in, string["/dev/fuse"]], flags const[O_RDWR], mode const[…
15 mount$fuse(src const[0], dst ptr[in, filename], type ptr[in, string["fuse"]], flags flags[mount_fla…
/external/u-boot/arch/arm/cpu/armv7/vf610/
Dgeneric.c259 struct fuse_bank4_regs *fuse = in imx_get_mac_from_fuse() local
262 u32 value = readl(&fuse->mac_addr0); in imx_get_mac_from_fuse()
266 value = readl(&fuse->mac_addr1); in imx_get_mac_from_fuse()

12345678910>>...19