Home
last modified time | relevance | path

Searched refs:bchan (Results 1 – 10 of 10) sorted by relevance

/linux-2.6.39/drivers/isdn/capi/
Dcapidrv.c871 capidrv_bchan *bchan; in handle_incoming_call() local
879 bchan = &card->bchans[chan]; in handle_incoming_call()
884 bchan->incoming = 1; in handle_incoming_call()
1587 struct capidrv_bchan *bchan; in capidrv_command() local
1609 bchan = &card->bchans[c->arg % card->nbchan]; in capidrv_command()
1611 if (bchan->plcip) { in capidrv_command()
1619 bchan->plcip->plci); in capidrv_command()
1622 bchan->si1 = c->parm.setup.si1; in capidrv_command()
1623 bchan->si2 = c->parm.setup.si2; in capidrv_command()
1625 strncpy(bchan->num, c->parm.setup.phone, sizeof(bchan->num)); in capidrv_command()
[all …]
/linux-2.6.39/drivers/isdn/hisax/
Dw6692.c272 W6692B_interrupt(struct IsdnCardState *cs, u_char bchan) in W6692B_interrupt() argument
280 bcs = (cs->bcs->channel == bchan) ? cs->bcs : (cs->bcs+1); in W6692B_interrupt()
281 val = cs->BC_Read_Reg(cs, bchan, W_B_EXIR); in W6692B_interrupt()
282 debugl1(cs, "W6692B chan %d B_EXIR 0x%02X", bchan, val); in W6692B_interrupt()
289 r = cs->BC_Read_Reg(cs, bchan, W_B_STAR); in W6692B_interrupt()
300 cs->BC_Write_Reg(cs, bchan, W_B_CMDR, W_B_CMDR_RACK | W_B_CMDR_RRST | W_B_CMDR_RACT); in W6692B_interrupt()
302 count = cs->BC_Read_Reg(cs, bchan, W_B_RBCL) & (W_B_FIFO_THRESH - 1); in W6692B_interrupt()
322 r = cs->BC_Read_Reg(cs, bchan, W_B_STAR); in W6692B_interrupt()
326 cs->BC_Write_Reg(cs, bchan, W_B_CMDR, W_B_CMDR_RACK | W_B_CMDR_RRST | W_B_CMDR_RACT); in W6692B_interrupt()
343 cs->BC_Write_Reg(cs, bchan, W_B_CMDR, W_B_CMDR_XRST | W_B_CMDR_RACT); in W6692B_interrupt()
[all …]
Dw6692.h21 #define READW6692BFIFO(cs,bchan,ptr,count) \ argument
22 insb(cs->hw.w6692.iobase+W_B_RFIFO+(bchan?0x40:0),ptr,count)
24 #define WRITEW6692BFIFO(cs,bchan,ptr,count) \ argument
25 outsb(cs->hw.w6692.iobase+W_B_XFIFO+(bchan?0x40:0),ptr,count)
Dhfc4s8s_l1.c143 int bchan; member
442 ((bch->bchan == 1) ? 1 : 4); in bch_l2l1()
465 ((bch->bchan == in bch_l2l1()
469 ((bch->bchan == in bch_l2l1()
480 ((bch->bchan == in bch_l2l1()
491 (bch->bchan & 3); in bch_l2l1()
511 ((bch->bchan == in bch_l2l1()
516 ((bch->bchan == in bch_l2l1()
527 ((bch->bchan == in bch_l2l1()
538 (bch->bchan & 3); in bch_l2l1()
[all …]
Dhisax.h373 int bchan; member
/linux-2.6.39/drivers/isdn/sc/
Dcard.h68 } bchan; typedef
78 bchan *channel; /* status of the B channels */
Dinit.c323 sc_adapter[cinst]->channel = kzalloc(sizeof(bchan) * channels, GFP_KERNEL); in sc_init()
/linux-2.6.39/drivers/isdn/mISDN/
Dsocket.c299 struct mISDNchannel *bchan, *next; in data_sock_ioctl_bound() local
313 list_for_each_entry_safe(bchan, next, in data_sock_ioctl_bound()
315 if (bchan->nr == cq.channel) { in data_sock_ioctl_bound()
316 err = bchan->ctrl(bchan, in data_sock_ioctl_bound()
/linux-2.6.39/drivers/isdn/act2000/
Dcapi.h177 __u8 bchan; member
Dcapi.c167 m->msg.connect_req.bchan = 0x83; in actcapi_connect_req()