Lines Matching refs:odi
120 void omap_get_die_id(struct omap_die_id *odi) in omap_get_die_id() argument
123 odi->id_0 = read_tap_reg(OMAP_TAP_DIE_ID_44XX_0); in omap_get_die_id()
124 odi->id_1 = read_tap_reg(OMAP_TAP_DIE_ID_44XX_1); in omap_get_die_id()
125 odi->id_2 = read_tap_reg(OMAP_TAP_DIE_ID_44XX_2); in omap_get_die_id()
126 odi->id_3 = read_tap_reg(OMAP_TAP_DIE_ID_44XX_3); in omap_get_die_id()
130 odi->id_0 = read_tap_reg(OMAP_TAP_DIE_ID_0); in omap_get_die_id()
131 odi->id_1 = read_tap_reg(OMAP_TAP_DIE_ID_1); in omap_get_die_id()
132 odi->id_2 = read_tap_reg(OMAP_TAP_DIE_ID_2); in omap_get_die_id()
133 odi->id_3 = read_tap_reg(OMAP_TAP_DIE_ID_3); in omap_get_die_id()
138 struct omap_die_id odi; in omap_feed_randpool() local
141 omap_get_die_id(&odi); in omap_feed_randpool()
142 add_device_randomness(&odi, sizeof(odi)); in omap_feed_randpool()
153 struct omap_die_id odi; in omap2xxx_check_revision() local
160 omap_get_die_id(&odi); in omap2xxx_check_revision()
164 pr_debug("OMAP_TAP_DIE_ID_0: 0x%08x\n", odi.id_0); in omap2xxx_check_revision()
166 odi.id_1, (odi.id_1 >> 28) & 0xf); in omap2xxx_check_revision()
167 pr_debug("OMAP_TAP_DIE_ID_2: 0x%08x\n", odi.id_2); in omap2xxx_check_revision()
168 pr_debug("OMAP_TAP_DIE_ID_3: 0x%08x\n", odi.id_3); in omap2xxx_check_revision()
650 struct omap_die_id odi; in dra7xxx_check_revision() local
652 omap_get_die_id(&odi); in dra7xxx_check_revision()
653 package = (odi.id_2 >> 16) & 0x3; in dra7xxx_check_revision()