• Home
  • Raw
  • Download

Lines Matching refs:count

53 hscx_empty_fifo(struct BCState *bcs, int count)  in hscx_empty_fifo()  argument
61 if (bcs->hw.hscx.rcvidx + count > HSCX_BUFMAX) { in hscx_empty_fifo()
69 bcs->hw.hscx.rcvidx += count; in hscx_empty_fifo()
70 READHSCXFIFO(cs, bcs->hw.hscx.hscx, ptr, count); in hscx_empty_fifo()
76 bcs->hw.hscx.hscx ? 'B' : 'A', count); in hscx_empty_fifo()
77 QuickHex(t, ptr, count); in hscx_empty_fifo()
86 int more, count; in hscx_fill_fifo() local
101 count = fifo_size; in hscx_fill_fifo()
103 count = bcs->tx_skb->len; in hscx_fill_fifo()
107 skb_pull(bcs->tx_skb, count); in hscx_fill_fifo()
108 bcs->tx_cnt -= count; in hscx_fill_fifo()
109 bcs->hw.hscx.count += count; in hscx_fill_fifo()
110 WRITEHSCXFIFO(cs, bcs->hw.hscx.hscx, ptr, count); in hscx_fill_fifo()
116 bcs->hw.hscx.hscx ? 'B' : 'A', count); in hscx_fill_fifo()
117 QuickHex(t, ptr, count); in hscx_fill_fifo()
129 int count; in hscx_interrupt() local
161 count = READHSCX(cs, hscx, HSCX_RBCL) & ( in hscx_interrupt()
163 if (count == 0) in hscx_interrupt()
164 count = fifo_size; in hscx_interrupt()
165 hscx_empty_fifo(bcs, count); in hscx_interrupt()
166 if ((count = bcs->hw.hscx.rcvidx - 1) > 0) { in hscx_interrupt()
168 debugl1(cs, "HX Frame %d", count); in hscx_interrupt()
169 if (!(skb = dev_alloc_skb(count))) in hscx_interrupt()
173 count); in hscx_interrupt()
206 bcs->ackcnt += bcs->hw.hscx.count; in hscx_interrupt()
211 bcs->hw.hscx.count = 0; in hscx_interrupt()
216 bcs->hw.hscx.count = 0; in hscx_interrupt()
247 skb_push(bcs->tx_skb, bcs->hw.hscx.count); in hscx_int_main()
248 bcs->tx_cnt += bcs->hw.hscx.count; in hscx_int_main()
249 bcs->hw.hscx.count = 0; in hscx_int_main()
277 skb_push(bcs->tx_skb, bcs->hw.hscx.count); in hscx_int_main()
278 bcs->tx_cnt += bcs->hw.hscx.count; in hscx_int_main()
279 bcs->hw.hscx.count = 0; in hscx_int_main()