Lines Matching +full:led +full:- +full:order
1 // SPDX-License-Identifier: GPL-2.0-only
14 * Copyright (c) 2003 - 2005 Chelsio Communications, Inc. *
35 * twice in order to get the right values. Future * revisions will fix
42 /* Setup the LED registers so we can turn on/off. in led_init()
52 u32 led = 0; in led_link() local
55 cphy_mdio_read(cphy, MDIO_MMD_PMAPMD, MDIO_CTRL2, &led); in led_link()
58 led |= LINK_ENABLE_BIT; in led_link()
59 cphy_mdio_write(cphy, MDIO_MMD_PMAPMD, MDIO_CTRL2, led); in led_link()
61 led &= ~LINK_ENABLE_BIT; in led_link()
62 cphy_mdio_write(cphy, MDIO_MMD_PMAPMD, MDIO_CTRL2, led); in led_link()
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()
172 /* Turn on/off Link LED */ in mv88x201x_get_link_status()
221 /* Allows for Link,Ack LED turn on/off */ in mv88x201x_phy_create()