Lines Matching refs:rules
329 static int dp83td510_led_mode(u8 index, unsigned long rules) in dp83td510_led_mode() argument
334 switch (rules) { in dp83td510_led_mode()
356 unsigned long rules) in dp83td510_led_hw_is_supported() argument
360 ret = dp83td510_led_mode(index, rules); in dp83td510_led_hw_is_supported()
368 unsigned long rules) in dp83td510_led_hw_control_set() argument
372 mode = dp83td510_led_mode(index, rules); in dp83td510_led_hw_control_set()
387 u8 index, unsigned long *rules) in dp83td510_led_hw_control_get() argument
400 *rules = BIT(TRIGGER_NETDEV_LINK); in dp83td510_led_hw_control_get()
404 *rules = BIT(TRIGGER_NETDEV_LINK_10); in dp83td510_led_hw_control_get()
407 *rules = BIT(TRIGGER_NETDEV_FULL_DUPLEX); in dp83td510_led_hw_control_get()
410 *rules = BIT(TRIGGER_NETDEV_TX); in dp83td510_led_hw_control_get()
413 *rules = BIT(TRIGGER_NETDEV_RX); in dp83td510_led_hw_control_get()
416 *rules = BIT(TRIGGER_NETDEV_TX) | BIT(TRIGGER_NETDEV_RX); in dp83td510_led_hw_control_get()
419 *rules = BIT(TRIGGER_NETDEV_LINK) | in dp83td510_led_hw_control_get()
424 *rules = 0; in dp83td510_led_hw_control_get()