Searched refs:curr_srp (Results 1 – 1 of 1) sorted by relevance
138 u32 bytes_to_write, free_write_space, timeout, curr_srp, curr_swp; in saa7164_bus_set() local169 curr_srp = saa7164_readl(bus->m_dwSetReadPos); in saa7164_bus_set()173 if (curr_srp > curr_swp) in saa7164_bus_set()175 free_write_space = curr_srp - curr_swp; in saa7164_bus_set()178 free_write_space = (curr_srp + bus->m_dwSizeSetRing) - curr_swp; in saa7164_bus_set()186 dprintk(DBGLVL_BUS, "%s() curr_srp = %x\n", __func__, curr_srp); in saa7164_bus_set()203 curr_srp = saa7164_readl(bus->m_dwSetReadPos); in saa7164_bus_set()206 if (curr_srp > curr_swp) in saa7164_bus_set()208 free_write_space = curr_srp - curr_swp; in saa7164_bus_set()211 free_write_space = (curr_srp + bus->m_dwSizeSetRing) - in saa7164_bus_set()