Home
last modified time | relevance | path

Searched refs:otp (Results 1 – 25 of 64) sorted by relevance

123

/third_party/uboot/u-boot-2020.01/arch/arm/mach-stm32mp/
Dbsec.c61 static u32 bsec_check_error(u32 base, u32 otp) in bsec_check_error() argument
66 bit = 1 << (otp & OTP_LOCK_MASK); in bsec_check_error()
67 bank = ((otp >> OTP_LOCK_BANK_SHIFT) & OTP_LOCK_MASK) * sizeof(u32); in bsec_check_error()
83 static bool bsec_read_lock(u32 address, u32 otp) in bsec_read_lock() argument
88 bit = 1 << (otp & OTP_LOCK_MASK); in bsec_read_lock()
89 bank = ((otp >> OTP_LOCK_BANK_SHIFT) & OTP_LOCK_MASK) * sizeof(u32); in bsec_read_lock()
100 static bool bsec_read_SR_lock(u32 base, u32 otp) in bsec_read_SR_lock() argument
102 return bsec_read_lock(base + BSEC_SRLOCK_OFF, otp); in bsec_read_SR_lock()
111 static bool bsec_read_SP_lock(u32 base, u32 otp) in bsec_read_SP_lock() argument
113 return bsec_read_lock(base + BSEC_SPLOCK_OFF, otp); in bsec_read_SP_lock()
[all …]
Dcpu.c247 u32 otp = 0; in get_otp() local
255 &otp, sizeof(otp)); in get_otp()
257 return (otp >> shift) & mask; in get_otp()
457 u32 otp[2]; in setup_mac_address() local
472 otp, sizeof(otp)); in setup_mac_address()
477 enetaddr[i] = ((uint8_t *)&otp)[i]; in setup_mac_address()
496 u32 otp[3] = {0, 0, 0 }; in setup_serial_number() local
510 otp, sizeof(otp)); in setup_serial_number()
514 sprintf(serial_string, "%08X%08X%08X", otp[0], otp[1], otp[2]); in setup_serial_number()
/third_party/uboot/u-boot-2020.01/drivers/misc/
Drockchip-otp.c56 static int rockchip_otp_wait_status(struct rockchip_otp_platdata *otp, in rockchip_otp_wait_status() argument
61 while (!(readl(otp->base + OTPC_INT_STATUS) & flag)) { in rockchip_otp_wait_status()
71 writel(flag, otp->base + OTPC_INT_STATUS); in rockchip_otp_wait_status()
76 static int rockchip_otp_ecc_enable(struct rockchip_otp_platdata *otp, in rockchip_otp_ecc_enable() argument
82 otp->base + OTPC_SBPI_CTRL); in rockchip_otp_ecc_enable()
84 writel(SBPI_CMD_VALID_MASK | 0x1, otp->base + OTPC_SBPI_CMD_VALID_PRE); in rockchip_otp_ecc_enable()
86 otp->base + OTPC_SBPI_CMD0_OFFSET); in rockchip_otp_ecc_enable()
89 writel(SBPI_ECC_ENABLE, otp->base + OTPC_SBPI_CMD1_OFFSET); in rockchip_otp_ecc_enable()
91 writel(SBPI_ECC_DISABLE, otp->base + OTPC_SBPI_CMD1_OFFSET); in rockchip_otp_ecc_enable()
93 writel(SBPI_ENABLE_MASK | SBPI_ENABLE, otp->base + OTPC_SBPI_CTRL); in rockchip_otp_ecc_enable()
[all …]
/third_party/uboot/u-boot-2020.01/board/st/stm32mp1/
Dcmd_stboard.c31 static void display_stboard(u32 otp) in display_stboard() argument
34 otp >> 16, in display_stboard()
35 (otp >> 12) & 0xF, in display_stboard()
36 ((otp >> 8) & 0xF) - 1 + 'A', in display_stboard()
37 otp & 0xF); in display_stboard()
44 u32 otp; in do_stboard() local
61 &otp, sizeof(otp)); in do_stboard()
69 if (!otp) in do_stboard()
72 display_stboard(otp); in do_stboard()
76 if (otp) { in do_stboard()
[all …]
Dstm32mp1.c84 u32 otp; in checkboard() local
109 &otp, sizeof(otp)); in checkboard()
110 if (ret > 0 && otp) { in checkboard()
112 otp >> 16, in checkboard()
113 (otp >> 12) & 0xF, in checkboard()
114 ((otp >> 8) & 0xF) - 1 + 'A', in checkboard()
115 otp & 0xF); in checkboard()
466 u32 otp = 0; in sysconf_init() local
510 ret = misc_read(dev, STM32_BSEC_SHADOW(18), &otp, 4); in sysconf_init()
512 otp = otp & BIT(13); in sysconf_init()
[all …]
/third_party/node/deps/npm/scripts/
Dupdate-dist-tags.js45 const otp = parseOTP(args)
55 setDistTag(tag, version, otp)
57 removeDistTag(removeTag, version, otp)
73 const otp = parsedArgs[3]
82 if (otp) {
83 return otp
105 function setDistTag (tag, version, otp) { argument
107 …const result = execSync(`npm dist-tag set npm@${version} ${tag} --otp=${otp}`, { encoding: 'utf-8'…
115 function removeDistTag (tag, version, otp) { argument
117 const result = execSync(`npm dist-tag rm npm ${tag} --otp=${otp}`, { encoding: 'utf-8' })
/third_party/node/deps/npm/lib/utils/
Dread-user-info.js7 exports.otp = readOTP
21 function readOTP (msg, otp, isRetry) { argument
31 if (isRetry && otp && /^[\d ]+$|^[A-Fa-f0-9]{64,64}$/.test(otp)) return otp.replace(/\s+/g, '')
33 return read({prompt: msg, default: otp || ''})
34 .then((otp) => readOTP(msg, otp, true))
Dotplease.js7 otp: {} property
22 return readUserInfo.otp(
24 ).then(otp => fn(opts.concat({otp}))) field
/third_party/uboot/u-boot-2020.01/board/imgtec/ci20/
Dci20.c167 struct ci20_otp otp; in misc_init_r() local
172 jz4780_efuse_read(0x18, 16, (u8 *)&otp); in misc_init_r()
175 if (!is_valid_ethaddr(otp.mac)) { in misc_init_r()
177 jz4780_efuse_read(0x8, 4, &otp.mac[0]); in misc_init_r()
178 jz4780_efuse_read(0x12, 2, &otp.mac[4]); in misc_init_r()
179 otp.mac[0] = (otp.mac[0] | 0x02) & ~0x01; in misc_init_r()
181 eth_env_set_enetaddr("ethaddr", otp.mac); in misc_init_r()
184 env_set_ulong("serial#", otp.serial_number); in misc_init_r()
185 env_set_ulong("board_date", otp.date); in misc_init_r()
186 manufacturer[0] = otp.manufacturer[0]; in misc_init_r()
[all …]
/third_party/node/deps/npm/lib/
Dprofile.js58 otp: {}, property
251 if (conf.auth.otp) return
252 return readUserInfo.otp('Enter one-time password: ').then((otp) => {
253 conf.auth.otp = otp
273 return readUserInfo.otp('And an OTP code from your authenticator: ')
299 if (conf.otp) auth.otp = conf.otp
312 if (conf.otp) return
313 return readUserInfo.otp('Enter one-time password: ').then((otp) => {
314 conf = conf.concat({otp}) field
Dtoken.js86 otp: {}, property
122 if (conf.otp) conf.auth.otp = conf.otp
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_peer/
Deap_otp.c35 int otp; in eap_otp_process() local
47 otp = 1; in eap_otp_process()
50 otp = 0; in eap_otp_process()
74 if (otp) { in eap_otp_process()
Deap_gtc.c52 int otp; in eap_gtc_process() local
79 otp = 1; in eap_gtc_process()
82 otp = 0; in eap_gtc_process()
118 if (otp) { in eap_gtc_process()
Deap_config.h632 u8 *otp; member
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_peer/
Deap_otp.c35 int otp; in eap_otp_process() local
47 otp = 1; in eap_otp_process()
50 otp = 0; in eap_otp_process()
74 if (otp) { in eap_otp_process()
Deap_gtc.c52 int otp; in eap_gtc_process() local
79 otp = 1; in eap_gtc_process()
82 otp = 0; in eap_gtc_process()
118 if (otp) { in eap_gtc_process()
Deap_config.h632 u8 *otp; member
/third_party/node/deps/npm/lib/auth/
Dlegacy.js54 return read.otp(
56 ).then(otp => {
59 return profile.loginCouch(u, p, opts.concat({otp})) field
/third_party/openssl/crypto/poly1305/asm/
Dpoly1305-x86_64.pl3816 my ($out,$inp,$otp,$len)=$win64 ? ("%rcx","%rdx","%r8", "%r9") : # Win64 order
3824 sub $otp,$inp
3825 sub $otp,$out
3831 movdqu ($inp,$otp),%xmm0
3832 pxor ($otp),%xmm0
3833 movdqu %xmm0,($out,$otp)
3834 movdqa %xmm0,($otp)
3835 lea 16($otp),$otp
3847 mov ($inp,$otp),%al
3848 xor ($otp),%al
[all …]
/third_party/node/deps/npm/docs/content/cli-commands/
Dnpm-owner.md39 you'll need to include an otp on the command line when changing ownership
40 with `--otp`.
/third_party/node/deps/npm/node_modules/libnpmhook/
DREADME.md47otp` - certain operations will require an OTP token to be passed in. If a `libnpmhook` command fai…
73 otp: '694207'
140 otp: '694207'
162 otp: '694207'
188 otp: '694207'
/third_party/node/deps/npm/node_modules/npm-profile/
Dindex.js34 otp: {} property
204 otp: opts.otp property
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/doc/docbook/
Dwpa_cli.sgml79 <emphasis>otp</emphasis> commands. &lt;id&gt; needs to be copied from
81 <emphasis>otp</emphasis> commands can be used regardless of whether
85 with <emphasis>otp</emphasis> are used only once and then forgotten,
101 > otp 2 9876
304 <term>otp &lt;network id&gt; &lt;password&gt;</term>
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/doc/docbook/
Dwpa_cli.sgml79 <emphasis>otp</emphasis> commands. &lt;id&gt; needs to be copied from
81 <emphasis>otp</emphasis> commands can be used regardless of whether
85 with <emphasis>otp</emphasis> are used only once and then forgotten,
101 > otp 2 9876
304 <term>otp &lt;network id&gt; &lt;password&gt;</term>
/third_party/node/deps/npm/node_modules/npm-registry-fetch/
Dindex.js199 if (shouldAuth && auth.otp) {
200 headers['npm-otp'] = auth.otp

123