Home
last modified time | relevance | path

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

/external/syslinux/gpxe/src/drivers/net/
Ddmfe.c761 u16 phy_reg; in dmfe_set_phyxcer() local
769 phy_reg = in dmfe_set_phyxcer()
772 phy_write(BASE, db->phy_addr, 18, phy_reg, db->chip_id); in dmfe_set_phyxcer()
776 phy_reg = phy_read(BASE, db->phy_addr, 4, db->chip_id) & ~0x01e0; in dmfe_set_phyxcer()
780 phy_reg |= db->PHY_reg4; in dmfe_set_phyxcer()
785 phy_reg |= 0x20; in dmfe_set_phyxcer()
788 phy_reg |= 0x40; in dmfe_set_phyxcer()
791 phy_reg |= 0x80; in dmfe_set_phyxcer()
794 phy_reg |= 0x100; in dmfe_set_phyxcer()
798 phy_reg &= 0x61; in dmfe_set_phyxcer()
[all …]
Dr8169.c435 struct phy_reg { struct
440 static void rtl_phy_write(void *ioaddr, struct phy_reg *regs, int len) in rtl_phy_write() argument
506 struct phy_reg phy_reg_init[] = { in rtl8169sb_hw_phy_config()
519 struct phy_reg phy_reg_init[] = { in rtl8168bb_hw_phy_config()
534 struct phy_reg phy_reg_init[] = { in rtl8168bef_hw_phy_config()
547 struct phy_reg phy_reg_init[] = { in rtl8168cp_1_hw_phy_config()
562 struct phy_reg phy_reg_init[] = { in rtl8168cp_2_hw_phy_config()
579 struct phy_reg phy_reg_init[] = { in rtl8168c_1_hw_phy_config()
610 struct phy_reg phy_reg_init[] = { in rtl8168c_2_hw_phy_config()
640 struct phy_reg phy_reg_init[] = { in rtl8168c_3_hw_phy_config()
[all …]
Dtulip.c1725 u32 phy_reg = inl(ioaddr + 0xB8); in pnic_do_nway() local
1732 if (phy_reg & 0x78000000) { /* Ignore baseT4 */ in pnic_do_nway()
1733 if (phy_reg & 0x20000000) tp->if_port = 5; in pnic_do_nway()
1734 else if (phy_reg & 0x40000000) tp->if_port = 3; in pnic_do_nway()
1735 else if (phy_reg & 0x10000000) tp->if_port = 4; in pnic_do_nway()
1736 else if (phy_reg & 0x08000000) tp->if_port = 0; in pnic_do_nway()
1742 if (phy_reg & 0x30000000) { in pnic_do_nway()
1749 tp->nic_name, phy_reg, medianame[tp->if_port]); in pnic_do_nway()