Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/bcma/
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()
/Linux-v5.15/drivers/mtd/chips/
Dcfi_cmdset_0002.c1501 size_t user_size, factory_size, otpsize; in cfi_amdstd_otp_walk() local
1568 otpsize = user_regs ? user_size : factory_size; in cfi_amdstd_otp_walk()
1569 if (!otpsize) in cfi_amdstd_otp_walk()
1582 otpinfo->length = otpsize; in cfi_amdstd_otp_walk()
1586 from += otpsize; in cfi_amdstd_otp_walk()
1587 } else if ((from < otpsize) && (len > 0)) { in cfi_amdstd_otp_walk()
1589 size = (len < otpsize - from) ? len : otpsize - from; in cfi_amdstd_otp_walk()
1591 otpsize); in cfi_amdstd_otp_walk()
1600 from -= otpsize; in cfi_amdstd_otp_walk()