Lines Matching refs:rules
270 static int dp83td510_led_mode(u8 index, unsigned long rules) in dp83td510_led_mode() argument
275 switch (rules) { in dp83td510_led_mode()
297 unsigned long rules) in dp83td510_led_hw_is_supported() argument
301 ret = dp83td510_led_mode(index, rules); in dp83td510_led_hw_is_supported()
309 unsigned long rules) in dp83td510_led_hw_control_set() argument
313 mode = dp83td510_led_mode(index, rules); in dp83td510_led_hw_control_set()
328 u8 index, unsigned long *rules) in dp83td510_led_hw_control_get() argument
341 *rules = BIT(TRIGGER_NETDEV_LINK); in dp83td510_led_hw_control_get()
345 *rules = BIT(TRIGGER_NETDEV_LINK_10); in dp83td510_led_hw_control_get()
348 *rules = BIT(TRIGGER_NETDEV_FULL_DUPLEX); in dp83td510_led_hw_control_get()
351 *rules = BIT(TRIGGER_NETDEV_TX); in dp83td510_led_hw_control_get()
354 *rules = BIT(TRIGGER_NETDEV_RX); in dp83td510_led_hw_control_get()
357 *rules = BIT(TRIGGER_NETDEV_TX) | BIT(TRIGGER_NETDEV_RX); in dp83td510_led_hw_control_get()
360 *rules = BIT(TRIGGER_NETDEV_LINK) | in dp83td510_led_hw_control_get()
365 *rules = 0; in dp83td510_led_hw_control_get()