Lines Matching full:chipid
1146 u32 chipid; in wilc_wlan_start() local
1169 ret = wilc->hif_func->hif_read_reg(wilc, WILC_CHIPID, &chipid); in wilc_wlan_start()
1407 u32 chipid; in init_chip() local
1415 chipid = wilc_get_chipid(wilc, true); in init_chip()
1417 if ((chipid & 0xfff) != 0xa0) { in init_chip()
1450 u32 chipid = 0; in wilc_get_chipid() local
1453 if (wilc->chipid == 0 || update) { in wilc_get_chipid()
1454 wilc->hif_func->hif_read_reg(wilc, WILC_CHIPID, &chipid); in wilc_get_chipid()
1457 if (!is_wilc1000(chipid)) { in wilc_get_chipid()
1458 wilc->chipid = 0; in wilc_get_chipid()
1459 return wilc->chipid; in wilc_get_chipid()
1461 if (chipid == WILC_1000_BASE_ID_2A) { /* 0x1002A0 */ in wilc_get_chipid()
1463 chipid = WILC_1000_BASE_ID_2A_REV1; in wilc_get_chipid()
1464 } else if (chipid == WILC_1000_BASE_ID_2B) { /* 0x1002B0 */ in wilc_get_chipid()
1466 chipid = WILC_1000_BASE_ID_2B_REV1; in wilc_get_chipid()
1468 chipid = WILC_1000_BASE_ID_2B_REV2; in wilc_get_chipid()
1471 wilc->chipid = chipid; in wilc_get_chipid()
1473 return wilc->chipid; in wilc_get_chipid()