Lines Matching refs:spt

58 	return (bytein(calc_off(cs->hw.spt.isac, offset)));  in ReadISAC()
64 byteout(calc_off(cs->hw.spt.isac, offset), value); in WriteISAC()
70 read_fifo(cs->hw.spt.isac, data, size); in ReadISACfifo()
76 write_fifo(cs->hw.spt.isac, data, size); in WriteISACfifo()
82 return (bytein(calc_off(cs->hw.spt.hscx[hscx], offset))); in ReadHSCX()
88 byteout(calc_off(cs->hw.spt.hscx[hscx], offset), value); in WriteHSCX()
95 #define READHSCX(cs, nr, reg) bytein(calc_off(cs->hw.spt.hscx[nr], reg))
96 #define WRITEHSCX(cs, nr, reg, data) byteout(calc_off(cs->hw.spt.hscx[nr], reg), data)
97 #define READHSCXFIFO(cs, nr, ptr, cnt) read_fifo(cs->hw.spt.hscx[nr], ptr, cnt)
98 #define WRITEHSCXFIFO(cs, nr, ptr, cnt) write_fifo(cs->hw.spt.hscx[nr], ptr, cnt)
133 bytein(cs->hw.spt.cfg_reg + SPORTSTER_RES_IRQ +1); in sportster_interrupt()
141 byteout(cs->hw.spt.cfg_reg + SPORTSTER_RES_IRQ, 0); in release_io_sportster()
143 adr = cs->hw.spt.cfg_reg + i *1024; in release_io_sportster()
153 cs->hw.spt.res_irq |= SPORTSTER_RESET; /* Reset On */ in reset_sportster()
154 byteout(cs->hw.spt.cfg_reg + SPORTSTER_RES_IRQ, cs->hw.spt.res_irq); in reset_sportster()
159 cs->hw.spt.res_irq &= ~SPORTSTER_RESET; /* Reset Off */ in reset_sportster()
160 byteout(cs->hw.spt.cfg_reg + SPORTSTER_RES_IRQ, cs->hw.spt.res_irq); in reset_sportster()
178 cs->hw.spt.res_irq |= SPORTSTER_INTE; /* IRQ On */ in Sportster_card_msg()
179 byteout(cs->hw.spt.cfg_reg + SPORTSTER_RES_IRQ, cs->hw.spt.res_irq); in Sportster_card_msg()
194 adr = cs->hw.spt.cfg_reg + i *1024; in get_io_range()
207 adr = cs->hw.spt.cfg_reg + j *1024; in get_io_range()
225 cs->hw.spt.cfg_reg = card->para[1]; in setup_sportster()
229 cs->hw.spt.isac = cs->hw.spt.cfg_reg + SPORTSTER_ISAC; in setup_sportster()
230 cs->hw.spt.hscx[0] = cs->hw.spt.cfg_reg + SPORTSTER_HSCXA; in setup_sportster()
231 cs->hw.spt.hscx[1] = cs->hw.spt.cfg_reg + SPORTSTER_HSCXB; in setup_sportster()
234 case 5: cs->hw.spt.res_irq = 1; in setup_sportster()
236 case 7: cs->hw.spt.res_irq = 2; in setup_sportster()
238 case 10:cs->hw.spt.res_irq = 3; in setup_sportster()
240 case 11:cs->hw.spt.res_irq = 4; in setup_sportster()
242 case 12:cs->hw.spt.res_irq = 5; in setup_sportster()
244 case 14:cs->hw.spt.res_irq = 6; in setup_sportster()
246 case 15:cs->hw.spt.res_irq = 7; in setup_sportster()
256 cs->hw.spt.cfg_reg); in setup_sportster()