Searched refs:bchan (Results 1 – 11 of 11) sorted by relevance
/drivers/dma/ |
D | qcom_bam_dma.c | 313 static void bam_reset_channel(struct bam_chan *bchan) in bam_reset_channel() argument 315 struct bam_device *bdev = bchan->bdev; in bam_reset_channel() 317 lockdep_assert_held(&bchan->vc.lock); in bam_reset_channel() 320 writel_relaxed(1, bdev->regs + BAM_P_RST(bchan->id)); in bam_reset_channel() 321 writel_relaxed(0, bdev->regs + BAM_P_RST(bchan->id)); in bam_reset_channel() 327 bchan->initialized = 0; in bam_reset_channel() 336 static void bam_chan_init_hw(struct bam_chan *bchan, in bam_chan_init_hw() argument 339 struct bam_device *bdev = bchan->bdev; in bam_chan_init_hw() 343 bam_reset_channel(bchan); in bam_chan_init_hw() 349 writel_relaxed(ALIGN(bchan->fifo_phys, sizeof(struct bam_desc_hw)), in bam_chan_init_hw() [all …]
|
/drivers/isdn/capi/ |
D | capidrv.c | 1068 capidrv_bchan *bchan; in handle_incoming_call() local 1076 bchan = &card->bchans[chan]; in handle_incoming_call() 1081 bchan->incoming = 1; in handle_incoming_call() 1789 struct capidrv_bchan *bchan; in capidrv_command() local 1811 bchan = &card->bchans[c->arg % card->nbchan]; in capidrv_command() 1813 if (bchan->plcip) { in capidrv_command() 1821 bchan->plcip->plci); in capidrv_command() 1824 bchan->si1 = c->parm.setup.si1; in capidrv_command() 1825 bchan->si2 = c->parm.setup.si2; in capidrv_command() 1827 strncpy(bchan->num, c->parm.setup.phone, sizeof(bchan->num)); in capidrv_command() [all …]
|
/drivers/isdn/hisax/ |
D | w6692.c | 272 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 …]
|
D | w6692.h | 21 #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)
|
D | hfc4s8s_l1.c | 143 int bchan; member 421 ((bch->bchan == 1) ? 1 : 4); in bch_l2l1() 444 ((bch->bchan == in bch_l2l1() 448 ((bch->bchan == in bch_l2l1() 459 ((bch->bchan == in bch_l2l1() 470 (bch->bchan & 3); in bch_l2l1() 490 ((bch->bchan == in bch_l2l1() 495 ((bch->bchan == in bch_l2l1() 506 ((bch->bchan == in bch_l2l1() 517 (bch->bchan & 3); in bch_l2l1() [all …]
|
D | hisax.h | 374 int bchan; member
|
/drivers/isdn/sc/ |
D | card.h | 68 } bchan; typedef 78 bchan *channel; /* status of the B channels */
|
D | init.c | 323 sc_adapter[cinst]->channel = kzalloc(sizeof(bchan) * channels, GFP_KERNEL); in sc_init()
|
/drivers/isdn/mISDN/ |
D | socket.c | 294 struct mISDNchannel *bchan, *next; in data_sock_ioctl_bound() local 308 list_for_each_entry_safe(bchan, next, in data_sock_ioctl_bound() 310 if (bchan->nr == cq.channel) { in data_sock_ioctl_bound() 311 err = bchan->ctrl(bchan, in data_sock_ioctl_bound()
|
/drivers/isdn/act2000/ |
D | capi.h | 177 __u8 bchan; member
|
D | capi.c | 167 m->msg.connect_req.bchan = 0x83; in actcapi_connect_req()
|