Searched refs:led_ctrl (Results 1 – 6 of 6) sorted by relevance
/drivers/net/ethernet/intel/e1000/ |
D | e1000_hw.c | 380 u32 led_ctrl; in e1000_reset_hw() local 492 led_ctrl = er32(LEDCTL); in e1000_reset_hw() 493 led_ctrl &= IGP_ACTIVITY_LED_MASK; in e1000_reset_hw() 494 led_ctrl |= (IGP_ACTIVITY_LED_ENABLE | IGP_LED3_MODE); in e1000_reset_hw() 495 ew32(LEDCTL, led_ctrl); in e1000_reset_hw() 1062 u32 led_ctrl; in e1000_copper_link_igp_setup() local 1078 led_ctrl = er32(LEDCTL); in e1000_copper_link_igp_setup() 1079 led_ctrl &= IGP_ACTIVITY_LED_MASK; in e1000_copper_link_igp_setup() 1080 led_ctrl |= (IGP_ACTIVITY_LED_ENABLE | IGP_LED3_MODE); in e1000_copper_link_igp_setup() 1081 ew32(LEDCTL, led_ctrl); in e1000_copper_link_igp_setup() [all …]
|
/drivers/net/dsa/ |
D | bcm_sf2.c | 225 u16 led_ctrl = bcm_sf2_reg_led_base(priv, 0); in bcm_sf2_gphy_enable_set() local 229 reg = reg_led_readl(priv, led_ctrl, 0); in bcm_sf2_gphy_enable_set() 231 reg_led_writel(priv, reg, led_ctrl, 0); in bcm_sf2_gphy_enable_set()
|
/drivers/ata/ |
D | sata_mv.c | 1561 u32 led_ctrl; in mv_soc_led_blink_enable() local 1567 led_ctrl = readl(hc_mmio + SOC_LED_CTRL); in mv_soc_led_blink_enable() 1568 writel(led_ctrl | SOC_LED_CTRL_BLINK, hc_mmio + SOC_LED_CTRL); in mv_soc_led_blink_enable() 1576 u32 led_ctrl; in mv_soc_led_blink_disable() local 1593 led_ctrl = readl(hc_mmio + SOC_LED_CTRL); in mv_soc_led_blink_disable() 1594 writel(led_ctrl & ~SOC_LED_CTRL_BLINK, hc_mmio + SOC_LED_CTRL); in mv_soc_led_blink_disable()
|
/drivers/net/ethernet/broadcom/ |
D | tg3.c | 3005 if (tp->led_ctrl == LED_CTRL_MODE_PHY_2) in tg3_5700_link_polarity() 4165 tw32(MAC_LED_CTRL, tp->led_ctrl); in tg3_power_down_prepare() 4860 if (tp->led_ctrl == LED_CTRL_MODE_PHY_1) in tg3_setup_copper_phy() 5006 u32 led_ctrl = tr32(MAC_LED_CTRL); in tg3_setup_copper_phy() local 5007 led_ctrl &= ~(LED_CTRL_1000MBPS_ON | LED_CTRL_100MBPS_ON); in tg3_setup_copper_phy() 5010 led_ctrl |= LED_CTRL_LNKLED_OVERRIDE; in tg3_setup_copper_phy() 5012 led_ctrl |= (LED_CTRL_LNKLED_OVERRIDE | in tg3_setup_copper_phy() 5015 led_ctrl |= (LED_CTRL_LNKLED_OVERRIDE | in tg3_setup_copper_phy() 5018 tw32(MAC_LED_CTRL, led_ctrl); in tg3_setup_copper_phy() 5787 tw32(MAC_LED_CTRL, (tp->led_ctrl | in tg3_setup_fiber_phy() [all …]
|
D | tg3.h | 3359 u32 led_ctrl; member
|
/drivers/net/wireless/ralink/rt2x00/ |
D | rt2800lib.c | 2212 u8 led_ctrl, led_g_mode, led_r_mode; in rt2800_config_3572bt_ant() local 2230 led_ctrl = rt2x00_get_field16(eeprom, EEPROM_FREQ_LED_MODE); in rt2800_config_3572bt_ant() 2231 if (led_ctrl == 0 || led_ctrl > 0x40) { in rt2800_config_3572bt_ant()
|