Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/broadcom/
H A Dtg3.c10800 static void tg3_sd_scan_scratchpad(struct tg3 *tp, struct tg3_ocir *ocir) in tg3_sd_scan_scratchpad() argument
10805 for (i = 0, off = 0; i < TG3_SD_NUM_RECS; i++, ocir++, off += len) { in tg3_sd_scan_scratchpad()
10806 tg3_ape_scratchpad_read(tp, (u32 *) ocir, off, len); in tg3_sd_scan_scratchpad()
10808 if (ocir->signature != TG3_OCIR_SIG_MAGIC || in tg3_sd_scan_scratchpad()
10809 !(ocir->version_flags & TG3_OCIR_FLAG_ACTIVE)) in tg3_sd_scan_scratchpad()
10810 memset(ocir, 0, len); in tg3_sd_scan_scratchpad()