Searched refs:fill_wrap (Results 1 – 2 of 2) sorted by relevance
1303 sc->fill_wrap = 0; in sc_enable()1446 u32 fill_wrap; in sc_buffer_alloc() local1488 fill_wrap = sc->fill_wrap; in sc_buffer_alloc()1489 sc->fill_wrap += blocks; in sc_buffer_alloc()1490 if (sc->fill_wrap >= sc->credits) in sc_buffer_alloc()1491 sc->fill_wrap = sc->fill_wrap - sc->credits; in sc_buffer_alloc()1520 pbuf->start = sc->base_addr + fill_wrap * PIO_BLOCK_SIZE; in sc_buffer_alloc()
119 u32 fill_wrap; /* tracks fill within ring */ member