Home
last modified time | relevance | path

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

/linux-6.15/sound/soc/codecs/
H A Dcs35l41-lib.c818 const struct cs35l41_otp_packed_element_t *otp_map; in cs35l41_otp_unpack() local
848 otp_map = otp_map_match->map; in cs35l41_otp_unpack()
856 if (bit_offset + otp_map[i].size - 1 >= 32) { in cs35l41_otp_unpack()
862 bit_offset += otp_map[i].size - 32; in cs35l41_otp_unpack()
867 bit_offset += otp_map[i].size; in cs35l41_otp_unpack()
871 bit_sum += otp_map[i].size; in cs35l41_otp_unpack()
878 if (otp_map[i].reg != 0) { in cs35l41_otp_unpack()
879 ret = regmap_update_bits(regmap, otp_map[i].reg, in cs35l41_otp_unpack()
880 GENMASK(otp_map[i].shift + otp_map[i].size - 1, in cs35l41_otp_unpack()
881 otp_map[i].shift), in cs35l41_otp_unpack()
[all …]
/linux-6.15/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 },