Searched refs:BR_PORT_BITS (Results 1 – 3 of 3) sorted by relevance
30 return ((u16)priority << BR_PORT_BITS) in br_make_port_id()31 | (port_no & ((1<<BR_PORT_BITS)-1)); in br_make_port_id()34 #define BR_MAX_PORT_PRIORITY ((u16)~0 >> BR_PORT_BITS)
30 #define BR_PORT_BITS 10 macro31 #define BR_MAX_PORTS (1<<BR_PORT_BITS)
335 p->priority = 0x8000 >> BR_PORT_BITS; in new_nbp()