Searched refs:posn (Results 1 – 1 of 1) sorted by relevance
5772 static inline int port_inactive_err(u64 posn) in port_inactive_err() argument5774 return (posn >= SEES(TX_LINKDOWN) && in port_inactive_err()5775 posn <= SEES(TX_INCORRECT_LINK_STATE)); in port_inactive_err()5782 static inline int disallowed_pkt_err(int posn) in disallowed_pkt_err() argument5784 return (posn >= SEES(TX_SDMA0_DISALLOWED_PACKET) && in disallowed_pkt_err()5785 posn <= SEES(TX_SDMA15_DISALLOWED_PACKET)); in disallowed_pkt_err()5793 static inline int disallowed_pkt_engine(int posn) in disallowed_pkt_engine() argument5795 return posn - SEES(TX_SDMA0_DISALLOWED_PACKET); in disallowed_pkt_engine()5861 int posn = fls64(reg_copy); in handle_egress_err() local5863 int shift = posn - 1; in handle_egress_err()