bchannel
struct bchannel bch[2];
static struct bchannel *
write_ctrl(struct bchannel *bch, int which) {
modehdlc(struct bchannel *bch, int protocol)
hdlc_empty_fifo(struct bchannel *bch, int count)
hdlc_fill_fifo(struct bchannel *bch)
HDLC_irq_xpr(struct bchannel *bch)
HDLC_irq(struct bchannel *bch, u32 stat)
struct bchannel *bch;
struct bchannel *bch = container_of(ch, struct bchannel, ch);
channel_bctrl(struct bchannel *bch, struct mISDN_ctrl_req *cq)
struct bchannel *bch = container_of(ch, struct bchannel, ch);
struct bchannel *bch;
struct bchannel *bch; /* link if channel is a B-channel */
struct bchannel *bch = NULL;
struct bchannel *bch;
struct bchannel *bch;
struct bchannel *bch;
deactivate_bchannel(struct bchannel *bch)
struct bchannel *bch = container_of(ch, struct bchannel, ch);
channel_bctrl(struct bchannel *bch, struct mISDN_ctrl_req *cq)
struct bchannel *bch = container_of(ch, struct bchannel, ch);
struct bchannel *bch;
struct bchannel *pb;
struct bchannel *bch;
bch = kzalloc_obj(struct bchannel);
struct bchannel *bch;
bch = kzalloc_obj(struct bchannel);
struct bchannel *bch = hc->chan[ch].bch;
struct bchannel *bch = hc->chan[ch].bch;
tx_birq(struct bchannel *bch)
struct bchannel *bch;
mode_hfcpci(struct bchannel *bch, int bc, int protocol)
struct bchannel bch[2];
set_hfcpci_rxtest(struct bchannel *bch, int protocol, int chan)
deactivate_bchannel(struct bchannel *bch)
channel_bctrl(struct bchannel *bch, struct mISDN_ctrl_req *cq)
struct bchannel *bch = container_of(ch, struct bchannel, ch);
struct bchannel *bch = container_of(ch, struct bchannel, ch);
struct bchannel *bch;
struct bchannel *bch;
static struct bchannel *
hfcpci_empty_bfifo(struct bchannel *bch, struct bzfifo *bz,
hfcpci_empty_fifo_trans(struct bchannel *bch, struct bzfifo *rxbz,
main_rec_hfcpci(struct bchannel *bch)
hfcpci_fill_fifo(struct bchannel *bch)
deactivate_bchannel(struct bchannel *bch)
struct bchannel *bch = container_of(ch, struct bchannel, ch);
struct bchannel *bch = container_of(ch, struct bchannel, ch);
struct bchannel *bch;
static int hfcsusb_setup_bch(struct bchannel *bch, int protocol);
static void deactivate_bchannel(struct bchannel *bch);
hfcsusb_setup_bch(struct bchannel *bch, int protocol)
channel_bctrl(struct bchannel *bch, struct mISDN_ctrl_req *cq)
struct bchannel *bch; /* link to hfcsusb_t->bch */
struct bchannel bch[2];
struct bchannel bch;
struct bchannel bch;
struct bchannel *bch = container_of(ch, struct bchannel, ch);
channel_bctrl(struct bchannel *bch, struct mISDN_ctrl_req *cq)
struct bchannel *bch = container_of(ch, struct bchannel, ch);
struct bchannel *bch;
struct bchannel *bch = container_of(ch, struct bchannel, ch);
channel_bctrl(struct bchannel *bch, struct mISDN_ctrl_req *cq)
struct bchannel *bch = container_of(ch, struct bchannel, ch);
struct bchannel *bch;
struct bchannel bch;
struct bchannel *bch = container_of(ch, struct bchannel, ch);
struct bchannel *bch = container_of(ch, struct bchannel, ch);
struct bchannel *bch;
struct bchannel *bch = container_of(ch, struct bchannel, ch);
struct bchannel bch;
struct bchannel *bch = container_of(ch, struct bchannel, ch);
channel_bctrl(struct bchannel *bch, struct mISDN_ctrl_req *cq)
struct bchannel *bch;
mISDN_clear_bchannel(struct bchannel *ch)
mISDN_freebchannel(struct bchannel *ch)
mISDN_ctrl_bchannel(struct bchannel *bch, struct mISDN_ctrl_req *cq)
recv_Bchannel(struct bchannel *bch, unsigned int id, bool force)
recv_Bchannel_skb(struct bchannel *bch, struct sk_buff *skb)
confirm_Bsend(struct bchannel *bch)
get_next_bframe(struct bchannel *bch)
struct bchannel *bch = container_of(ws, struct bchannel, workq);
bchannel_senddata(struct bchannel *ch, struct sk_buff *skb)
bchannel_get_rxbuf(struct bchannel *bch, int reqlen)
mISDN_initbchannel(struct bchannel *ch, unsigned short maxlen,
struct bchannel *bch;
struct bchannel *bch;
struct bchannel *bch = container_of(ch, struct bchannel, ch);
channel_bctrl(struct bchannel *bch, struct mISDN_ctrl_req *cq)
struct bchannel *bch = container_of(ch, struct bchannel, ch);
struct bchannel *bch;
bch = kzalloc_obj(struct bchannel);
struct bchannel *bch;
u8 bchannel = musb_channel->idx;
musb_write_hsdma_addr(mbase, bchannel, dma_addr);
musb_write_hsdma_count(mbase, bchannel, len);
MUSB_HSDMA_CHANNEL_OFFSET(bchannel, MUSB_HSDMA_CONTROL),
#define musb_read_hsdma_addr(mbase, bchannel) \
MUSB_HSDMA_CHANNEL_OFFSET(bchannel, MUSB_HSDMA_ADDRESS))
#define musb_write_hsdma_addr(mbase, bchannel, addr) \
u8 bchannel = musb_channel->idx;
MUSB_HSDMA_CHANNEL_OFFSET(bchannel, MUSB_HSDMA_ADDRESS), \
MUSB_HSDMA_CHANNEL_OFFSET(bchannel, MUSB_HSDMA_CONTROL),
musb_write_hsdma_addr(mbase, bchannel, 0);
musb_write_hsdma_count(mbase, bchannel, 0);
#define musb_read_hsdma_count(mbase, bchannel) \
u8 bchannel;
MUSB_HSDMA_CHANNEL_OFFSET(bchannel, MUSB_HSDMA_COUNT))
for (bchannel = 0; bchannel < MUSB_HSDMA_CHANNELS; bchannel++) {
&(controller->channel[bchannel]);
count = musb_read_hsdma_count(mbase, bchannel);
int_hsdma |= (1 << bchannel);
#define musb_write_hsdma_count(mbase, bchannel, len) \
for (bchannel = 0; bchannel < MUSB_HSDMA_CHANNELS; bchannel++) {
if (int_hsdma & (1 << bchannel)) {
&(controller->channel[bchannel]);
MUSB_HSDMA_CHANNEL_OFFSET(bchannel,
bchannel);
MUSB_HSDMA_CHANNEL_OFFSET(bchannel, MUSB_HSDMA_COUNT), \
extern int mISDN_initbchannel(struct bchannel *, unsigned short,
extern void mISDN_clear_bchannel(struct bchannel *);
extern void mISDN_freebchannel(struct bchannel *);
extern int mISDN_ctrl_bchannel(struct bchannel *, struct mISDN_ctrl_req *);
extern int bchannel_senddata(struct bchannel *, struct sk_buff *);
extern int bchannel_get_rxbuf(struct bchannel *, int);
extern void recv_Bchannel(struct bchannel *, unsigned int, bool);
extern void recv_Bchannel_skb(struct bchannel *, struct sk_buff *);
extern int get_next_bframe(struct bchannel *);