Searched refs:ringval (Results 1 – 1 of 1) sorted by relevance
323 static int admac_ring_noccupied_slots(int ringval) in admac_ring_noccupied_slots() argument325 int wrslot = FIELD_GET(RING_WRITE_SLOT, ringval); in admac_ring_noccupied_slots()326 int rdslot = FIELD_GET(RING_READ_SLOT, ringval); in admac_ring_noccupied_slots()331 WARN_ON((ringval & (RING_FULL | RING_EMPTY)) == 0); in admac_ring_noccupied_slots()333 if (ringval & RING_FULL) in admac_ring_noccupied_slots()