Lines Matching refs:chip_id
199 u32 chip_id; /* Chip vendor/Device ID */ member
446 db->chip_id = ent->driver_data; in dmfe_init_one()
567 if ( !chkmode || (db->chip_id == PCI_DM9132_ID) || in dmfe_open()
622 if (db->chip_id == PCI_DM9009_ID) { in dmfe_init_dm910x()
643 if (db->chip_id == PCI_DM9132_ID) in dmfe_init_dm910x()
753 dmfe_phy_write(ioaddr, db->phy_addr, 0, 0x8000, db->chip_id); in dmfe_stop()
1061 if (db->chip_id == PCI_DM9132_ID) in dmfe_set_filter_mode()
1133 if (db->chip_type && (db->chip_id==PCI_DM9102_ID)) { in dmfe_timer()
1136 dmfe_phy_write(ioaddr, db->phy_addr, 0, 0x1000, db->chip_id); in dmfe_timer()
1185 if (db->chip_id == PCI_DM9132_ID) in dmfe_timer()
1190 if ( ((db->chip_id == PCI_DM9102_ID) && in dmfe_timer()
1192 ((db->chip_id == PCI_DM9132_ID) && in dmfe_timer()
1212 dmfe_phy_read (db->ioaddr, db->phy_addr, 1, db->chip_id); in dmfe_timer()
1214 db->phy_addr, 1, db->chip_id) & 0x4) ? 1 : 0; in dmfe_timer()
1230 0, 0x1000, db->chip_id); in dmfe_timer()
1631 phy_mode = dmfe_phy_read(db->ioaddr, db->phy_addr, 1, db->chip_id); in dmfe_sense_speed()
1632 phy_mode = dmfe_phy_read(db->ioaddr, db->phy_addr, 1, db->chip_id); in dmfe_sense_speed()
1635 if (db->chip_id == PCI_DM9132_ID) /* DM9132 */ in dmfe_sense_speed()
1637 db->phy_addr, 7, db->chip_id) & 0xf000; in dmfe_sense_speed()
1640 db->phy_addr, 17, db->chip_id) & 0xf000; in dmfe_sense_speed()
1676 if (db->chip_id == PCI_DM9009_ID) { in dmfe_set_phyxcer()
1678 db->phy_addr, 18, db->chip_id) & ~0x1000; in dmfe_set_phyxcer()
1681 db->phy_addr, 18, phy_reg, db->chip_id); in dmfe_set_phyxcer()
1685 phy_reg = dmfe_phy_read(db->ioaddr, db->phy_addr, 4, db->chip_id) & ~0x01e0; in dmfe_set_phyxcer()
1698 if (db->chip_id == PCI_DM9009_ID) phy_reg &= 0x61; in dmfe_set_phyxcer()
1706 dmfe_phy_write(db->ioaddr, db->phy_addr, 4, phy_reg, db->chip_id); in dmfe_set_phyxcer()
1709 if ( db->chip_type && (db->chip_id == PCI_DM9102_ID) ) in dmfe_set_phyxcer()
1710 dmfe_phy_write(db->ioaddr, db->phy_addr, 0, 0x1800, db->chip_id); in dmfe_set_phyxcer()
1712 dmfe_phy_write(db->ioaddr, db->phy_addr, 0, 0x1200, db->chip_id); in dmfe_set_phyxcer()
1744 phy_reg = dmfe_phy_read(db->ioaddr, db->phy_addr, 6, db->chip_id); in dmfe_process_mode()
1755 db->phy_addr, 0, phy_reg, db->chip_id); in dmfe_process_mode()
1756 if ( db->chip_type && (db->chip_id == PCI_DM9102_ID) ) in dmfe_process_mode()
1759 db->phy_addr, 0, phy_reg, db->chip_id); in dmfe_process_mode()
1770 u16 phy_data, u32 chip_id) in dmfe_phy_write() argument
1774 if (chip_id == PCI_DM9132_ID) { in dmfe_phy_write()
1817 static u16 dmfe_phy_read(void __iomem *ioaddr, u8 phy_addr, u8 offset, u32 chip_id) in dmfe_phy_read() argument
1822 if (chip_id == PCI_DM9132_ID) { in dmfe_phy_read()
1977 tmp_reg = dmfe_phy_read(db->ioaddr, db->phy_addr, 3, db->chip_id); in dmfe_parse_srom()
1981 if ( dmfe_phy_read(db->ioaddr, db->phy_addr, 31, db->chip_id) == 0x4404) { in dmfe_parse_srom()
2007 reg25 = dmfe_phy_read(db->ioaddr, db->phy_addr, 24, db->chip_id); in dmfe_program_DM9801()
2009 reg17 = dmfe_phy_read(db->ioaddr, db->phy_addr, 17, db->chip_id); in dmfe_program_DM9801()
2012 reg25 = dmfe_phy_read(db->ioaddr, db->phy_addr, 25, db->chip_id); in dmfe_program_DM9801()
2014 reg17 = dmfe_phy_read(db->ioaddr, db->phy_addr, 17, db->chip_id); in dmfe_program_DM9801()
2021 reg25 = dmfe_phy_read(db->ioaddr, db->phy_addr, 25, db->chip_id); in dmfe_program_DM9801()
2023 reg17 = dmfe_phy_read(db->ioaddr, db->phy_addr, 17, db->chip_id); in dmfe_program_DM9801()
2027 dmfe_phy_write(db->ioaddr, db->phy_addr, 16, db->HPNA_command, db->chip_id); in dmfe_program_DM9801()
2028 dmfe_phy_write(db->ioaddr, db->phy_addr, 17, reg17, db->chip_id); in dmfe_program_DM9801()
2029 dmfe_phy_write(db->ioaddr, db->phy_addr, 25, reg25, db->chip_id); in dmfe_program_DM9801()
2042 dmfe_phy_write(db->ioaddr, db->phy_addr, 16, db->HPNA_command, db->chip_id); in dmfe_program_DM9802()
2043 phy_reg = dmfe_phy_read(db->ioaddr, db->phy_addr, 25, db->chip_id); in dmfe_program_DM9802()
2045 dmfe_phy_write(db->ioaddr, db->phy_addr, 25, phy_reg, db->chip_id); in dmfe_program_DM9802()
2059 phy_reg = dmfe_phy_read(db->ioaddr, db->phy_addr, 17, db->chip_id) & 0x60; in dmfe_HPNA_remote_cmd_chk()
2070 db->chip_id); in dmfe_HPNA_remote_cmd_chk()