Home
last modified time | relevance | path

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

12345678910>>...14

/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.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 …]
/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/libfuse/include/
Dfuse.h37 struct fuse;
793 struct fuse *fuse; member
917 struct fuse *fuse_new_30(struct fuse_args *args, const struct fuse_operations *op,
921 struct fuse *fuse_new(struct fuse_args *args, const struct fuse_operations *op,
933 int fuse_mount(struct fuse *f, const char *mountpoint);
942 void fuse_unmount(struct fuse *f);
952 void fuse_destroy(struct fuse *f);
969 int fuse_loop(struct fuse *f);
979 void fuse_exit(struct fuse *f);
1013 int fuse_loop_mt_31(struct fuse *f, int clone_fd);
[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.c321 struct fuse_bank1_regs *fuse = in get_cpu_speed_grade_hz() local
325 val = readl(&fuse->tester3); in get_cpu_speed_grade_hz()
353 struct fuse_bank1_regs *fuse = in get_cpu_temp_grade() local
357 val = readl(&fuse->tester3); in get_cpu_temp_grade()
433 struct fuse_bank4_regs *fuse = in nxp_board_rev() local
436 return (readl(&fuse->gp1) >> 8 & 0x0F); in nxp_board_rev()
/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/libfuse/lib/
Dfuse.c114 struct fuse { struct
179 struct fuse *fuse; member
393 static inline int lru_enabled(struct fuse *f) in lru_enabled()
403 static size_t get_node_size(struct fuse *f) in get_node_size()
417 static struct node_slab *node_to_slab(struct fuse *f, struct node *node) in node_to_slab()
422 static int alloc_slab(struct fuse *f) in alloc_slab()
454 static struct node *alloc_node(struct fuse *f) in alloc_node()
477 static void free_slab(struct fuse *f, struct node_slab *slab) in free_slab()
488 static void free_node_mem(struct fuse *f, struct node *node) in free_node_mem()
505 static struct node *alloc_node(struct fuse *f) in alloc_node()
[all …]
Dhelper.c283 struct fuse *fuse; in fuse_main_real() local
316 fuse = fuse_new_31(&args, op, op_size, user_data); in fuse_main_real()
317 if (fuse == NULL) { in fuse_main_real()
322 if (fuse_mount(fuse,opts.mountpoint) != 0) { in fuse_main_real()
332 struct fuse_session *se = fuse_get_session(fuse); in fuse_main_real()
339 res = fuse_loop(fuse); in fuse_main_real()
344 res = fuse_loop_mt_32(fuse, &loop_config); in fuse_main_real()
351 fuse_unmount(fuse); in fuse_main_real()
353 fuse_destroy(fuse); in fuse_main_real()
/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/doc/imx/habv4/guides/
Dmx6_mx7_secure_boot.txt140 fuse values are generated by the srktool and should be programmed in the
146 The U-Boot fuse tool can be used for programming eFuses on i.MX SoCs.
162 => fuse prog 3 0 0x20593752
163 => fuse prog 3 1 0x6ACE6962
164 => fuse prog 3 2 0x26E0D06C
165 => fuse prog 3 3 0xFC600661
166 => fuse prog 3 4 0x1240E88F
167 => fuse prog 3 5 0x1209F144
168 => fuse prog 3 6 0x831C8117
169 => fuse prog 3 7 0x1190FD4D
[all …]
/external/u-boot/doc/imx/common/
Dimx6.txt9 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
Dimx5.txt27 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/arch/arm/mach-imx/mx7/
Dsoc.c136 struct fuse_bank1_regs *fuse = in is_mx7d() local
140 val = readl(&fuse->tester4); in is_mx7d()
349 struct fuse_bank0_regs *fuse = in get_board_serial() local
352 serialnr->low = fuse->tester0; in get_board_serial()
353 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/board/phytec/pcm052/
Dpcm052.c319 struct fuse_bank4_regs *fuse = in imx_get_mac_from_fuse() local
330 value = readl(&fuse->mac_addr1); in imx_get_mac_from_fuse()
335 value = readl(&fuse->mac_addr0); in imx_get_mac_from_fuse()
342 value = readl(&fuse->mac_addr2); in imx_get_mac_from_fuse()
349 value = readl(&fuse->mac_addr1); in imx_get_mac_from_fuse()
/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/arm-trusted-firmware/plat/imx/common/
Dimx_sip_handler.c115 uint32_t fuse; in imx_otp_handler() local
119 ret = sc_misc_otp_fuse_read(ipc_handle, x1, &fuse); in imx_otp_handler()
120 SMC_RET2(handle, ret, fuse); in imx_otp_handler()
/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…
/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/mx6/
Dsoc.c131 struct fuse_bank0_regs *fuse = in get_cpu_speed_grade_hz() local
135 val = readl(&fuse->cfg3); in get_cpu_speed_grade_hz()
190 struct fuse_bank1_regs *fuse = in get_cpu_temp_grade() local
194 val = readl(&fuse->mem0); in get_cpu_temp_grade()
335 struct fuse_bank1_regs *fuse = in init_bandgap() local
363 val = readl(&fuse->mem0); in init_bandgap()
/external/u-boot/arch/arm/mach-imx/mx5/
Dsoc.c80 struct fuse_bank1_regs *fuse = in imx_get_mac_from_fuse() local
84 mac[i] = readl(&fuse->mac_addr[i]) & 0xff; in imx_get_mac_from_fuse()

12345678910>>...14