Lines Matching refs:tcq_rd
188 if((time_after(jiffies,timer+50)) || ((dev->ffL.tcq_rd==dev->host_tcq_wr))) { in get_desc()
200 if (dev->ffL.tcq_rd == dev->ffL.tcq_st) in get_desc()
201 dev->ffL.tcq_rd = dev->ffL.tcq_ed; in get_desc()
203 dev->ffL.tcq_rd -= 2; in get_desc()
204 *(u_short *)(dev->seg_ram + dev->ffL.tcq_rd) = i+1; in get_desc()
216 if (dev->ffL.tcq_rd == dev->host_tcq_wr) in get_desc()
220 desc_num = *(u_short *)(dev->seg_ram + dev->ffL.tcq_rd); in get_desc()
223 dev->ffL.tcq_rd += 2; in get_desc()
224 if (dev->ffL.tcq_rd > dev->ffL.tcq_ed) in get_desc()
225 dev->ffL.tcq_rd = dev->ffL.tcq_st; in get_desc()
226 if (dev->ffL.tcq_rd == dev->host_tcq_wr) in get_desc()
228 desc_num = *(u_short *)(dev->seg_ram + dev->ffL.tcq_rd); in get_desc()
604 if (iadev->host_tcq_wr >= iadev->ffL.tcq_rd) in ia_avail_descs()
605 tmp = (iadev->host_tcq_wr - iadev->ffL.tcq_rd) / 2; in ia_avail_descs()
607 tmp = (iadev->ffL.tcq_ed - iadev->ffL.tcq_rd + 2 + iadev->host_tcq_wr - in ia_avail_descs()
1038 iadev->ffL.tcq_rd);
2046 iadev->ffL.tcq_rd = readw(iadev->seg_reg+TCQ_RD_PTR) & 0xffff;
2958 iadev->ffL.tcq_rd += 2;
2959 if (iadev->ffL.tcq_rd > iadev->ffL.tcq_ed)
2960 iadev->ffL.tcq_rd = iadev->ffL.tcq_st;
2961 writew(iadev->ffL.tcq_rd, iadev->seg_reg+TCQ_RD_PTR);