• Home
  • Raw
  • Download

Lines Matching refs:count

43 jade_empty_fifo(struct BCState *bcs, int count)  in jade_empty_fifo()  argument
51 if (bcs->hw.hscx.rcvidx + count > HSCX_BUFMAX) { in jade_empty_fifo()
59 bcs->hw.hscx.rcvidx += count; in jade_empty_fifo()
60 READJADEFIFO(cs, bcs->hw.hscx.hscx, ptr, count); in jade_empty_fifo()
66 bcs->hw.hscx.hscx ? 'B' : 'A', count); in jade_empty_fifo()
67 QuickHex(t, ptr, count); in jade_empty_fifo()
76 int more, count; in jade_fill_fifo() local
91 count = fifo_size; in jade_fill_fifo()
93 count = bcs->tx_skb->len; in jade_fill_fifo()
97 skb_pull(bcs->tx_skb, count); in jade_fill_fifo()
98 bcs->tx_cnt -= count; in jade_fill_fifo()
99 bcs->hw.hscx.count += count; in jade_fill_fifo()
100 WRITEJADEFIFO(cs, bcs->hw.hscx.hscx, ptr, count); in jade_fill_fifo()
106 bcs->hw.hscx.hscx ? 'B' : 'A', count); in jade_fill_fifo()
107 QuickHex(t, ptr, count); in jade_fill_fifo()
120 int count; in jade_interrupt() local
140 count = READJADE(cs, i_jade, jade_HDLC_RBCL) & 0x1F; in jade_interrupt()
141 if (count == 0) in jade_interrupt()
142 count = fifo_size; in jade_interrupt()
143 jade_empty_fifo(bcs, count); in jade_interrupt()
144 if ((count = bcs->hw.hscx.rcvidx - 1) > 0) { in jade_interrupt()
146 debugl1(cs, "HX Frame %d", count); in jade_interrupt()
147 if (!(skb = dev_alloc_skb(count))) in jade_interrupt()
151 count); in jade_interrupt()
184 bcs->ackcnt += bcs->hw.hscx.count; in jade_interrupt()
189 bcs->hw.hscx.count = 0; in jade_interrupt()
194 bcs->hw.hscx.count = 0; in jade_interrupt()
224 skb_push(bcs->tx_skb, bcs->hw.hscx.count); in jade_int_main()
225 bcs->tx_cnt += bcs->hw.hscx.count; in jade_int_main()
226 bcs->hw.hscx.count = 0; in jade_int_main()