Lines Matching refs:w6692

71 	switch (cs->dc.w6692.ph_state) {  in W6692_new_ph()
212 if (bcs->hw.w6692.rcvidx + count > HSCX_BUFMAX) { in W6692B_empty_fifo()
216 bcs->hw.w6692.rcvidx = 0; in W6692B_empty_fifo()
219 ptr = bcs->hw.w6692.rcvbuf + bcs->hw.w6692.rcvidx; in W6692B_empty_fifo()
220 bcs->hw.w6692.rcvidx += count; in W6692B_empty_fifo()
258 bcs->hw.w6692.count += count; in W6692B_fill_fifo()
306 if ((count = bcs->hw.w6692.rcvidx) > 0) { in W6692B_interrupt()
312 memcpy(skb_put(skb, count), bcs->hw.w6692.rcvbuf, count); in W6692B_interrupt()
317 bcs->hw.w6692.rcvidx = 0; in W6692B_interrupt()
328 bcs->hw.w6692.rcvidx = 0; in W6692B_interrupt()
335 memcpy(skb_put(skb, W_B_FIFO_THRESH), bcs->hw.w6692.rcvbuf, W_B_FIFO_THRESH); in W6692B_interrupt()
338 bcs->hw.w6692.rcvidx = 0; in W6692B_interrupt()
353 skb_push(bcs->tx_skb, bcs->hw.w6692.count); in W6692B_interrupt()
354 bcs->tx_cnt += bcs->hw.w6692.count; in W6692B_interrupt()
355 bcs->hw.w6692.count = 0; in W6692B_interrupt()
367 skb_push(bcs->tx_skb, bcs->hw.w6692.count); in W6692B_interrupt()
368 bcs->tx_cnt += bcs->hw.w6692.count; in W6692B_interrupt()
369 bcs->hw.w6692.count = 0; in W6692B_interrupt()
381 bcs->ackcnt += bcs->hw.w6692.count; in W6692B_interrupt()
386 bcs->hw.w6692.count = 0; in W6692B_interrupt()
391 bcs->hw.w6692.count = 0; in W6692B_interrupt()
520 cs->dc.w6692.ph_state = v1 & W_CIR_COD_MASK; in W6692_interrupt()
522 debugl1(cs, "ph_state_change %x", cs->dc.w6692.ph_state); in W6692_interrupt()
625 if ((cs->dc.w6692.ph_state == W_L1IND_DRD)) { in W6692_l1hw()
630 cs->dc.w6692.ph_state = W_L1CMD_RST; in W6692_l1hw()
734 bcs->hw.w6692.bchan = bchan; in W6692Bmode()
770 bcs->hw.w6692.count = 0; in W6692_l2l1()
783 bcs->hw.w6692.count = 0; in W6692_l2l1()
820 kfree(bcs->hw.w6692.rcvbuf); in close_w6692state()
821 bcs->hw.w6692.rcvbuf = NULL; in close_w6692state()
838 if (!(bcs->hw.w6692.rcvbuf = kmalloc(HSCX_BUFMAX, GFP_ATOMIC))) { in open_w6692state()
848 kfree(bcs->hw.w6692.rcvbuf); in open_w6692state()
849 bcs->hw.w6692.rcvbuf = NULL; in open_w6692state()
858 bcs->hw.w6692.rcvidx = 0; in open_w6692state()
909 cs->dc.w6692.ph_state = W_L1CMD_RST; in initW6692()
936 return (inb(cs->hw.w6692.iobase + offset)); in ReadW6692()
942 outb(value, cs->hw.w6692.iobase + offset); in WriteW6692()
948 insb(cs->hw.w6692.iobase + W_D_RFIFO, data, size); in ReadISACfifo()
954 outsb(cs->hw.w6692.iobase + W_D_XFIFO, data, size); in WriteISACfifo()
960 return (inb(cs->hw.w6692.iobase + (bchan ? 0x40 : 0) + offset)); in ReadW6692B()
966 outb(value, cs->hw.w6692.iobase + (bchan ? 0x40 : 0) + offset); in WriteW6692B()
978 release_region(cs->hw.w6692.iobase, 256); in w6692_card_msg()
1049 cs->hw.w6692.iobase = pci_ioaddr; in setup_w6692()
1053 if (!request_region(cs->hw.w6692.iobase, 256, id_list[cs->subtyp].card_name)) { in setup_w6692()
1057 cs->hw.w6692.iobase, in setup_w6692()
1058 cs->hw.w6692.iobase + 255); in setup_w6692()
1065 cs->hw.w6692.iobase); in setup_w6692()