Home
last modified time | relevance | path

Searched refs:TRIGGER_NETDEV_TX (Results 1 – 13 of 13) sorted by relevance

/linux-6.12.1/drivers/net/ethernet/realtek/
Dr8169_leds.c48 tx = flags & BIT(TRIGGER_NETDEV_TX); in r8169_trigger_mode_is_valid()
83 if (flags & BIT(TRIGGER_NETDEV_TX)) in rtl8168_led_hw_control_set()
109 *flags |= BIT(TRIGGER_NETDEV_TX) | BIT(TRIGGER_NETDEV_RX); in rtl8168_led_hw_control_get()
197 if (flags & (BIT(TRIGGER_NETDEV_TX) | BIT(TRIGGER_NETDEV_RX))) in rtl8125_led_hw_control_set()
223 *flags |= BIT(TRIGGER_NETDEV_TX) | BIT(TRIGGER_NETDEV_RX); in rtl8125_led_hw_control_get()
/linux-6.12.1/drivers/net/ethernet/intel/igc/
Digc_leds.c35 BIT(TRIGGER_NETDEV_RX) | BIT(TRIGGER_NETDEV_TX))
38 (BIT(TRIGGER_NETDEV_RX) | BIT(TRIGGER_NETDEV_TX))
146 if ((flags & BIT(TRIGGER_NETDEV_TX)) && in igc_led_hw_control_is_supported()
178 if ((flags & BIT(TRIGGER_NETDEV_TX)) && in igc_led_hw_control_set()
205 *flags = BIT(TRIGGER_NETDEV_TX) | BIT(TRIGGER_NETDEV_RX); in igc_led_hw_control_get()
/linux-6.12.1/drivers/net/phy/aquantia/
Daquantia_leds.c32 BIT(TRIGGER_NETDEV_TX));
79 *rules |= BIT(TRIGGER_NETDEV_TX); in aqr_phy_led_hw_control_get()
110 if (rules & BIT(TRIGGER_NETDEV_TX)) in aqr_phy_led_hw_control_set()
/linux-6.12.1/drivers/leds/trigger/
Dledtrig-netdev.c148 if (test_bit(TRIGGER_NETDEV_TX, &trigger_data->mode) || in set_baseline_state()
342 case TRIGGER_NETDEV_TX: in netdev_led_attr_show()
378 case TRIGGER_NETDEV_TX: in netdev_led_attr_store()
438 DEFINE_NETDEV_TRIGGER(tx, TRIGGER_NETDEV_TX);
642 if (!test_bit(TRIGGER_NETDEV_TX, &trigger_data->mode) && in netdev_trig_work()
650 (test_bit(TRIGGER_NETDEV_TX, &trigger_data->mode) ? in netdev_trig_work()
/linux-6.12.1/drivers/net/phy/
Ddp83867.c1053 case BIT(TRIGGER_NETDEV_TX): in dp83867_led_mode()
1059 case BIT(TRIGGER_NETDEV_TX) | BIT(TRIGGER_NETDEV_RX): in dp83867_led_mode()
1065 case BIT(TRIGGER_NETDEV_LINK) | BIT(TRIGGER_NETDEV_TX) | BIT(TRIGGER_NETDEV_RX): in dp83867_led_mode()
1127 *rules = BIT(TRIGGER_NETDEV_TX); in dp83867_led_hw_control_get()
1136 *rules = BIT(TRIGGER_NETDEV_TX) | BIT(TRIGGER_NETDEV_RX); in dp83867_led_hw_control_get()
1145 *rules = BIT(TRIGGER_NETDEV_LINK) | BIT(TRIGGER_NETDEV_TX) | in dp83867_led_hw_control_get()
Dmarvell.c3269 BIT(TRIGGER_NETDEV_TX)),
3274 BIT(TRIGGER_NETDEV_TX)),
3279 BIT(TRIGGER_NETDEV_TX)),
3283 .rules = BIT(TRIGGER_NETDEV_TX),
3304 BIT(TRIGGER_NETDEV_TX)),
3314 BIT(TRIGGER_NETDEV_TX)),
3319 BIT(TRIGGER_NETDEV_TX)),
3345 BIT(TRIGGER_NETDEV_TX)),
3350 BIT(TRIGGER_NETDEV_TX)),
3355 BIT(TRIGGER_NETDEV_TX)),
[all …]
Drealtek.c497 BIT(TRIGGER_NETDEV_TX); in rtl8211f_led_hw_is_supported()
519 if (!(rules & BIT(TRIGGER_NETDEV_RX)) ^ !(rules & BIT(TRIGGER_NETDEV_TX))) in rtl8211f_led_hw_is_supported()
551 set_bit(TRIGGER_NETDEV_TX, rules); in rtl8211f_led_hw_control_get()
576 test_bit(TRIGGER_NETDEV_TX, &rules)) { in rtl8211f_led_hw_control_set()
Dair_en8811h.c134 BIT(TRIGGER_NETDEV_TX))
190 BIT(TRIGGER_NETDEV_TX);
692 if (rules & BIT(TRIGGER_NETDEV_TX)) { in air_led_hw_control_set()
Dmediatek-ge-soc.c1220 BIT(TRIGGER_NETDEV_TX));
1301 *rules |= BIT(TRIGGER_NETDEV_TX); in mt798x_phy_led_hw_control_get()
1340 if (rules & BIT(TRIGGER_NETDEV_TX)) { in mt798x_phy_led_hw_control_set()
/linux-6.12.1/drivers/net/phy/qcom/
Dqca807x.c140 if (test_bit(TRIGGER_NETDEV_TX, &rules)) in qca807x_led_parse_netdev()
156 if (test_bit(TRIGGER_NETDEV_TX, &rules)) in qca807x_led_parse_netdev()
266 set_bit(TRIGGER_NETDEV_TX, rules); in qca807x_led_hw_control_get()
285 set_bit(TRIGGER_NETDEV_TX, rules); in qca807x_led_hw_control_get()
Dqca808x.c423 if (test_bit(TRIGGER_NETDEV_TX, &rules)) in qca808x_led_parse_netdev()
525 set_bit(TRIGGER_NETDEV_TX, rules); in qca808x_led_hw_control_get()
/linux-6.12.1/drivers/net/dsa/qca/
Dqca8k-leds.c68 if (test_bit(TRIGGER_NETDEV_TX, &rules)) in qca8k_parse_netdev()
333 set_bit(TRIGGER_NETDEV_TX, rules); in qca8k_cled_hw_control_get()
/linux-6.12.1/include/linux/
Dleds.h612 TRIGGER_NETDEV_TX, enumerator