Searched refs:otp_mem (Results 1 – 1 of 1) sorted by relevance
819 u32 *otp_mem; in cs35l41_otp_unpack() local821 otp_mem = kmalloc_array(CS35L41_OTP_SIZE_WORDS, sizeof(*otp_mem), GFP_KERNEL); in cs35l41_otp_unpack()822 if (!otp_mem) in cs35l41_otp_unpack()839 ret = regmap_bulk_read(regmap, CS35L41_OTP_MEM0, otp_mem, CS35L41_OTP_SIZE_WORDS); in cs35l41_otp_unpack()854 otp_val = (otp_mem[word_offset] & in cs35l41_otp_unpack()856 otp_val |= (otp_mem[++word_offset] & in cs35l41_otp_unpack()861 otp_val = (otp_mem[word_offset] & in cs35l41_otp_unpack()890 kfree(otp_mem); in cs35l41_otp_unpack()