Lines Matching refs:otp
2049 static int bcm4377_parse_otp_sys_vendor(struct bcm4377_data *bcm4377, u8 *otp,
2061 if (get_unaligned_le32(otp) != BCM4377_OTP_VENDOR_HDR)
2064 chip_params = &otp[idx];
2071 board_params = &otp[idx];
2103 u8 *otp;
2107 otp = kzalloc(BCM4377_OTP_SIZE, GFP_KERNEL);
2108 if (!otp)
2112 otp[i] = ioread8(bcm4377->bar0 + bcm4377->hw->otp_offset + i);
2116 u8 type = otp[i];
2117 u8 length = otp[i + 1];
2129 ret = bcm4377_parse_otp_sys_vendor(bcm4377, &otp[i + 2],
2145 kfree(otp);