Searched refs:otp_map (Results 1 – 2 of 2) sorted by relevance
/Linux-v6.1/sound/soc/codecs/ |
D | cs35l41-lib.c | 815 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() 852 bit_offset, word_offset, bit_sum % 32, otp_map[i].size); in cs35l41_otp_unpack() 853 if (bit_offset + otp_map[i].size - 1 >= 32) { in cs35l41_otp_unpack() 857 GENMASK(bit_offset + otp_map[i].size - 33, 0)) << in cs35l41_otp_unpack() 859 bit_offset += otp_map[i].size - 32; in cs35l41_otp_unpack() 860 } else if (bit_offset + otp_map[i].size - 1 >= 0) { in cs35l41_otp_unpack() 862 GENMASK(bit_offset + otp_map[i].size - 1, bit_offset) 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() [all …]
|
/Linux-v6.1/drivers/nvmem/ |
D | bcm-ocotp.c | 59 static struct otpc_map otp_map = { variable 231 { .compatible = "brcm,ocotp", .data = &otp_map }, 238 { .id = "BRCM0700", .driver_data = (kernel_ulong_t)&otp_map },
|