Lines Matching defs:adapter
98 if (t1_is_asic(cphy->adapter)) {
101 (void) t1_tpi_read(cphy->adapter, A_ELMER0_INT_ENABLE, &elmer);
103 if (is_T2(cphy->adapter)) {
106 (void) t1_tpi_write(cphy->adapter, A_ELMER0_INT_ENABLE, elmer);
117 if (t1_is_asic(cphy->adapter)) {
120 (void) t1_tpi_read(cphy->adapter, A_ELMER0_INT_ENABLE, &elmer);
122 if (is_T2(cphy->adapter)) {
125 (void) t1_tpi_write(cphy->adapter, A_ELMER0_INT_ENABLE, elmer);
138 if (t1_is_asic(cphy->adapter)) {
139 (void) t1_tpi_read(cphy->adapter, A_ELMER0_INT_CAUSE, &elmer);
141 if (is_T2(cphy->adapter)) {
144 (void) t1_tpi_write(cphy->adapter, A_ELMER0_INT_CAUSE, elmer);
397 static struct cphy *mv88e1xxx_phy_create(adapter_t *adapter, int phy_addr,
404 cphy_init(cphy, adapter, phy_addr, &mv88e1xxx_ops, mdio_ops);
407 if ((board_info(adapter)->caps & SUPPORTED_TP) &&
408 board_info(adapter)->chip_phy == CHBT_PHY_88E1111) {
418 if (is_T2(adapter)) {
427 static int mv88e1xxx_phy_reset(adapter_t* adapter)