Lines Matching refs:ffL
171 if (dev->host_tcq_wr > dev->ffL.tcq_ed) in ia_hack_tcq()
172 dev->host_tcq_wr = dev->ffL.tcq_st; in ia_hack_tcq()
185 if((time_after(jiffies,timer+50)) || ((dev->ffL.tcq_rd==dev->host_tcq_wr))) { in get_desc()
197 if (dev->ffL.tcq_rd == dev->ffL.tcq_st) in get_desc()
198 dev->ffL.tcq_rd = dev->ffL.tcq_ed; in get_desc()
200 dev->ffL.tcq_rd -= 2; in get_desc()
201 *(u_short *)(dev->seg_ram + dev->ffL.tcq_rd) = i+1; in get_desc()
214 if (dev->ffL.tcq_rd == dev->host_tcq_wr) in get_desc()
218 desc_num = *(u_short *)(dev->seg_ram + dev->ffL.tcq_rd); in get_desc()
221 dev->ffL.tcq_rd += 2; in get_desc()
222 if (dev->ffL.tcq_rd > dev->ffL.tcq_ed) in get_desc()
223 dev->ffL.tcq_rd = dev->ffL.tcq_st; in get_desc()
224 if (dev->ffL.tcq_rd == dev->host_tcq_wr) in get_desc()
226 desc_num = *(u_short *)(dev->seg_ram + dev->ffL.tcq_rd); in get_desc()
602 if (iadev->host_tcq_wr >= iadev->ffL.tcq_rd) in ia_avail_descs()
603 tmp = (iadev->host_tcq_wr - iadev->ffL.tcq_rd) / 2; in ia_avail_descs()
605 tmp = (iadev->ffL.tcq_ed - iadev->ffL.tcq_rd + 2 + iadev->host_tcq_wr - in ia_avail_descs()
606 iadev->ffL.tcq_st) / 2; in ia_avail_descs()
1013 iadev->ffL.tcq_rd);
2010 iadev->ffL.prq_st = readw(iadev->seg_reg+PRQ_ST_ADR) & 0xffff;
2011 iadev->ffL.prq_ed = readw(iadev->seg_reg+PRQ_ED_ADR) & 0xffff;
2012 iadev->ffL.prq_wr = readw(iadev->seg_reg+PRQ_WR_PTR) & 0xffff;
2014 iadev->ffL.tcq_st = readw(iadev->seg_reg+TCQ_ST_ADR) & 0xffff;
2015 iadev->ffL.tcq_ed = readw(iadev->seg_reg+TCQ_ED_ADR) & 0xffff;
2016 iadev->ffL.tcq_rd = readw(iadev->seg_reg+TCQ_RD_PTR) & 0xffff;
2768 ffredn_t *ffL; local
2774 ffL = ®s_local->ffredn;
2781 ((u_int *)ffL)[i] = readl(iadev->seg_reg + i) & 0xffff;
2943 iadev->ffL.tcq_rd += 2;
2944 if (iadev->ffL.tcq_rd > iadev->ffL.tcq_ed)
2945 iadev->ffL.tcq_rd = iadev->ffL.tcq_st;
2946 writew(iadev->ffL.tcq_rd, iadev->seg_reg+TCQ_RD_PTR);
2951 *(u16*)(iadev->seg_ram+iadev->ffL.prq_wr) = desc;
2953 iadev->ffL.prq_wr += 2;
2954 if (iadev->ffL.prq_wr > iadev->ffL.prq_ed)
2955 iadev->ffL.prq_wr = iadev->ffL.prq_st;
3018 wr_ptr->prq_wr_ptr_data = iadev->ffL.prq_wr;