Home
last modified time | relevance | path

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

/linux-2.4.37.9/drivers/cdrom/
Dcm206.c270 volatile uch ur_w, ur_r; /* write/read buffer index */ member
338 if (cd->ur_r != cd->ur_w) { in clear_ur()
340 for (; cd->ur_r != cd->ur_w; in clear_ur()
341 cd->ur_r++, cd->ur_r %= UR_SIZE) in clear_ur()
342 debug((" 0x%x", cd->ur[cd->ur_r])); in clear_ur()
380 if (cd->ur_w == cd->ur_r) in cm206_interrupt()
494 ret = cd->ur[cd->ur_r]; in receive_byte()
495 if (cd->ur_r != cd->ur_w) { in receive_byte()
497 debug(("returning #%d: 0x%x\n", cd->ur_r, in receive_byte()
498 cd->ur[cd->ur_r])); in receive_byte()
[all …]