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