Lines Matching refs:hw
61 if (bcs->hw.hscx.rcvidx + count > HSCX_BUFMAX) {
64 WriteHSCXCMDR(cs, bcs->hw.hscx.hscx, 0x80);
65 bcs->hw.hscx.rcvidx = 0;
68 ptr = bcs->hw.hscx.rcvbuf + bcs->hw.hscx.rcvidx;
69 bcs->hw.hscx.rcvidx += count;
70 READHSCXFIFO(cs, bcs->hw.hscx.hscx, ptr, count);
71 WriteHSCXCMDR(cs, bcs->hw.hscx.hscx, 0x80);
76 bcs->hw.hscx.hscx ? 'B' : 'A', count);
105 waitforXFW(cs, bcs->hw.hscx.hscx);
109 bcs->hw.hscx.count += count;
110 WRITEHSCXFIFO(cs, bcs->hw.hscx.hscx, ptr, count);
111 WriteHSCXCMDR(cs, bcs->hw.hscx.hscx, more ? 0x8 : 0xa);
116 bcs->hw.hscx.hscx ? 'B' : 'A', count);
166 if ((count = bcs->hw.hscx.rcvidx - 1) > 0) {
172 memcpy(skb_put(skb, count), bcs->hw.hscx.rcvbuf, count);
177 bcs->hw.hscx.rcvidx = 0;
187 memcpy(skb_put(skb, fifo_size), bcs->hw.hscx.rcvbuf, fifo_size);
190 bcs->hw.hscx.rcvidx = 0;
204 bcs->ackcnt += bcs->hw.hscx.count;
209 bcs->hw.hscx.count = 0;
214 bcs->hw.hscx.count = 0;
245 skb_push(bcs->tx_skb, bcs->hw.hscx.count);
246 bcs->tx_cnt += bcs->hw.hscx.count;
247 bcs->hw.hscx.count = 0;
249 WriteHSCXCMDR(cs, bcs->hw.hscx.hscx, 0x01);
275 skb_push(bcs->tx_skb, bcs->hw.hscx.count);
276 bcs->tx_cnt += bcs->hw.hscx.count;
277 bcs->hw.hscx.count = 0;
279 WriteHSCXCMDR(cs, bcs->hw.hscx.hscx, 0x01);