Searched refs:read_ptr (Results 1 – 1 of 1) sorted by relevance
150 char read_ptr, write_ptr; in _host_get_filled_slots() local152 read_ptr = (char)((dev->host_hw_state & H_CBRP) >> 8); in _host_get_filled_slots()155 return ((unsigned char)(write_ptr - read_ptr)); in _host_get_filled_slots()272 char read_ptr, write_ptr; in count_full_read_slots() local277 read_ptr = (char)((dev->me_hw_state & ME_CBRP_HRA) >> 8); in count_full_read_slots()279 filled_slots = (unsigned char)(write_ptr - read_ptr); in count_full_read_slots()