Lines Matching refs:chip_id

214 	u32 chip_id;			/* Chip vendor/Device ID */  member
464 db->chip_id = ent->driver_data; in dmfe_init_one()
580 if ( !chkmode || (db->chip_id == PCI_DM9132_ID) || in dmfe_open()
637 if (db->chip_id == PCI_DM9009_ID) { in dmfe_init_dm910x()
658 if (db->chip_id == PCI_DM9132_ID) in dmfe_init_dm910x()
767 phy_write(db->ioaddr, db->phy_addr, 0, 0x8000, db->chip_id); in dmfe_stop()
1072 if (db->chip_id == PCI_DM9132_ID) in dmfe_set_filter_mode()
1149 if (db->chip_type && (db->chip_id==PCI_DM9102_ID)) { in dmfe_timer()
1153 db->phy_addr, 0, 0x1000, db->chip_id); in dmfe_timer()
1202 if (db->chip_id == PCI_DM9132_ID) in dmfe_timer()
1207 if ( ((db->chip_id == PCI_DM9102_ID) && in dmfe_timer()
1209 ((db->chip_id == PCI_DM9132_ID) && in dmfe_timer()
1229 phy_read (db->ioaddr, db->phy_addr, 1, db->chip_id); in dmfe_timer()
1231 db->phy_addr, 1, db->chip_id) & 0x4) ? 1 : 0; in dmfe_timer()
1247 0, 0x1000, db->chip_id); in dmfe_timer()
1631 phy_mode = phy_read(db->ioaddr, db->phy_addr, 1, db->chip_id); in dmfe_sense_speed()
1632 phy_mode = 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()
1675 if (db->chip_id == PCI_DM9009_ID) { in dmfe_set_phyxcer()
1677 db->phy_addr, 18, db->chip_id) & ~0x1000; in dmfe_set_phyxcer()
1680 db->phy_addr, 18, phy_reg, db->chip_id); in dmfe_set_phyxcer()
1684 phy_reg = phy_read(db->ioaddr, db->phy_addr, 4, db->chip_id) & ~0x01e0; in dmfe_set_phyxcer()
1697 if (db->chip_id == PCI_DM9009_ID) phy_reg &= 0x61; in dmfe_set_phyxcer()
1705 phy_write(db->ioaddr, db->phy_addr, 4, phy_reg, db->chip_id); in dmfe_set_phyxcer()
1708 if ( db->chip_type && (db->chip_id == PCI_DM9102_ID) ) in dmfe_set_phyxcer()
1709 phy_write(db->ioaddr, db->phy_addr, 0, 0x1800, db->chip_id); in dmfe_set_phyxcer()
1711 phy_write(db->ioaddr, db->phy_addr, 0, 0x1200, db->chip_id); in dmfe_set_phyxcer()
1743 phy_reg = phy_read(db->ioaddr, db->phy_addr, 6, db->chip_id); in dmfe_process_mode()
1754 db->phy_addr, 0, phy_reg, db->chip_id); in dmfe_process_mode()
1755 if ( db->chip_type && (db->chip_id == PCI_DM9102_ID) ) in dmfe_process_mode()
1758 db->phy_addr, 0, phy_reg, db->chip_id); in dmfe_process_mode()
1769 u16 phy_data, u32 chip_id) in phy_write() argument
1774 if (chip_id == PCI_DM9132_ID) { in phy_write()
1819 static u16 phy_read(unsigned long iobase, u8 phy_addr, u8 offset, u32 chip_id) in phy_read() argument
1825 if (chip_id == PCI_DM9132_ID) { in phy_read()
1982 tmp_reg = phy_read(db->ioaddr, db->phy_addr, 3, db->chip_id); in dmfe_parse_srom()
1986 if ( phy_read(db->ioaddr, db->phy_addr, 31, db->chip_id) == 0x4404) { in dmfe_parse_srom()
2012 reg25 = phy_read(db->ioaddr, db->phy_addr, 24, db->chip_id); in dmfe_program_DM9801()
2014 reg17 = phy_read(db->ioaddr, db->phy_addr, 17, db->chip_id); in dmfe_program_DM9801()
2017 reg25 = phy_read(db->ioaddr, db->phy_addr, 25, db->chip_id); in dmfe_program_DM9801()
2019 reg17 = phy_read(db->ioaddr, db->phy_addr, 17, db->chip_id); in dmfe_program_DM9801()
2026 reg25 = phy_read(db->ioaddr, db->phy_addr, 25, db->chip_id); in dmfe_program_DM9801()
2028 reg17 = phy_read(db->ioaddr, db->phy_addr, 17, db->chip_id); in dmfe_program_DM9801()
2032 phy_write(db->ioaddr, db->phy_addr, 16, db->HPNA_command, db->chip_id); in dmfe_program_DM9801()
2033 phy_write(db->ioaddr, db->phy_addr, 17, reg17, db->chip_id); in dmfe_program_DM9801()
2034 phy_write(db->ioaddr, db->phy_addr, 25, reg25, db->chip_id); in dmfe_program_DM9801()
2047 phy_write(db->ioaddr, db->phy_addr, 16, db->HPNA_command, db->chip_id); in dmfe_program_DM9802()
2048 phy_reg = phy_read(db->ioaddr, db->phy_addr, 25, db->chip_id); in dmfe_program_DM9802()
2050 phy_write(db->ioaddr, db->phy_addr, 25, phy_reg, db->chip_id); in dmfe_program_DM9802()
2064 phy_reg = phy_read(db->ioaddr, db->phy_addr, 17, db->chip_id) & 0x60; in dmfe_HPNA_remote_cmd_chk()
2075 db->chip_id); in dmfe_HPNA_remote_cmd_chk()