Home
last modified time | relevance | path

Searched refs:otpsize (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/bcma/
H A Dsprom.c519 u32 otpsize = 0; in bcma_sprom_onchip_available() local
550 otpsize = bus->drv_cc.capabilities & BCMA_CC_CAP_OTPS; in bcma_sprom_onchip_available()
551 otpsize >>= BCMA_CC_CAP_OTPS_SHIFT; in bcma_sprom_onchip_available()
554 return otpsize != 0; in bcma_sprom_onchip_available()
/openbmc/linux/drivers/mtd/chips/
H A Dcfi_cmdset_0002.c1493 size_t user_size, factory_size, otpsize; in cfi_amdstd_otp_walk() local
1560 otpsize = user_regs ? user_size : factory_size; in cfi_amdstd_otp_walk()
1561 if (!otpsize) in cfi_amdstd_otp_walk()
1574 otpinfo->length = otpsize; in cfi_amdstd_otp_walk()
1578 from += otpsize; in cfi_amdstd_otp_walk()
1579 } else if ((from < otpsize) && (len > 0)) { in cfi_amdstd_otp_walk()
1581 size = (len < otpsize - from) ? len : otpsize - from; in cfi_amdstd_otp_walk()
1583 otpsize); in cfi_amdstd_otp_walk()
1592 from -= otpsize; in cfi_amdstd_otp_walk()