Searched refs:g_ocotp (Results 1 – 1 of 1) sorted by relevance
72 static const struct ocotp_instance *g_ocotp; variable142 assert(g_base_addr && g_ocotp); in imx_ocotp_read()144 if (bank > g_ocotp->nb_banks || word > g_ocotp->nb_words) in imx_ocotp_read()178 assert(g_base_addr && g_ocotp); in imx_ocotp_write()180 if (bank > g_ocotp->nb_banks || word > g_ocotp->nb_words) in imx_ocotp_write()183 if (!g_ocotp->write_fuse) in imx_ocotp_write()200 ret = g_ocotp->write_fuse(bank, word, val); in imx_ocotp_write()427 assert(g_base_addr && g_ocotp); in tee_otp_get_die_id()429 if (g_ocotp->get_die_id(&uid)) in tee_otp_get_die_id()448 g_ocotp = &ocotp_imx6q; in imx_ocotp_init()[all …]