Lines Matching defs:pri
1656 bstp_set_priority(struct bstp_state *bs, int pri)
1658 if (pri < 0 || pri > BSTP_MAX_PRIORITY)
1662 pri -= pri % 4096;
1665 bs->bs_bridge_priority = pri;
1672 bstp_set_port_priority(struct bstp_port *bp, int pri)
1676 if (pri < 0 || pri > BSTP_MAX_PORT_PRIORITY)
1680 pri -= pri % 16;
1683 bp->bp_priority = pri;