Searched refs:otp_map (Results 1 – 2 of 2) sorted by relevance
815 const struct cs35l41_otp_packed_element_t *otp_map; in cs35l41_otp_unpack() local845 otp_map = otp_map_match->map; in cs35l41_otp_unpack()853 if (bit_offset + otp_map[i].size - 1 >= 32) { in cs35l41_otp_unpack()859 bit_offset += otp_map[i].size - 32; in cs35l41_otp_unpack()864 bit_offset += otp_map[i].size; in cs35l41_otp_unpack()868 bit_sum += otp_map[i].size; in cs35l41_otp_unpack()875 if (otp_map[i].reg != 0) { in cs35l41_otp_unpack()876 ret = regmap_update_bits(regmap, otp_map[i].reg, in cs35l41_otp_unpack()877 GENMASK(otp_map[i].shift + otp_map[i].size - 1, in cs35l41_otp_unpack()878 otp_map[i].shift), in cs35l41_otp_unpack()[all …]
59 static struct otpc_map otp_map = { variable231 { .compatible = "brcm,ocotp", .data = &otp_map },238 { .id = "BRCM0700", .driver_data = (kernel_ulong_t)&otp_map },
Completed in 7 milliseconds