Lines Matching refs:offload_trigger
65 qca8k_parse_netdev(unsigned long rules, u32 *offload_trigger) in qca8k_parse_netdev() argument
69 *offload_trigger |= QCA8K_LED_TX_BLINK_MASK; in qca8k_parse_netdev()
71 *offload_trigger |= QCA8K_LED_RX_BLINK_MASK; in qca8k_parse_netdev()
73 *offload_trigger |= QCA8K_LED_LINK_10M_EN_MASK; in qca8k_parse_netdev()
75 *offload_trigger |= QCA8K_LED_LINK_100M_EN_MASK; in qca8k_parse_netdev()
77 *offload_trigger |= QCA8K_LED_LINK_1000M_EN_MASK; in qca8k_parse_netdev()
79 *offload_trigger |= QCA8K_LED_HALF_DUPLEX_MASK; in qca8k_parse_netdev()
81 *offload_trigger |= QCA8K_LED_FULL_DUPLEX_MASK; in qca8k_parse_netdev()
83 if (rules && !*offload_trigger) in qca8k_parse_netdev()
89 *offload_trigger |= QCA8K_LED_BLINK_4HZ; in qca8k_parse_netdev()
280 u32 offload_trigger = 0; in qca8k_cled_hw_control_is_supported() local
282 return qca8k_parse_netdev(rules, &offload_trigger); in qca8k_cled_hw_control_is_supported()
291 u32 offload_trigger = 0; in qca8k_cled_hw_control_set() local
294 ret = qca8k_parse_netdev(rules, &offload_trigger); in qca8k_cled_hw_control_set()
306 offload_trigger << reg_info.shift); in qca8k_cled_hw_control_set()