Lines Matching refs:rules
439 unsigned long rules) in mxl86110_led_hw_is_supported() argument
445 if (rules & ~supported_trgs) in mxl86110_led_hw_is_supported()
452 unsigned long *rules) in mxl86110_led_hw_control_get() argument
465 *rules |= BIT(TRIGGER_NETDEV_TX); in mxl86110_led_hw_control_get()
468 *rules |= BIT(TRIGGER_NETDEV_RX); in mxl86110_led_hw_control_get()
471 *rules |= BIT(TRIGGER_NETDEV_HALF_DUPLEX); in mxl86110_led_hw_control_get()
474 *rules |= BIT(TRIGGER_NETDEV_FULL_DUPLEX); in mxl86110_led_hw_control_get()
477 *rules |= BIT(TRIGGER_NETDEV_LINK_10); in mxl86110_led_hw_control_get()
480 *rules |= BIT(TRIGGER_NETDEV_LINK_100); in mxl86110_led_hw_control_get()
483 *rules |= BIT(TRIGGER_NETDEV_LINK_1000); in mxl86110_led_hw_control_get()
489 unsigned long rules) in mxl86110_led_hw_control_set() argument
497 if (rules & BIT(TRIGGER_NETDEV_LINK_10)) in mxl86110_led_hw_control_set()
500 if (rules & BIT(TRIGGER_NETDEV_LINK_100)) in mxl86110_led_hw_control_set()
503 if (rules & BIT(TRIGGER_NETDEV_LINK_1000)) in mxl86110_led_hw_control_set()
506 if (rules & BIT(TRIGGER_NETDEV_TX)) in mxl86110_led_hw_control_set()
509 if (rules & BIT(TRIGGER_NETDEV_RX)) in mxl86110_led_hw_control_set()
512 if (rules & BIT(TRIGGER_NETDEV_HALF_DUPLEX)) in mxl86110_led_hw_control_set()
515 if (rules & BIT(TRIGGER_NETDEV_FULL_DUPLEX)) in mxl86110_led_hw_control_set()
518 if (rules & BIT(TRIGGER_NETDEV_TX) || in mxl86110_led_hw_control_set()
519 rules & BIT(TRIGGER_NETDEV_RX)) in mxl86110_led_hw_control_set()