Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/ethernet/
Dphy_gecko.c144 int phy_id; in phy_gecko_init() local
152 phy_id = phy_gecko_id_get(phy); in phy_gecko_init()
153 if (phy_id == 0xFFFFFFFF) { in phy_gecko_init()
158 LOG_INF("PHYID: 0x%X at addr: %d", phy_id, phy->address); in phy_gecko_init()
169 uint32_t phy_id; in phy_gecko_id_get() local
177 phy_id = (phy_reg & 0xFFFF) << 16; in phy_gecko_id_get()
183 phy_id |= (phy_reg & 0xFFFF); in phy_gecko_id_get()
187 return phy_id; in phy_gecko_id_get()
Dphy_xlnx_gem.c254 if ((dev_data->phy_id & PHY_MRVL_PHY_ID_MODEL_MASK) == in phy_xlnx_gem_marvell_alaska_cfg()
393 if ((dev_data->phy_id & PHY_MRVL_PHY_ID_MODEL_MASK) == in phy_xlnx_gem_marvell_alaska_cfg()
861 .phy_id = PHY_MRVL_PHY_ID_MODEL_88E1111,
867 .phy_id = PHY_MRVL_PHY_ID_MODEL_88E151X,
873 .phy_id = PHY_TI_PHY_ID_MODEL_DP83822,
879 .phy_id = PHY_TI_PHY_ID_MODEL_TLK105,
907 uint32_t phy_id; in phy_xlnx_gem_detect() local
918 dev_data->phy_id = 0; in phy_xlnx_gem_detect()
936 phy_id = (((uint32_t)phy_data << 16) & 0xFFFF0000); in phy_xlnx_gem_detect()
940 phy_id |= ((uint32_t)phy_data & 0x0000FFFF); in phy_xlnx_gem_detect()
[all …]
Dphy_xlnx_gem.h146 uint32_t phy_id; member
Deth_xlnx_gem_priv.h484 .phy_id = 0,\
752 uint32_t phy_id; member
Deth_xlnx_gem.c1180 if (detect_rc == 0 && dev_data->phy_id != 0x00000000 && in eth_xlnx_gem_init_phy()
1181 dev_data->phy_id != 0xFFFFFFFF && in eth_xlnx_gem_init_phy()
/Zephyr-latest/drivers/ethernet/phy/
Dphy_adin2111.c318 static int phy_adin2111_id(const struct device *dev, uint32_t *phy_id) in phy_adin2111_id() argument
326 *phy_id = (val & UINT16_MAX) << 16; in phy_adin2111_id()
332 *phy_id |= (val & UINT16_MAX); in phy_adin2111_id()
445 uint32_t phy_id; in phy_adin2111_init() local
472 ret = phy_adin2111_id(dev, &phy_id); in phy_adin2111_init()
479 if (phy_id != ADIN2111_PHY_ID && phy_id != ADIN1110_PHY_ID && phy_id != ADIN1100_PHY_ID) { in phy_adin2111_init()
480 LOG_ERR("PHY %u unexpected PHY ID %X", cfg->phy_addr, phy_id); in phy_adin2111_init()
484 LOG_INF("PHY %u ID %X", cfg->phy_addr, phy_id); in phy_adin2111_init()
Dphy_mii.c123 static int get_id(const struct device *dev, uint32_t *phy_id) in get_id() argument
131 *phy_id = value << 16; in get_id()
137 *phy_id |= value; in get_id()
426 uint32_t phy_id; in phy_mii_initialize() local
459 if (get_id(dev, &phy_id) == 0) { in phy_mii_initialize()
460 if (phy_id == MII_INVALID_PHY_ID) { in phy_mii_initialize()
467 LOG_INF("PHY (%d) ID %X", cfg->phy_addr, phy_id); in phy_mii_initialize()
Dphy_tja1103.c137 static int phy_tja1103_id(const struct device *dev, uint32_t *phy_id) in phy_tja1103_id() argument
145 *phy_id = (val & UINT16_MAX) << 16; in phy_tja1103_id()
151 *phy_id |= (val & UINT16_MAX); in phy_tja1103_id()
356 uint32_t phy_id = 0; in phy_tja1103_init() local
365 ret = WAIT_FOR(!phy_tja1103_id(dev, &phy_id) && phy_id == TJA1103_ID, in phy_tja1103_init()