Lines Matching refs:rules
344 unsigned long rules) in mxl86110_led_hw_is_supported() argument
350 if (rules & ~supported_trgs) in mxl86110_led_hw_is_supported()
357 unsigned long *rules) in mxl86110_led_hw_control_get() argument
370 *rules |= BIT(TRIGGER_NETDEV_TX); in mxl86110_led_hw_control_get()
373 *rules |= BIT(TRIGGER_NETDEV_RX); in mxl86110_led_hw_control_get()
376 *rules |= BIT(TRIGGER_NETDEV_HALF_DUPLEX); in mxl86110_led_hw_control_get()
379 *rules |= BIT(TRIGGER_NETDEV_FULL_DUPLEX); in mxl86110_led_hw_control_get()
382 *rules |= BIT(TRIGGER_NETDEV_LINK_10); in mxl86110_led_hw_control_get()
385 *rules |= BIT(TRIGGER_NETDEV_LINK_100); in mxl86110_led_hw_control_get()
388 *rules |= BIT(TRIGGER_NETDEV_LINK_1000); in mxl86110_led_hw_control_get()
394 unsigned long rules) in mxl86110_led_hw_control_set() argument
401 if (rules & BIT(TRIGGER_NETDEV_LINK_10)) in mxl86110_led_hw_control_set()
404 if (rules & BIT(TRIGGER_NETDEV_LINK_100)) in mxl86110_led_hw_control_set()
407 if (rules & BIT(TRIGGER_NETDEV_LINK_1000)) in mxl86110_led_hw_control_set()
410 if (rules & BIT(TRIGGER_NETDEV_TX)) in mxl86110_led_hw_control_set()
413 if (rules & BIT(TRIGGER_NETDEV_RX)) in mxl86110_led_hw_control_set()
416 if (rules & BIT(TRIGGER_NETDEV_HALF_DUPLEX)) in mxl86110_led_hw_control_set()
419 if (rules & BIT(TRIGGER_NETDEV_FULL_DUPLEX)) in mxl86110_led_hw_control_set()
422 if (rules & BIT(TRIGGER_NETDEV_TX) || in mxl86110_led_hw_control_set()
423 rules & BIT(TRIGGER_NETDEV_RX)) in mxl86110_led_hw_control_set()