Lines Matching full:rules

756 					unsigned long rules)  in rtl8211x_led_hw_is_supported()  argument
783 if (rules & ~mask) in rtl8211x_led_hw_is_supported()
787 if (!(rules & BIT(TRIGGER_NETDEV_RX)) ^ !(rules & BIT(TRIGGER_NETDEV_TX))) in rtl8211x_led_hw_is_supported()
794 unsigned long *rules) in rtl8211f_led_hw_control_get() argument
809 __set_bit(TRIGGER_NETDEV_LINK_10, rules); in rtl8211f_led_hw_control_get()
812 __set_bit(TRIGGER_NETDEV_LINK_100, rules); in rtl8211f_led_hw_control_get()
815 __set_bit(TRIGGER_NETDEV_LINK_1000, rules); in rtl8211f_led_hw_control_get()
820 __set_bit(TRIGGER_NETDEV_LINK, rules); in rtl8211f_led_hw_control_get()
824 __set_bit(TRIGGER_NETDEV_RX, rules); in rtl8211f_led_hw_control_get()
825 __set_bit(TRIGGER_NETDEV_TX, rules); in rtl8211f_led_hw_control_get()
832 unsigned long rules) in rtl8211f_led_hw_control_set() argument
840 if (test_bit(TRIGGER_NETDEV_LINK, &rules) || in rtl8211f_led_hw_control_set()
841 test_bit(TRIGGER_NETDEV_LINK_10, &rules)) { in rtl8211f_led_hw_control_set()
845 if (test_bit(TRIGGER_NETDEV_LINK, &rules) || in rtl8211f_led_hw_control_set()
846 test_bit(TRIGGER_NETDEV_LINK_100, &rules)) { in rtl8211f_led_hw_control_set()
850 if (test_bit(TRIGGER_NETDEV_LINK, &rules) || in rtl8211f_led_hw_control_set()
851 test_bit(TRIGGER_NETDEV_LINK_1000, &rules)) { in rtl8211f_led_hw_control_set()
855 if (test_bit(TRIGGER_NETDEV_RX, &rules) || in rtl8211f_led_hw_control_set()
856 test_bit(TRIGGER_NETDEV_TX, &rules)) { in rtl8211f_led_hw_control_set()
867 unsigned long *rules) in rtl8211e_led_hw_control_get() argument
882 __set_bit(TRIGGER_NETDEV_RX, rules); in rtl8211e_led_hw_control_get()
883 __set_bit(TRIGGER_NETDEV_TX, rules); in rtl8211e_led_hw_control_get()
893 __set_bit(TRIGGER_NETDEV_LINK_10, rules); in rtl8211e_led_hw_control_get()
896 __set_bit(TRIGGER_NETDEV_LINK_100, rules); in rtl8211e_led_hw_control_get()
899 __set_bit(TRIGGER_NETDEV_LINK_1000, rules); in rtl8211e_led_hw_control_get()
904 __set_bit(TRIGGER_NETDEV_LINK, rules); in rtl8211e_led_hw_control_get()
911 unsigned long rules) in rtl8211e_led_hw_control_set() argument
923 if (test_bit(TRIGGER_NETDEV_RX, &rules) || in rtl8211e_led_hw_control_set()
924 test_bit(TRIGGER_NETDEV_TX, &rules)) { in rtl8211e_led_hw_control_set()
934 if (test_bit(TRIGGER_NETDEV_LINK, &rules) || in rtl8211e_led_hw_control_set()
935 test_bit(TRIGGER_NETDEV_LINK_10, &rules)) { in rtl8211e_led_hw_control_set()
939 if (test_bit(TRIGGER_NETDEV_LINK, &rules) || in rtl8211e_led_hw_control_set()
940 test_bit(TRIGGER_NETDEV_LINK_100, &rules)) { in rtl8211e_led_hw_control_set()
944 if (test_bit(TRIGGER_NETDEV_LINK, &rules) || in rtl8211e_led_hw_control_set()
945 test_bit(TRIGGER_NETDEV_LINK_1000, &rules)) { in rtl8211e_led_hw_control_set()