Lines Matching +full:0 +full:x8004
9 #define CROSSOVER_MDI 0
13 #define INTR_ENABLE_MASK 0x6CA0
45 * RETURN: 0 - Successful reset.
62 return ctl ? -1 : 0; in mv88e1xxx_reset()
81 return 0; in mv88e1xxx_interrupt_enable()
87 (void) simple_mdio_write(cphy, MV88E1XXX_INTERRUPT_ENABLE_REGISTER, 0); in mv88e1xxx_interrupt_disable()
99 return 0; in mv88e1xxx_interrupt_disable()
118 return 0; in mv88e1xxx_interrupt_clear()
130 if (speed >= 0) { in mv88e1xxx_set_speed_duplex()
137 if (duplex >= 0) { in mv88e1xxx_set_speed_duplex()
145 return 0; in mv88e1xxx_set_speed_duplex()
158 return 0; in mv88e1xxx_crossover_set()
171 return 0; in mv88e1xxx_autoneg_enable()
191 return 0; in mv88e1xxx_autoneg_disable()
197 return 0; in mv88e1xxx_autoneg_restart()
202 u32 val = 0; in mv88e1xxx_advertise()
229 return 0; in mv88e1xxx_advertise()
238 return 0; in mv88e1xxx_set_loopback()
245 int sp = -1, dplx = -1, pause = 0; in mv88e1xxx_get_link_status()
249 if ((status & V_PSSR_STATUS_RESOLVED) != 0) { in mv88e1xxx_get_link_status()
256 if (sp == 0) in mv88e1xxx_get_link_status()
264 *link_ok = (status & V_PSSR_LINK) != 0; in mv88e1xxx_get_link_status()
271 return 0; in mv88e1xxx_get_link_status()
291 return 0; in mv88e1xxx_downshift_set()
296 int cphy_cause = 0; in mv88e1xxx_interrupt_handler()
375 MV88E1XXX_EXTENDED_ADDR_REGISTER, 0xB); in mv88e1xxx_phy_create()
377 MV88E1XXX_EXTENDED_REGISTER, 0x8004); in mv88e1xxx_phy_create()
384 MV88E1XXX_LED_CONTROL_REGISTER, 0x1); in mv88e1xxx_phy_create()
392 return 0; in mv88e1xxx_phy_reset()