Lines Matching refs:adapter
83 if (t1_is_asic(cphy->adapter)) { in mv88x201x_interrupt_enable()
86 t1_tpi_read(cphy->adapter, A_ELMER0_INT_ENABLE, &elmer); in mv88x201x_interrupt_enable()
88 t1_tpi_write(cphy->adapter, A_ELMER0_INT_ENABLE, elmer); in mv88x201x_interrupt_enable()
99 if (t1_is_asic(cphy->adapter)) { in mv88x201x_interrupt_disable()
102 t1_tpi_read(cphy->adapter, A_ELMER0_INT_ENABLE, &elmer); in mv88x201x_interrupt_disable()
104 t1_tpi_write(cphy->adapter, A_ELMER0_INT_ENABLE, elmer); in mv88x201x_interrupt_disable()
138 if (t1_is_asic(cphy->adapter)) { in mv88x201x_interrupt_clear()
139 t1_tpi_read(cphy->adapter, A_ELMER0_INT_CAUSE, &elmer); in mv88x201x_interrupt_clear()
141 t1_tpi_write(cphy->adapter, A_ELMER0_INT_CAUSE, elmer); in mv88x201x_interrupt_clear()
227 static int mv88x201x_phy_reset(adapter_t *adapter) in mv88x201x_phy_reset() argument
231 t1_tpi_read(adapter, A_ELMER0_GPO, &val); in mv88x201x_phy_reset()
233 t1_tpi_write(adapter, A_ELMER0_GPO, val); in mv88x201x_phy_reset()
236 t1_tpi_write(adapter, A_ELMER0_GPO, val | 4); in mv88x201x_phy_reset()
240 t1_tpi_read(adapter, A_ELMER0_GPO, &val); in mv88x201x_phy_reset()
242 t1_tpi_write(adapter, A_ELMER0_GPO, val); in mv88x201x_phy_reset()