Home
last modified time | relevance | path

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

/linux-3.4.99/drivers/usb/musb/
Dmusbhsdma.h49 #define musb_read_hsdma_addr(mbase, bchannel) \ argument
51 MUSB_HSDMA_CHANNEL_OFFSET(bchannel, MUSB_HSDMA_ADDRESS))
53 #define musb_write_hsdma_addr(mbase, bchannel, addr) \ argument
55 MUSB_HSDMA_CHANNEL_OFFSET(bchannel, MUSB_HSDMA_ADDRESS), \
58 #define musb_read_hsdma_count(mbase, bchannel) \ argument
60 MUSB_HSDMA_CHANNEL_OFFSET(bchannel, MUSB_HSDMA_COUNT))
62 #define musb_write_hsdma_count(mbase, bchannel, len) \ argument
64 MUSB_HSDMA_CHANNEL_OFFSET(bchannel, MUSB_HSDMA_COUNT), \
79 static inline u32 musb_read_hsdma_addr(void __iomem *mbase, u8 bchannel) in musb_read_hsdma_addr() argument
82 MUSB_HSDMA_CHANNEL_OFFSET(bchannel, MUSB_HSDMA_ADDR_HIGH)); in musb_read_hsdma_addr()
[all …]
Dmusbhsdma.c127 u8 bchannel = musb_channel->idx; in configure_channel() local
148 musb_write_hsdma_addr(mbase, bchannel, dma_addr); in configure_channel()
149 musb_write_hsdma_count(mbase, bchannel, len); in configure_channel()
153 MUSB_HSDMA_CHANNEL_OFFSET(bchannel, MUSB_HSDMA_CONTROL), in configure_channel()
209 u8 bchannel = musb_channel->idx; in dma_channel_abort() local
239 MUSB_HSDMA_CHANNEL_OFFSET(bchannel, MUSB_HSDMA_CONTROL), in dma_channel_abort()
241 musb_write_hsdma_addr(mbase, bchannel, 0); in dma_channel_abort()
242 musb_write_hsdma_count(mbase, bchannel, 0); in dma_channel_abort()
262 u8 bchannel; in dma_controller_irq() local
280 for (bchannel = 0; bchannel < MUSB_HSDMA_CHANNELS; bchannel++) { in dma_controller_irq()
[all …]
/linux-3.4.99/include/linux/
DmISDNhw.h143 struct bchannel { struct
169 extern int mISDN_initbchannel(struct bchannel *, int); argument
171 extern void mISDN_clear_bchannel(struct bchannel *);
172 extern int mISDN_freebchannel(struct bchannel *);
176 extern int bchannel_senddata(struct bchannel *, struct sk_buff *);
179 extern void recv_Bchannel(struct bchannel *, unsigned int id);
181 extern void recv_Bchannel_skb(struct bchannel *, struct sk_buff *);
182 extern void confirm_Bsend(struct bchannel *bch);
183 extern int get_next_bframe(struct bchannel *);
/linux-3.4.99/drivers/isdn/mISDN/
Dhwchannel.c48 struct bchannel *bch = container_of(ws, struct bchannel, workq); in bchannel_bh()
84 mISDN_initbchannel(struct bchannel *ch, int maxlen) in mISDN_initbchannel()
119 mISDN_clear_bchannel(struct bchannel *ch) in mISDN_clear_bchannel()
141 mISDN_freebchannel(struct bchannel *ch) in mISDN_freebchannel()
200 recv_Bchannel(struct bchannel *bch, unsigned int id) in recv_Bchannel()
230 recv_Bchannel_skb(struct bchannel *bch, struct sk_buff *skb) in recv_Bchannel_skb()
276 confirm_Bsend(struct bchannel *bch) in confirm_Bsend()
300 get_next_bframe(struct bchannel *bch) in get_next_bframe()
369 bchannel_senddata(struct bchannel *ch, struct sk_buff *skb) in bchannel_senddata()
Dl1oip_core.c371 struct bchannel *bch; in l1oip_socket_recv()
1030 struct bchannel *bch; in open_bchannel()
1111 struct bchannel *bch = container_of(ch, struct bchannel, ch); in handle_bmsg()
1192 channel_bctrl(struct bchannel *bch, struct mISDN_ctrl_req *cq) in channel_bctrl()
1222 struct bchannel *bch = container_of(ch, struct bchannel, ch); in l1oip_bctrl()
1310 struct bchannel *bch; in init_card()
1414 bch = kzalloc(sizeof(struct bchannel), GFP_KERNEL); in init_card()
Dl1oip.h33 struct bchannel *bch;
/linux-3.4.99/drivers/isdn/hardware/mISDN/
Davmfritz.c139 struct bchannel bch[2];
256 static struct bchannel *
284 write_ctrl(struct bchannel *bch, int which) { in write_ctrl()
345 modehdlc(struct bchannel *bch, int protocol) in modehdlc()
395 hdlc_empty_fifo(struct bchannel *bch, int count) in hdlc_empty_fifo()
440 hdlc_fill_fifo(struct bchannel *bch) in hdlc_fill_fifo()
489 HDLC_irq_xpr(struct bchannel *bch) in HDLC_irq_xpr()
506 HDLC_irq(struct bchannel *bch, u32 stat) in HDLC_irq()
575 struct bchannel *bch; in HDLC_irq_main()
658 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()
610 main_rec_hfcpci(struct bchannel *bch) in main_rec_hfcpci()
751 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()
487 struct bchannel *bch; in open_bchannel()
707 hfcsusb_setup_bch(struct bchannel *bch, int protocol) in hfcsusb_setup_bch()
820 channel_bctrl(struct bchannel *bch, struct mISDN_ctrl_req *cq) in channel_bctrl()
1802 deactivate_bchannel(struct bchannel *bch) in deactivate_bchannel()
1824 struct bchannel *bch = container_of(ch, struct bchannel, ch); in hfc_bctrl()
Dw6692.c61 struct bchannel bch;
942 struct bchannel *bch = container_of(ch, struct bchannel, ch); in w6692_l2l1B()
995 channel_bctrl(struct bchannel *bch, struct mISDN_ctrl_req *cq) in channel_bctrl()
1016 struct bchannel *bch; in open_bchannel()
1051 struct bchannel *bch = container_of(ch, struct bchannel, ch); in w6692_bctrl()
Disar.h29 struct bchannel bch;
Dnetjet.c55 struct bchannel bch;
731 struct bchannel *bch = container_of(ch, struct bchannel, ch); in nj_l2l1B()
801 struct bchannel *bch = container_of(ch, struct bchannel, ch); in nj_bctrl()
861 struct bchannel *bch; in open_bchannel()
Dhfcmulti.c843 struct bchannel *bch = hc->chan[ch].bch; in vpm_echocan_on()
875 struct bchannel *bch = hc->chan[ch].bch; in vpm_echocan_off()
1808 struct bchannel *bch = NULL; in hfcmulti_dtmf()
1917 struct bchannel *bch; in hfcmulti_tx()
2165 struct bchannel *bch; in hfcmulti_rx()
2620 struct bchannel *bch; in fifo_irq()
3415 deactivate_bchannel(struct bchannel *bch) in deactivate_bchannel()
3432 struct bchannel *bch = container_of(ch, struct bchannel, ch); in handle_bmsg()
3534 channel_bctrl(struct bchannel *bch, struct mISDN_ctrl_req *cq) in channel_bctrl()
3668 struct bchannel *bch = container_of(ch, struct bchannel, ch); in hfcm_bctrl()
[all …]
Dipac.h60 struct bchannel bch;
DmISDNisar.c1478 struct bchannel *bch = container_of(ch, struct bchannel, ch); in isar_l2l1()
1576 channel_bctrl(struct bchannel *bch, struct mISDN_ctrl_req *cq) in channel_bctrl()
1597 struct bchannel *bch = container_of(ch, struct bchannel, ch); in isar_bctrl()
1671 struct bchannel *bch; in isar_open()
DmISDNipac.c1337 struct bchannel *bch = container_of(ch, struct bchannel, ch); in hscx_l2l1()
1389 channel_bctrl(struct bchannel *bch, struct mISDN_ctrl_req *cq) in channel_bctrl()
1410 struct bchannel *bch = container_of(ch, struct bchannel, ch); in hscx_bctrl()
1507 struct bchannel *bch; in open_bchannel()
Dhfc_multi.h41 struct bchannel *bch; /* link if channel is a B-channel */
/linux-3.4.99/drivers/isdn/hisax/
Dl3_1tr6.c178 if ((pc->para.bchannel = p[2] & 0x3)) in l3_1tr6_setup()
246 pc->para.bchannel = p[2] & 0x3; in l3_1tr6_setup_ack()
273 if ((pc->state == 2) && (pc->para.bchannel != (p[2] & 0x3))) { in l3_1tr6_call_sent()
277 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()
2482 pc->para.bchannel = id; in l3ni1_resume_ack()
2563 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()