Home
last modified time | relevance | path

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

/openbmc/linux/sound/soc/codecs/
H A Dcs35l41-lib.c815 const struct cs35l41_otp_packed_element_t *otp_map; in cs35l41_otp_unpack() local
845 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 …]
/openbmc/linux/drivers/nvmem/
H A Dbcm-ocotp.c58 static struct otpc_map otp_map = { variable
230 { .compatible = "brcm,ocotp", .data = &otp_map },
237 { .id = "BRCM0700", .driver_data = (kernel_ulong_t)&otp_map },