• Home
  • Raw
  • Download

Lines Matching refs:isurf

39 	return (readb(cs->hw.isurf.isac + offset));  in ReadISAC()
45 writeb(value, cs->hw.isurf.isac + offset); mb(); in WriteISAC()
53 data[i] = readb(cs->hw.isurf.isac); in ReadISACfifo()
61 writeb(data[i], cs->hw.isurf.isac); mb(); in WriteISACfifo()
74 return (readb(cs->hw.isurf.isar + offset)); in ReadISAR()
80 writeb(value, cs->hw.isurf.isar + offset); mb(); in WriteISAR()
92 val = readb(cs->hw.isurf.isar + ISAR_IRQBIT); in isurf_interrupt()
96 val = readb(cs->hw.isurf.isac + ISAC_ISTA); in isurf_interrupt()
100 val = readb(cs->hw.isurf.isar + ISAR_IRQBIT); in isurf_interrupt()
106 val = readb(cs->hw.isurf.isac + ISAC_ISTA); in isurf_interrupt()
115 writeb(0, cs->hw.isurf.isar + ISAR_IRQBIT); mb(); in isurf_interrupt()
116 writeb(0xFF, cs->hw.isurf.isac + ISAC_MASK); mb(); in isurf_interrupt()
117 writeb(0, cs->hw.isurf.isac + ISAC_MASK); mb(); in isurf_interrupt()
118 writeb(ISAR_IRQMSK, cs->hw.isurf.isar + ISAR_IRQBIT); mb(); in isurf_interrupt()
126 release_region(cs->hw.isurf.reset, 1); in release_io_isurf()
127 iounmap(cs->hw.isurf.isar); in release_io_isurf()
128 release_mem_region(cs->hw.isurf.phymem, ISURF_IOMEM_SIZE); in release_io_isurf()
136 byteout(cs->hw.isurf.reset, chips); /* Reset On */ in reset_isurf()
138 byteout(cs->hw.isurf.reset, ISURF_ISAR_EA); /* Reset Off */ in reset_isurf()
160 writeb(0, cs->hw.isurf.isar + ISAR_IRQBIT); mb(); in ISurf_card_msg()
212 cs->hw.isurf.reset = card->para[1]; in setup_isurf()
213 cs->hw.isurf.phymem = card->para[2]; in setup_isurf()
238 cs->hw.isurf.reset = pnp_port_start(pnp_d, 0); in setup_isurf()
239 cs->hw.isurf.phymem = pnp_mem_start(pnp_d, 1); in setup_isurf()
241 if (!cs->irq || !cs->hw.isurf.reset || !cs->hw.isurf.phymem) { in setup_isurf()
243 cs->irq, cs->hw.isurf.reset, cs->hw.isurf.phymem); in setup_isurf()
260 if (!request_region(cs->hw.isurf.reset, 1, "isurf isdn")) { in setup_isurf()
263 cs->hw.isurf.reset); in setup_isurf()
266 if (!request_region(cs->hw.isurf.phymem, ISURF_IOMEM_SIZE, "isurf iomem")) { in setup_isurf()
269 cs->hw.isurf.phymem, in setup_isurf()
270 cs->hw.isurf.phymem + ISURF_IOMEM_SIZE); in setup_isurf()
271 release_region(cs->hw.isurf.reset, 1); in setup_isurf()
274 cs->hw.isurf.isar = ioremap(cs->hw.isurf.phymem, ISURF_IOMEM_SIZE); in setup_isurf()
275 cs->hw.isurf.isac = cs->hw.isurf.isar + ISURF_ISAC_OFFSET; in setup_isurf()
278 cs->hw.isurf.reset, in setup_isurf()
279 cs->hw.isurf.phymem, in setup_isurf()
290 cs->bcs[0].hw.isar.reg = &cs->hw.isurf.isar_r; in setup_isurf()
291 cs->bcs[1].hw.isar.reg = &cs->hw.isurf.isar_r; in setup_isurf()