Home
last modified time | relevance | path

Searched refs:ringval (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/dma/
H A Dapple-admac.c323 static int admac_ring_noccupied_slots(int ringval) in admac_ring_noccupied_slots() argument
325 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()