Searched defs:DP_HW2SW_MACID (Results 1 – 2 of 2) sorted by relevance
236 #define DP_HW2SW_MACID(mac_id) ((mac_id) ? ((mac_id) - 1) : 0) macro
194 #define DP_HW2SW_MACID(mac_id) ({ typeof(mac_id) x = (mac_id); x ? x - 1 : 0; }) macro