Home
last modified time | relevance | path

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

/hal_espressif-3.4.0/examples/ethernet/enc28j60/components/eth_enc28j60/
Desp_eth_phy_enc28j60.c301 phyidr2_reg_t id2; in enc28j60_init() local
304 PHY_CHECK(eth->phy_reg_read(eth, enc28j60->addr, ETH_PHY_IDR2_REG_ADDR, &(id2.val)) == ESP_OK, in enc28j60_init()
306 PHY_CHECK(id1.oui_msb == 0x0083 && id2.oui_lsb == 0x05 && id2.vendor_model == 0x00, in enc28j60_init()
/hal_espressif-3.4.0/components/esp_eth/src/
Desp_eth_phy_rtl8201.c339 phyidr2_reg_t id2; in rtl8201_init() local
341 …ESP_GOTO_ON_ERROR(eth->phy_reg_read(eth, rtl8201->addr, ETH_PHY_IDR2_REG_ADDR, &(id2.val)), err, T… in rtl8201_init()
342 …ESP_GOTO_ON_FALSE(id1.oui_msb == 0x1C && id2.oui_lsb == 0x32 && id2.vendor_model == 0x1, ESP_FAIL,… in rtl8201_init()
Desp_eth_phy_dm9051.c353 phyidr2_reg_t id2; in dm9051_init() local
355 …ESP_GOTO_ON_ERROR(eth->phy_reg_read(eth, dm9051->addr, ETH_PHY_IDR2_REG_ADDR, &(id2.val)), err, TA… in dm9051_init()
356 …ESP_GOTO_ON_FALSE(id1.oui_msb == 0x0181 && id2.oui_lsb == 0x2E && id2.vendor_model == 0x0A, ESP_FA… in dm9051_init()
Desp_eth_phy_dp83848.c347 phyidr2_reg_t id2; in dp83848_init() local
349 …ESP_GOTO_ON_ERROR(eth->phy_reg_read(eth, dp83848->addr, ETH_PHY_IDR2_REG_ADDR, &(id2.val)), err, T… in dp83848_init()
350 …ESP_GOTO_ON_FALSE(id1.oui_msb == 0x2000 && id2.oui_lsb == 0x17 && id2.vendor_model == 0x09, ESP_FA… in dp83848_init()
Desp_eth_phy_ip101.c386 phyidr2_reg_t id2; in ip101_init() local
388 …ESP_GOTO_ON_ERROR(eth->phy_reg_read(eth, ip101->addr, ETH_PHY_IDR2_REG_ADDR, &(id2.val)), err, TAG… in ip101_init()
389 …ESP_GOTO_ON_FALSE(id1.oui_msb == 0x243 && id2.oui_lsb == 0x3 && id2.vendor_model == 0x5, ESP_FAIL,… in ip101_init()
Desp_eth_phy_ksz80xx.c360 phyidr2_reg_t id2; in ksz80xx_init() local
362 …ESP_GOTO_ON_ERROR(eth->phy_reg_read(eth, ksz80xx->addr, ETH_PHY_IDR2_REG_ADDR, &(id2.val)), err, T… in ksz80xx_init()
363 …ESP_GOTO_ON_FALSE(id1.oui_msb == 0x22 && id2.oui_lsb == 0x5 && id2.vendor_model == ksz80xx->vendor… in ksz80xx_init()
Desp_eth_phy_lan87xx.c496 phyidr2_reg_t id2; in lan87xx_init() local
498 …ESP_GOTO_ON_ERROR(eth->phy_reg_read(eth, lan87xx->addr, ETH_PHY_IDR2_REG_ADDR, &(id2.val)), err, T… in lan87xx_init()
499 … ESP_GOTO_ON_FALSE(id1.oui_msb == 0x7 && id2.oui_lsb == 0x30, ESP_FAIL, err, TAG, "wrong chip ID"); in lan87xx_init()
502 if (id2.vendor_model == supported_models[i]) { in lan87xx_init()