Searched refs:otp (Results 1 – 9 of 9) sorted by relevance
/drivers/mfd/ |
D | ab3100-otp.c | 62 static int __init ab3100_otp_read(struct ab3100_otp *otp) in ab3100_otp_read() argument 68 err = abx500_get_register_interruptible(otp->dev, 0, in ab3100_otp_read() 71 dev_err(otp->dev, "unable to read OTPP register\n"); in ab3100_otp_read() 75 err = abx500_get_register_page_interruptible(otp->dev, 0, in ab3100_otp_read() 78 dev_err(otp->dev, "unable to read OTP register page\n"); in ab3100_otp_read() 83 otp->locked = (otpp & 0x80); in ab3100_otp_read() 84 otp->freq = (otpp & 0x40) ? 32768 : 34100; in ab3100_otp_read() 85 otp->paf = (otpval[1] & 0x80); in ab3100_otp_read() 86 otp->imeich = (otpval[1] & 0x40); in ab3100_otp_read() 87 otp->cid = ((otpval[1] << 8) | otpval[0]) & 0x3fff; in ab3100_otp_read() [all …]
|
D | Makefile | 47 wm831x-objs := wm831x-core.o wm831x-irq.o wm831x-otp.o 121 obj-$(CONFIG_AB3100_OTP) += ab3100-otp.o
|
/drivers/char/ |
D | Makefile | 19 obj-$(CONFIG_BFIN_OTP) += bfin-otp.o
|
D | Kconfig | 94 will be called bfin-otp.
|
/drivers/mtd/chips/ |
D | cfi_cmdset_0001.c | 2244 struct cfi_intelext_otpinfo *otp; in cfi_intelext_otp_walk() local 2274 otp = (struct cfi_intelext_otpinfo *)&extp->extra[0]; in cfi_intelext_otp_walk() 2358 reg_prot_offset = otp->ProtRegAddr; in cfi_intelext_otp_walk() 2359 reg_fact_groups = otp->FactGroups; in cfi_intelext_otp_walk() 2360 reg_fact_size = 1 << otp->FactProtRegSize; in cfi_intelext_otp_walk() 2361 reg_user_groups = otp->UserGroups; in cfi_intelext_otp_walk() 2362 reg_user_size = 1 << otp->UserProtRegSize; in cfi_intelext_otp_walk() 2363 otp++; in cfi_intelext_otp_walk()
|
/drivers/net/wireless/ath/ath6kl/ |
D | init.c | 52 .otp = AR6003_HW_2_0_OTP_FILE, 75 .otp = AR6003_HW_2_1_1_OTP_FILE, 757 if (ar->hw.fw.otp == NULL) { in ath6kl_fetch_otp_file() 764 ar->hw.fw.dir, ar->hw.fw.otp); in ath6kl_fetch_otp_file()
|
D | core.h | 765 const char *otp; member
|
/drivers/mtd/onenand/ |
D | onenand_base.c | 57 static int otp; variable 59 module_param(otp, int, 0400); 60 MODULE_PARM_DESC(otp, "Corresponding behaviour of OneNAND in OTP" 3367 if (otp == 1) in onenand_lock_user_prot_reg() 3369 else if (otp == 2) in onenand_lock_user_prot_reg() 3371 else if (otp == 3) in onenand_lock_user_prot_reg() 3373 else if (otp != 0) in onenand_lock_user_prot_reg()
|
/drivers/net/ethernet/broadcom/ |
D | tg3.c | 2309 u32 otp, phy; in tg3_phy_apply_otp() local 2314 otp = tp->phy_otp; in tg3_phy_apply_otp() 2319 phy = ((otp & TG3_OTP_AGCTGT_MASK) >> TG3_OTP_AGCTGT_SHIFT); in tg3_phy_apply_otp() 2323 phy = ((otp & TG3_OTP_HPFFLTR_MASK) >> TG3_OTP_HPFFLTR_SHIFT) | in tg3_phy_apply_otp() 2324 ((otp & TG3_OTP_HPFOVER_MASK) >> TG3_OTP_HPFOVER_SHIFT); in tg3_phy_apply_otp() 2327 phy = ((otp & TG3_OTP_LPFDIS_MASK) >> TG3_OTP_LPFDIS_SHIFT); in tg3_phy_apply_otp() 2331 phy = ((otp & TG3_OTP_VDAC_MASK) >> TG3_OTP_VDAC_SHIFT); in tg3_phy_apply_otp() 2334 phy = ((otp & TG3_OTP_10BTAMP_MASK) >> TG3_OTP_10BTAMP_SHIFT); in tg3_phy_apply_otp() 2337 phy = ((otp & TG3_OTP_ROFF_MASK) >> TG3_OTP_ROFF_SHIFT) | in tg3_phy_apply_otp() 2338 ((otp & TG3_OTP_RCOFF_MASK) >> TG3_OTP_RCOFF_SHIFT); in tg3_phy_apply_otp()
|