Home
last modified time | relevance | path

Searched refs:isar (Results 1 – 8 of 8) sorted by relevance

/drivers/isdn/hardware/mISDN/
DmISDNisar.c51 waitforHIA(struct isar_hw *isar, int timeout) in waitforHIA() argument
54 u8 val = isar->read_reg(isar->hw, ISAR_HIA); in waitforHIA()
59 val = isar->read_reg(isar->hw, ISAR_HIA); in waitforHIA()
61 pr_debug("%s: HIA after %dus\n", isar->name, timeout - t); in waitforHIA()
70 send_mbox(struct isar_hw *isar, u8 his, u8 creg, u8 len, u8 *msg) in send_mbox() argument
72 if (!waitforHIA(isar, 1000)) in send_mbox()
75 isar->write_reg(isar->hw, ISAR_CTRL_H, creg); in send_mbox()
76 isar->write_reg(isar->hw, ISAR_CTRL_L, len); in send_mbox()
77 isar->write_reg(isar->hw, ISAR_WADR, 0); in send_mbox()
79 msg = isar->buf; in send_mbox()
[all …]
Dspeedfax.c82 struct isar_hw isar; member
92 card->isar.ch[0].bch.debug = debug; in _set_debug()
93 card->isar.ch[1].bch.debug = debug; in _set_debug()
141 mISDNisar_irq(&sf->isar); in IOFUNC_IND()
264 err = sf->isar.open(&sf->isar, rq); in sfax_dctrl()
345 ASSIGN_FUNC(IND, ISAR, sf->isar); in setup_speedfax()
362 card->isar.release(&card->isar); in release_card()
388 card->isar.hwlock = &card->lock; in setup_instance()
389 card->isar.ctrl = (void *)&sfax_ctrl; in setup_instance()
391 card->isar.name = card->name; in setup_instance()
[all …]
/drivers/isdn/hisax/
Disar.c136 struct isar_reg *ir = cs->bcs[0].hw.isar.reg; in waitrecmsg()
177 if (cs->bcs[0].hw.isar.reg->iis == ISAR_IIS_VNR) { in ISARVersion()
198 struct isar_reg *ireg = cs->bcs[0].hw.isar.reg; in isar_load_firmware()
495 struct isar_reg *ireg = bcs->hw.isar.reg; in isar_rcv_frame()
522 if ((bcs->hw.isar.rcvidx + ireg->clsb) > HSCX_BUFMAX) { in isar_rcv_frame()
526 bcs->hw.isar.rcvidx = 0; in isar_rcv_frame()
537 bcs->hw.isar.rcvidx = 0; in isar_rcv_frame()
541 bcs->hw.isar.rcvidx = 0; in isar_rcv_frame()
542 ptr = bcs->hw.isar.rcvbuf + bcs->hw.isar.rcvidx; in isar_rcv_frame()
543 bcs->hw.isar.rcvidx += ireg->clsb; in isar_rcv_frame()
[all …]
Disurf.c74 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()
100 val = readb(cs->hw.isurf.isar + ISAR_IRQBIT); in isurf_interrupt()
115 writeb(0, cs->hw.isurf.isar + ISAR_IRQBIT); mb(); in isurf_interrupt()
118 writeb(ISAR_IRQMSK, cs->hw.isurf.isar + ISAR_IRQBIT); mb(); in isurf_interrupt()
127 iounmap(cs->hw.isurf.isar); in release_io_isurf()
160 writeb(0, cs->hw.isurf.isar + ISAR_IRQBIT); mb(); in ISurf_card_msg()
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()
[all …]
DMakefile43 isar.o
52 hisax-$(CONFIG_HISAX_ISURF) += isurf.o isac.o arcofi.o isar.o
Dsedlbauer.c822 cs->bcs[0].hw.isar.reg = &cs->hw.sedl.isar; in setup_sedlbauer()
823 cs->bcs[1].hw.isar.reg = &cs->hw.sedl.isar; in setup_sedlbauer()
Dhisax.h525 struct isar_hw isar; member
654 struct isar_reg isar; member
763 void __iomem *isar; member
/drivers/i2c/busses/
Di2c-pxa.c48 u32 isar; member
69 .isar = 0x20,
76 .isar = 0x10,
90 .isar = 0x20,
1238 i2c->reg_isar = i2c->reg_base + pxa_reg_layout[i2c_type].isar; in i2c_pxa_probe()