Home
last modified time | relevance | path

Searched refs:bchannel (Results 1 – 22 of 22) sorted by relevance

/drivers/usb/musb/
Dmusbhsdma.h45 #define musb_read_hsdma_addr(mbase, bchannel) \ argument
47 MUSB_HSDMA_CHANNEL_OFFSET(bchannel, MUSB_HSDMA_ADDRESS))
49 #define musb_write_hsdma_addr(mbase, bchannel, addr) \ argument
51 MUSB_HSDMA_CHANNEL_OFFSET(bchannel, MUSB_HSDMA_ADDRESS), \
54 #define musb_read_hsdma_count(mbase, bchannel) \ argument
56 MUSB_HSDMA_CHANNEL_OFFSET(bchannel, MUSB_HSDMA_COUNT))
58 #define musb_write_hsdma_count(mbase, bchannel, len) \ argument
60 MUSB_HSDMA_CHANNEL_OFFSET(bchannel, MUSB_HSDMA_COUNT), \
75 static inline u32 musb_read_hsdma_addr(void __iomem *mbase, u8 bchannel) in musb_read_hsdma_addr() argument
78 MUSB_HSDMA_CHANNEL_OFFSET(bchannel, MUSB_HSDMA_ADDR_HIGH)); in musb_read_hsdma_addr()
[all …]
Dmusbhsdma.c117 u8 bchannel = musb_channel->idx; in configure_channel() local
138 musb_write_hsdma_addr(mbase, bchannel, dma_addr); in configure_channel()
139 musb_write_hsdma_count(mbase, bchannel, len); in configure_channel()
143 MUSB_HSDMA_CHANNEL_OFFSET(bchannel, MUSB_HSDMA_CONTROL), in configure_channel()
200 u8 bchannel = musb_channel->idx; in dma_channel_abort() local
230 MUSB_HSDMA_CHANNEL_OFFSET(bchannel, MUSB_HSDMA_CONTROL), in dma_channel_abort()
232 musb_write_hsdma_addr(mbase, bchannel, 0); in dma_channel_abort()
233 musb_write_hsdma_count(mbase, bchannel, 0); in dma_channel_abort()
253 u8 bchannel; in dma_controller_irq() local
271 for (bchannel = 0; bchannel < MUSB_HSDMA_CHANNELS; bchannel++) { in dma_controller_irq()
[all …]
/drivers/isdn/mISDN/
Dhwchannel.c48 struct bchannel *bch = container_of(ws, struct bchannel, workq); in bchannel_bh()
84 mISDN_initbchannel(struct bchannel *ch, unsigned short maxlen, in mISDN_initbchannel()
125 mISDN_clear_bchannel(struct bchannel *ch) in mISDN_clear_bchannel()
157 mISDN_freebchannel(struct bchannel *ch) in mISDN_freebchannel()
165 mISDN_ctrl_bchannel(struct bchannel *bch, struct mISDN_ctrl_req *cq) in mISDN_ctrl_bchannel()
258 recv_Bchannel(struct bchannel *bch, unsigned int id, bool force) in recv_Bchannel()
301 recv_Bchannel_skb(struct bchannel *bch, struct sk_buff *skb) in recv_Bchannel_skb()
347 confirm_Bsend(struct bchannel *bch) in confirm_Bsend()
370 get_next_bframe(struct bchannel *bch) in get_next_bframe()
439 bchannel_senddata(struct bchannel *ch, struct sk_buff *skb) in bchannel_senddata()
[all …]
Dl1oip_core.c366 struct bchannel *bch; in l1oip_socket_recv()
1023 struct bchannel *bch; in open_bchannel()
1104 struct bchannel *bch = container_of(ch, struct bchannel, ch); in handle_bmsg()
1185 channel_bctrl(struct bchannel *bch, struct mISDN_ctrl_req *cq) in channel_bctrl()
1215 struct bchannel *bch = container_of(ch, struct bchannel, ch); in l1oip_bctrl()
1303 struct bchannel *bch; in init_card()
1407 bch = kzalloc(sizeof(struct bchannel), GFP_KERNEL); in init_card()
Dl1oip.h33 struct bchannel *bch;
/drivers/isdn/hardware/mISDN/
Davmfritz.c143 struct bchannel bch[2];
260 static struct bchannel *
288 write_ctrl(struct bchannel *bch, int which) { in write_ctrl()
349 modehdlc(struct bchannel *bch, int protocol) in modehdlc()
402 hdlc_empty_fifo(struct bchannel *bch, int count) in hdlc_empty_fifo()
448 hdlc_fill_fifo(struct bchannel *bch) in hdlc_fill_fifo()
519 HDLC_irq_xpr(struct bchannel *bch) in HDLC_irq_xpr()
536 HDLC_irq(struct bchannel *bch, u32 stat) in HDLC_irq()
612 struct bchannel *bch; in HDLC_irq_main()
695 struct bchannel *bch = container_of(ch, struct bchannel, ch); in avm_l2l1B()
[all …]
Dhfcpci.c148 struct bchannel bch[2];
318 static struct bchannel *
405 hfcpci_empty_bfifo(struct bchannel *bch, struct bzfifo *bz, in hfcpci_empty_bfifo()
546 hfcpci_empty_fifo_trans(struct bchannel *bch, struct bzfifo *rxbz, in hfcpci_empty_fifo_trans()
611 main_rec_hfcpci(struct bchannel *bch) in main_rec_hfcpci()
752 hfcpci_fill_fifo(struct bchannel *bch) in hfcpci_fill_fifo()
1130 tx_birq(struct bchannel *bch) in tx_birq()
1160 struct bchannel *bch; in hfcpci_int()
1252 mode_hfcpci(struct bchannel *bch, int bc, int protocol) in mode_hfcpci()
1444 set_hfcpci_rxtest(struct bchannel *bch, int protocol, int chan) in set_hfcpci_rxtest()
[all …]
Dhfcsusb.h264 struct bchannel *bch; /* link to hfcsusb_t->bch */
273 struct bchannel bch[2];
Dhfcsusb.c61 static int hfcsusb_setup_bch(struct bchannel *bch, int protocol);
62 static void deactivate_bchannel(struct bchannel *bch);
212 struct bchannel *bch = container_of(ch, struct bchannel, ch); in hfcusb_l2l1B()
480 struct bchannel *bch; in open_bchannel()
693 hfcsusb_setup_bch(struct bchannel *bch, int protocol) in hfcsusb_setup_bch()
806 channel_bctrl(struct bchannel *bch, struct mISDN_ctrl_req *cq) in channel_bctrl()
1789 deactivate_bchannel(struct bchannel *bch) in deactivate_bchannel()
1811 struct bchannel *bch = container_of(ch, struct bchannel, ch); in hfc_bctrl()
Dw6692.c61 struct bchannel bch;
954 struct bchannel *bch = container_of(ch, struct bchannel, ch); in w6692_l2l1B()
1002 channel_bctrl(struct bchannel *bch, struct mISDN_ctrl_req *cq) in channel_bctrl()
1010 struct bchannel *bch; in open_bchannel()
1047 struct bchannel *bch = container_of(ch, struct bchannel, ch); in w6692_bctrl()
Dnetjet.c55 struct bchannel bch;
754 struct bchannel *bch = container_of(ch, struct bchannel, ch); in nj_l2l1B()
805 struct bchannel *bch = container_of(ch, struct bchannel, ch); in nj_bctrl()
865 struct bchannel *bch; in open_bchannel()
Dhfcmulti.c858 struct bchannel *bch = hc->chan[ch].bch; in vpm_echocan_on()
890 struct bchannel *bch = hc->chan[ch].bch; in vpm_echocan_off()
1844 struct bchannel *bch = NULL; in hfcmulti_dtmf()
1953 struct bchannel *bch; in hfcmulti_tx()
2198 struct bchannel *bch; in hfcmulti_rx()
2648 struct bchannel *bch; in fifo_irq()
3454 deactivate_bchannel(struct bchannel *bch) in deactivate_bchannel()
3471 struct bchannel *bch = container_of(ch, struct bchannel, ch); in handle_bmsg()
3566 channel_bctrl(struct bchannel *bch, struct mISDN_ctrl_req *cq) in channel_bctrl()
3698 struct bchannel *bch = container_of(ch, struct bchannel, ch); in hfcm_bctrl()
[all …]
Disar.h29 struct bchannel bch;
Dipac.h60 struct bchannel bch;
DmISDNipac.c1350 struct bchannel *bch = container_of(ch, struct bchannel, ch); in hscx_l2l1()
1397 channel_bctrl(struct bchannel *bch, struct mISDN_ctrl_req *cq) in channel_bctrl()
1405 struct bchannel *bch = container_of(ch, struct bchannel, ch); in hscx_bctrl()
1498 struct bchannel *bch; in open_bchannel()
DmISDNisar.c1480 struct bchannel *bch = container_of(ch, struct bchannel, ch); in isar_l2l1()
1574 channel_bctrl(struct bchannel *bch, struct mISDN_ctrl_req *cq) in channel_bctrl()
1582 struct bchannel *bch = container_of(ch, struct bchannel, ch); in isar_bctrl()
1652 struct bchannel *bch; in isar_open()
Dhfc_multi.h41 struct bchannel *bch; /* link if channel is a B-channel */
/drivers/isdn/hisax/
Dl3_1tr6.c177 if ((pc->para.bchannel = p[2] & 0x3)) in l3_1tr6_setup()
244 pc->para.bchannel = p[2] & 0x3; in l3_1tr6_setup_ack()
271 if ((pc->state == 2) && (pc->para.bchannel != (p[2] & 0x3))) { in l3_1tr6_call_sent()
275 pc->para.bchannel = p[2] & 0x3; in l3_1tr6_call_sent()
Dl3ni1.c449 chid = (u_char)(pc->para.bchannel & 0x03) | 0x88; in l3ni1_message_plus_chid()
1298 pc->para.bchannel = id; in l3ni1_call_proc()
1337 pc->para.bchannel = id; in l3ni1_setup_ack()
1525 if ((pc->para.bchannel = id)) { in l3ni1_setup()
1653 if (!pc->para.bchannel) in l3ni1_setup_rsp()
2486 pc->para.bchannel = id; in l3ni1_resume_ack()
2567 else if (up->para.bchannel == chan) in l3ni1_global_restart()
Dl3dss1.c1444 pc->para.bchannel = id; in l3dss1_call_proc()
1483 pc->para.bchannel = id; in l3dss1_setup_ack()
1671 if ((pc->para.bchannel = id)) { in l3dss1_setup()
1799 if (!pc->para.bchannel) in l3dss1_setup_rsp()
2626 pc->para.bchannel = id; in l3dss1_resume_ack()
2707 else if (up->para.bchannel == chan) in l3dss1_global_restart()
Dhisax.h311 int bchannel; member
Dcallc.c934 if (!(chanp = selectfreechannel(pc->st, pc->para.bchannel))) { in dchan_l3l4()
1273 st->l1.bc = chanp->proc->para.bchannel - 1; in init_b_st()