/drivers/isdn/hisax/ |
H A D | hscx_irq.c | 53 hscx_empty_fifo(struct BCState *bcs, int count) argument 56 struct IsdnCardState *cs = bcs->cs; 61 if (bcs->hw.hscx.rcvidx + count > HSCX_BUFMAX) { 64 WriteHSCXCMDR(cs, bcs->hw.hscx.hscx, 0x80); 65 bcs->hw.hscx.rcvidx = 0; 68 ptr = bcs->hw.hscx.rcvbuf + bcs->hw.hscx.rcvidx; 69 bcs->hw.hscx.rcvidx += count; 70 READHSCXFIFO(cs, bcs->hw.hscx.hscx, ptr, count); 71 WriteHSCXCMDR(cs, bcs 83 hscx_fill_fifo(struct BCState *bcs) argument 126 struct BCState *bcs = cs->bcs + hscx; local 229 struct BCState *bcs; local [all...] |
H A D | netjet.c | 67 static void fill_mem(struct BCState *bcs, u_int *pos, u_int cnt, int chan, u_char fill) argument 81 if (p > bcs->hw.tiger.s_end) 82 p = bcs->hw.tiger.send; 87 mode_tiger(struct BCState *bcs, int mode, int bc) argument 89 struct IsdnCardState *cs = bcs->cs; 94 mode, bc, bcs->channel); 95 bcs->mode = mode; 96 bcs->channel = bc; 99 fill_mem(bcs, bcs 216 make_raw_data(struct BCState *bcs) argument 306 make_raw_data_56k(struct BCState *bcs) argument 380 got_frame(struct BCState *bcs, int count) argument 398 read_raw(struct BCState *bcs, u_int *buf, int cnt) argument 607 netjet_fill_dma(struct BCState *bcs) argument 674 write_raw(struct BCState *bcs, u_int *buf, int cnt) argument 795 struct BCState *bcs = st->l1.bcs; local 854 close_tigerstate(struct BCState *bcs) argument 873 open_tigerstate(struct IsdnCardState *cs, struct BCState *bcs) argument 898 setstack_tiger(struct PStack *st, struct BCState *bcs) argument [all...] |
H A D | jade_irq.c | 43 jade_empty_fifo(struct BCState *bcs, int count) argument 46 struct IsdnCardState *cs = bcs->cs; 51 if (bcs->hw.hscx.rcvidx + count > HSCX_BUFMAX) { 54 WriteJADECMDR(cs, bcs->hw.hscx.hscx, jade_HDLC_RCMD, jadeRCMD_RMC); 55 bcs->hw.hscx.rcvidx = 0; 58 ptr = bcs->hw.hscx.rcvbuf + bcs->hw.hscx.rcvidx; 59 bcs->hw.hscx.rcvidx += count; 60 READJADEFIFO(cs, bcs->hw.hscx.hscx, ptr, count); 61 WriteJADECMDR(cs, bcs 73 jade_fill_fifo(struct BCState *bcs) argument 117 struct BCState *bcs = cs->bcs + jade; local 205 struct BCState *bcs; local [all...] |
H A D | avm_pci.c | 166 if (cs->bcs[0].mode && (cs->bcs[0].channel == channel)) 167 return(&cs->bcs[0]); 168 else if (cs->bcs[1].mode && (cs->bcs[1].channel == channel)) 169 return(&cs->bcs[1]); 175 write_ctrl(struct BCState *bcs, int which) { argument 177 if (bcs->cs->debug & L1_DEB_HSCX) 178 debugl1(bcs->cs, "hdlc %c wr%x ctrl %x", 179 'A' + bcs 196 modehdlc(struct BCState *bcs, int mode, int bc) argument 245 hdlc_empty_fifo(struct BCState *bcs, int count) argument 293 hdlc_fill_fifo(struct BCState *bcs) argument 353 HDLC_irq(struct BCState *bcs, u_int stat) argument 449 struct BCState *bcs; local 484 struct BCState *bcs = st->l1.bcs; local 542 close_hdlcstate(struct BCState *bcs) argument 561 open_hdlcstate(struct IsdnCardState *cs, struct BCState *bcs) argument 589 setstack_hdlc(struct PStack *st, struct BCState *bcs) argument [all...] |
H A D | st5481_b.c | 20 static inline void B_L1L2(struct st5481_bcs *bcs, int pr, void *arg) argument 22 struct hisax_if *ifc = (struct hisax_if *) &bcs->b_if; 30 static void usb_b_out(struct st5481_bcs *bcs,int buf_nr) argument 32 struct st5481_b_out *b_out = &bcs->b_out; 33 struct st5481_adapter *adapter = bcs->adapter; 41 DBG(4,"ep %d urb %d busy",(bcs->channel+1)*2,buf_nr); 50 DBG(4,"B%d,adjust flow,add %d bytes",bcs->channel+1,B_FLOW_ADJUST); 54 DBG(4,"B%d,adjust flow,remove %d bytes",bcs->channel+1,B_FLOW_ADJUST); 65 DBG(4,"B%d,len=%d",bcs->channel+1,skb->len); 67 if (bcs 132 struct st5481_bcs *bcs = context; local 167 struct st5481_bcs *bcs = urb->context; local 200 st5481B_mode(struct st5481_bcs *bcs, int mode) argument 265 st5481_setup_b_out(struct st5481_bcs *bcs) argument 295 st5481_release_b_out(struct st5481_bcs *bcs) argument 304 st5481_setup_b(struct st5481_bcs *bcs) argument 336 st5481_release_b(struct st5481_bcs *bcs) argument 355 struct st5481_bcs *bcs = ifc->priv; local [all...] |
H A D | hfc_2bs0.c | 57 GetFreeFifoBytes(struct BCState *bcs) argument 61 if (bcs->hw.hfc.f1 == bcs->hw.hfc.f2) 62 return (bcs->cs->hw.hfc.fifosize); 63 s = bcs->hw.hfc.send[bcs->hw.hfc.f1] - bcs->hw.hfc.send[bcs->hw.hfc.f2]; 65 s += bcs->cs->hw.hfc.fifosize; 66 s = bcs 71 ReadZReg(struct BCState *bcs, u_char reg) argument 83 hfc_clear_fifo(struct BCState *bcs) argument 144 hfc_empty_fifo(struct BCState *bcs, int count) argument 237 hfc_fill_fifo(struct BCState *bcs) argument 326 main_irq_hfc(struct BCState *bcs) argument 399 mode_hfc(struct BCState *bcs, int mode, int bc) argument 455 struct BCState *bcs = st->l1.bcs; local 512 close_hfcstate(struct BCState *bcs) argument 528 open_hfcstate(struct IsdnCardState *cs, struct BCState *bcs) argument 542 setstack_hfc(struct PStack *st, struct BCState *bcs) argument 556 init_send(struct BCState *bcs) argument [all...] |
H A D | hscx.c | 41 modehscx(struct BCState *bcs, int mode, int bc) argument 43 struct IsdnCardState *cs = bcs->cs; 44 int hscx = bcs->hw.hscx.hscx; 49 bcs->mode = mode; 50 bcs->channel = bc; 68 test_bit(HW_IOM1, &cs->HW_Flags) ? 0x7 : bcs->hw.hscx.tsaxr0); 70 test_bit(HW_IOM1, &cs->HW_Flags) ? 0x7 : bcs->hw.hscx.tsaxr0); 72 cs->BC_Write_Reg(cs, hscx, HSCX_TSAX, bcs->hw.hscx.tsaxr1); 73 cs->BC_Write_Reg(cs, hscx, HSCX_TSAR, bcs->hw.hscx.tsaxr1); 98 struct BCState *bcs local 156 close_hscxstate(struct BCState *bcs) argument 175 open_hscxstate(struct IsdnCardState *cs, struct BCState *bcs) argument 204 setstack_hscx(struct PStack *st, struct BCState *bcs) argument [all...] |
H A D | isar.c | 32 static void isar_pump_cmd(struct BCState *bcs, u_char cmd, u_char para); 33 static void ll_deliver_faxstat(struct BCState *bcs, u_char status); 136 struct isar_reg *ir = cs->bcs[0].hw.isar.reg; 177 if (cs->bcs[0].hw.isar.reg->iis == ISAR_IIS_VNR) { 198 struct isar_reg *ireg = cs->bcs[0].hw.isar.reg; 443 struct BCState *bcs = container_of(work, struct BCState, tqueue); local 446 if (test_and_clear_bit(B_LL_NOCARRIER, &bcs->event)) 447 ll_deliver_faxstat(bcs, ISDN_FAX_CLASS1_NOCARR); 448 if (test_and_clear_bit(B_LL_CONNECT, &bcs->event)) 449 ll_deliver_faxstat(bcs, ISDN_FAX_CLASS1_CONNEC 455 send_DLE_ETX(struct BCState *bcs) argument 491 isar_rcv_frame(struct IsdnCardState *cs, struct BCState *bcs) argument 670 isar_fill_fifo(struct BCState *bcs) argument 758 send_frames(struct BCState *bcs) argument 815 struct BCState *bcs; local 843 isar_pump_status_rsp(struct BCState *bcs, struct isar_reg *ireg) argument 897 isar_pump_statev_modem(struct BCState *bcs, u_char devt) argument 967 ll_deliver_faxstat(struct BCState *bcs, u_char status) argument 982 isar_pump_statev_fax(struct BCState *bcs, u_char devt) argument 1177 struct BCState *bcs; local 1270 ftimer_handler(struct BCState *bcs) argument 1284 setup_pump(struct BCState *bcs) argument 1333 setup_sart(struct BCState *bcs) argument 1369 setup_iom2(struct BCState *bcs) argument 1397 modeisar(struct BCState *bcs, int mode, int bc) argument 1457 isar_pump_cmd(struct BCState *bcs, u_char cmd, u_char para) argument 1593 struct BCState *bcs = st->l1.bcs; local 1690 close_isarstate(struct BCState *bcs) argument 1710 open_isarstate(struct IsdnCardState *cs, struct BCState *bcs) argument 1732 setstack_isar(struct PStack *st, struct BCState *bcs) argument 1749 struct BCState *bcs; local [all...] |
H A D | jade.c | 78 modejade(struct BCState *bcs, int mode, int bc) argument 80 struct IsdnCardState *cs = bcs->cs; 81 int jade = bcs->hw.hscx.hscx; 89 bcs->mode = mode; 90 bcs->channel = bc; 136 struct BCState *bcs = st->l1.bcs; local 142 spin_lock_irqsave(&bcs->cs->lock, flags); 143 if (bcs->tx_skb) { 144 skb_queue_tail(&bcs 194 close_jadestate(struct BCState *bcs) argument 213 open_jadestate(struct IsdnCardState *cs, struct BCState *bcs) argument 243 setstack_jade(struct PStack *st, struct BCState *bcs) argument [all...] |
H A D | ipacx.c | 45 static void bch_empty_fifo(struct BCState *bcs, int count); 46 static void bch_fill_fifo(struct BCState *bcs); 48 static void bch_mode(struct BCState *bcs, int mode, int bc); 49 static void bch_close_state(struct BCState *bcs); 50 static int bch_open_state(struct IsdnCardState *cs, struct BCState *bcs); 51 static int bch_setstack(struct PStack *st, struct BCState *bcs); 448 struct BCState *bcs = st->l1.bcs; local 454 spin_lock_irqsave(&bcs->cs->lock, flags); 455 if (bcs 509 bch_empty_fifo(struct BCState *bcs, int count) argument 550 bch_fill_fifo(struct BCState *bcs) argument 596 struct BCState *bcs; local 713 bch_mode(struct BCState *bcs, int mode, int bc) argument 761 bch_close_state(struct BCState *bcs) argument 782 bch_open_state(struct IsdnCardState *cs, struct BCState *bcs) argument 813 bch_setstack(struct PStack *st, struct BCState *bcs) argument [all...] |
H A D | hisax_fcpcipnp.c | 223 static void __fcpci_write_ctrl(struct fritz_bcs *bcs, int which) argument 225 struct fritz_adapter *adapter = bcs->adapter; 226 int idx = bcs->channel ? AVM_IDX_HDLC_2 : AVM_IDX_HDLC_1; 229 'A' + bcs->channel, which, bcs->ctrl.ctrl); 232 outl(bcs->ctrl.ctrl, adapter->io + AVM_DATA + HDLC_CTRL); 235 static void fcpci_write_ctrl(struct fritz_bcs *bcs, int which) argument 237 struct fritz_adapter *adapter = bcs->adapter; 241 __fcpci_write_ctrl(bcs, which); 313 static void fcpci2_write_ctrl(struct fritz_bcs *bcs, in argument 342 __fcpnp_write_ctrl(struct fritz_bcs *bcs, int which) argument 362 fcpnp_write_ctrl(struct fritz_bcs *bcs, int which) argument 374 B_L1L2(struct fritz_bcs *bcs, int pr, void *arg) argument 382 hdlc_fill_fifo(struct fritz_bcs *bcs) argument 433 hdlc_empty_fifo(struct fritz_bcs *bcs, int count) argument 468 hdlc_rpr_irq(struct fritz_bcs *bcs, u32 stat) argument 512 hdlc_xdu_irq(struct fritz_bcs *bcs) argument 537 hdlc_xpr_irq(struct fritz_bcs *bcs) argument 555 hdlc_irq_one(struct fritz_bcs *bcs, u32 stat) argument 587 modehdlc(struct fritz_bcs *bcs, int mode) argument 626 struct fritz_bcs *bcs = ifc->priv; local [all...] |
H A D | hfc_2bds0.c | 143 GetFreeFifoBytes_B(struct BCState *bcs) argument 147 if (bcs->hw.hfc.f1 == bcs->hw.hfc.f2) 148 return (bcs->cs->hw.hfcD.bfifosize); 149 s = bcs->hw.hfc.send[bcs->hw.hfc.f1] - bcs->hw.hfc.send[bcs->hw.hfc.f2]; 151 s += bcs->cs->hw.hfcD.bfifosize; 152 s = bcs 183 hfc_empty_fifo(struct BCState *bcs, int count) argument 261 hfc_fill_fifo(struct BCState *bcs) argument 339 hfc_send_data(struct BCState *bcs) argument 351 main_rec_2bds0(struct BCState *bcs) argument 405 mode_2bs0(struct BCState *bcs, int mode, int bc) argument 455 struct BCState *bcs = st->l1.bcs; local 511 close_2bs0(struct BCState *bcs) argument 526 open_hfcstate(struct IsdnCardState *cs, struct BCState *bcs) argument 540 setstack_2b(struct PStack *st, struct BCState *bcs) argument 768 struct BCState *bcs; local [all...] |
H A D | w6692.c | 204 W6692B_empty_fifo(struct BCState *bcs, int count) argument 207 struct IsdnCardState *cs = bcs->cs; 212 if (bcs->hw.w6692.rcvidx + count > HSCX_BUFMAX) { 215 cs->BC_Write_Reg(cs, bcs->channel, W_B_CMDR, W_B_CMDR_RACK | W_B_CMDR_RACT); 216 bcs->hw.w6692.rcvidx = 0; 219 ptr = bcs->hw.w6692.rcvbuf + bcs->hw.w6692.rcvidx; 220 bcs->hw.w6692.rcvidx += count; 221 READW6692BFIFO(cs, bcs->channel, ptr, count); 222 cs->BC_Write_Reg(cs, bcs 234 W6692B_fill_fifo(struct BCState *bcs) argument 276 struct BCState *bcs; local 725 W6692Bmode(struct BCState *bcs, int mode, int bchan) argument 759 struct BCState *bcs = st->l1.bcs; local 816 close_w6692state(struct BCState *bcs) argument 835 open_w6692state(struct IsdnCardState *cs, struct BCState *bcs) argument 864 setstack_w6692(struct PStack *st, struct BCState *bcs) argument [all...] |
H A D | elsa_ser.c | 240 write_modem(struct BCState *bcs) { argument 242 struct IsdnCardState *cs = bcs->cs; 245 if (!bcs->tx_skb) 247 if (bcs->tx_skb->len <= 0) 249 len = bcs->tx_skb->len; 257 skb_copy_from_linear_data(bcs->tx_skb, 259 skb_pull(bcs->tx_skb, count); 265 skb_copy_from_linear_data(bcs->tx_skb, 267 skb_pull(bcs->tx_skb, count); 280 modem_fill(struct BCState *bcs) { argument 427 close_elsastate(struct BCState *bcs) argument 550 struct BCState *bcs = st->l1.bcs; local 584 setstack_elsa(struct PStack *st, struct BCState *bcs) argument [all...] |
H A D | st5481_init.c | 82 adapter->bcs[i].adapter = adapter; 83 adapter->bcs[i].channel = i; 84 adapter->bcs[i].b_if.ifc.priv = &adapter->bcs[i]; 85 adapter->bcs[i].b_if.ifc.l2l1 = st5481_b_l2l1; 96 retval = st5481_setup_b(&adapter->bcs[0]); 100 retval = st5481_setup_b(&adapter->bcs[1]); 105 b_if[i] = &adapter->bcs[i].b_if; 117 st5481_release_b(&adapter->bcs[1]); 119 st5481_release_b(&adapter->bcs[ [all...] |
H A D | hfc_sx.c | 437 if (cs->bcs[0].mode && (cs->bcs[0].channel == channel)) 438 return (&cs->bcs[0]); 439 else if (cs->bcs[1].mode && (cs->bcs[1].channel == channel)) 440 return (&cs->bcs[1]); 476 main_rec_hfcsx(struct BCState *bcs) argument 478 struct IsdnCardState *cs = bcs->cs; 485 debugl1(cs, "rec_data %d blocked", bcs->channel); 488 skb = read_fifo(cs, ((bcs 526 hfcsx_fill_fifo(struct BCState *bcs) argument 698 struct BCState *bcs; local 1016 hfcsx_send_data(struct BCState *bcs) argument 1031 mode_hfcsx(struct BCState *bcs, int mode, int bc) argument 1143 struct BCState *bcs = st->l1.bcs; local 1202 close_hfcsx(struct BCState *bcs) argument 1220 open_hfcsxstate(struct IsdnCardState *cs, struct BCState *bcs) argument 1237 setstack_2b(struct PStack *st, struct BCState *bcs) argument [all...] |
H A D | hfc_pci.c | 192 hfcpci_sched_event(struct BCState *bcs, int event) argument 194 test_and_set_bit(event, &bcs->event); 195 schedule_work(&bcs->tqueue); 205 if (cs->bcs[0].mode && (cs->bcs[0].channel == channel)) 206 return (&cs->bcs[0]); 207 else if (cs->bcs[1].mode && (cs->bcs[1].channel == channel)) 208 return (&cs->bcs[1]); 271 hfcpci_empty_fifo(struct BCState *bcs, bzfifo_typ argument 398 hfcpci_empty_fifo_trans(struct BCState *bcs, bzfifo_type * bz, u_char * bdata) argument 450 main_rec_hfcpci(struct BCState *bcs) argument 588 hfcpci_fill_fifo(struct BCState *bcs) argument 933 struct BCState *bcs; local 1253 hfcpci_send_data(struct BCState *bcs) argument 1268 mode_hfcpci(struct BCState *bcs, int mode, int bc) argument 1391 struct BCState *bcs = st->l1.bcs; local 1451 close_hfcpci(struct BCState *bcs) argument 1469 open_hfcpcistate(struct IsdnCardState *cs, struct BCState *bcs) argument 1486 setstack_2b(struct PStack *st, struct BCState *bcs) argument [all...] |
/drivers/isdn/gigaset/ |
H A D | dummyll.c | 17 void gigaset_skb_sent(struct bc_state *bcs, struct sk_buff *skb) argument 22 void gigaset_skb_rcvd(struct bc_state *bcs, struct sk_buff *skb) argument 27 void gigaset_isdn_rcv_err(struct bc_state *bcs) argument 37 void gigaset_isdn_connD(struct bc_state *bcs) argument 41 void gigaset_isdn_hupD(struct bc_state *bcs) argument 45 void gigaset_isdn_connB(struct bc_state *bcs) argument 49 void gigaset_isdn_hupB(struct bc_state *bcs) argument
|
H A D | i4l.c | 47 struct bc_state *bcs; local 60 bcs = &cs->bcs[channel]; 104 return cs->ops->send_skb(bcs, skb); 109 * @bcs: B channel descriptor structure. 115 void gigaset_skb_sent(struct bc_state *bcs, struct sk_buff *skb) argument 117 isdn_if *iif = bcs->cs->iif; 122 ++bcs->trans_up; 125 dev_warn(bcs->cs->dev, "%s: skb->len==%d\n", 131 bcs 151 gigaset_skb_rcvd(struct bc_state *bcs, struct sk_buff *skb) argument 167 gigaset_isdn_rcv_err(struct bc_state *bcs) argument 198 struct bc_state *bcs; local 437 gigaset_i4l_channel_cmd(struct bc_state *bcs, int cmd) argument 460 struct bc_state *bcs = at_state->bcs; local 545 gigaset_isdn_connD(struct bc_state *bcs) argument 558 gigaset_isdn_hupD(struct bc_state *bcs) argument 571 gigaset_isdn_connB(struct bc_state *bcs) argument 584 gigaset_isdn_hupB(struct bc_state *bcs) argument [all...] |
H A D | gigaset.h | 315 * - bcs: pointer to the B Channel control structure 321 struct bc_state *bcs; member in struct:isow_urbctx_t 346 struct bc_state *bcs; member in struct:at_state_t 420 struct bc_state *bcs; /* Array of struct bc_state */ member in struct:cardstate 577 int (*init_bchannel)(struct bc_state *bcs); 581 int (*close_bchannel)(struct bc_state *bcs); 583 /* Called by gigaset_initcs() for setting up bcs->hw.xxx */ 584 int (*initbcshw)(struct bc_state *bcs); 586 /* Called by gigaset_freecs() for freeing bcs->hw.xxx */ 587 int (*freebcshw)(struct bc_state *bcs); 778 gigaset_bchannel_down(struct bc_state *bcs) argument 786 gigaset_bchannel_up(struct bc_state *bcs) argument 793 gigaset_new_rx_skb(struct bc_state *bcs) argument [all...] |
H A D | common.c | 167 if (test_timeout(&cs->bcs[channel].at_state)) 188 int gigaset_get_channel(struct bc_state *bcs) argument 192 spin_lock_irqsave(&bcs->cs->lock, flags); 193 if (bcs->use_count || !try_module_get(bcs->cs->driver->owner)) { 195 bcs->channel); 196 spin_unlock_irqrestore(&bcs->cs->lock, flags); 199 ++bcs->use_count; 200 bcs->busy = 1; 201 gig_dbg(DEBUG_CHANNEL, "allocated channel %d", bcs 232 gigaset_free_channel(struct bc_state *bcs) argument 391 gigaset_freebcs(struct bc_state *bcs) argument 531 gigaset_at_init(struct at_state_t *at_state, struct bc_state *bcs, struct cardstate *cs, int cid) argument 617 gigaset_initbcs(struct bc_state *bcs, struct cardstate *cs, int channel) argument 807 gigaset_bcs_reinit(struct bc_state *bcs) argument [all...] |
H A D | capi.c | 75 /* values for bcs->apconnstate */ 369 * @bcs: B channel descriptor structure. 375 void gigaset_skb_sent(struct bc_state *bcs, struct sk_buff *dskb) argument 377 struct cardstate *cs = bcs->cs; 379 struct gigaset_capi_appl *ap = bcs->ap; 384 ++bcs->trans_up; 392 if (bcs->apconnstate < APCONN_ACTIVE) { 404 bcs->channel + 1, CAPIMSG_HANDLE_REQ(req), 413 * @bcs: B channel descriptor structure. 420 void gigaset_skb_rcvd(struct bc_state *bcs, struc argument 476 gigaset_isdn_rcv_err(struct bc_state *bcs) argument 503 struct bc_state *bcs = at_state->bcs; local 682 send_disconnect_ind(struct bc_state *bcs, struct gigaset_capi_appl *ap, u16 reason) argument 711 send_disconnect_b3_ind(struct bc_state *bcs, struct gigaset_capi_appl *ap) argument 744 gigaset_isdn_connD(struct bc_state *bcs) argument 809 gigaset_isdn_hupD(struct bc_state *bcs) argument 839 gigaset_isdn_connB(struct bc_state *bcs) argument 909 gigaset_isdn_hupB(struct bc_state *bcs) argument 1014 remove_appl_from_channel(struct bc_state *bcs, struct gigaset_capi_appl *ap) argument 1286 struct bc_state *bcs; local 1576 struct bc_state *bcs; local 1744 struct bc_state *bcs; local 1786 struct bc_state *bcs; local 1848 struct bc_state *bcs; local 1934 struct bc_state *bcs; local 1981 struct bc_state *bcs; local [all...] |
H A D | asyncdata.c | 141 struct bc_state *bcs = cs->bcs; local 142 int inputstate = bcs->inputstate; 143 __u16 fcs = bcs->rx_fcs; 144 struct sk_buff *skb = bcs->rx_skb; 206 gigaset_isdn_rcv_err(bcs); 212 gigaset_isdn_rcv_err(bcs); 219 gigaset_isdn_rcv_err(bcs); 224 gigaset_skb_rcvd(bcs, skb); 229 skb = gigaset_new_rx_skb(bcs); 288 struct bc_state *bcs = cs->bcs; local 585 gigaset_m10x_send_skb(struct bc_state *bcs, struct sk_buff *skb) argument [all...] |
H A D | ev-layer.c | 610 struct bc_state *bcs = (*at_state_p)->bcs; local 624 if (bcs) { 626 cs->ops->close_bchannel(bcs); 628 if (bcs->chstate & (CHS_D_UP | CHS_NOTIFY_LL)) { 629 bcs->chstate &= ~(CHS_D_UP | CHS_NOTIFY_LL); 630 gigaset_isdn_hupD(bcs); 645 * a newly allocated one with bcs=NULL 660 if (gigaset_get_channel(cs->bcs + i)) { 661 ret = &cs->bcs[ 763 bchannel_down(struct bc_state *bcs) argument 780 bchannel_up(struct bc_state *bcs) argument 795 struct bc_state *bcs = at_state->bcs; local 834 struct bc_state *bcs = at_state->bcs; local 977 handle_icall(struct cardstate *cs, struct bc_state *bcs, struct at_state_t **p_at_state) argument 1049 do_action(int action, struct cardstate *cs, struct bc_state *bcs, struct at_state_t **p_at_state, char **pp_command, int *p_genresp, int *p_resp_code, struct event_t *ev) argument 1461 struct bc_state *bcs; local 1609 struct bc_state *bcs; local [all...] |
H A D | isocdata.c | 480 int gigaset_isoc_buildframe(struct bc_state *bcs, unsigned char *in, int len) argument 484 switch (bcs->proto2) { 486 result = hdlc_buildframe(bcs->hw.bas->isooutbuf, in, len); 491 result = trans_buildframe(bcs->hw.bas->isooutbuf, in, len); 499 * append byte c to current skb of B channel structure *bcs, updating fcs 501 static inline void hdlc_putbyte(unsigned char c, struct bc_state *bcs) argument 503 bcs->rx_fcs = crc_ccitt_byte(bcs->rx_fcs, c); 504 if (bcs->rx_skb == NULL) 507 if (bcs 520 hdlc_flush(struct bc_state *bcs) argument 535 hdlc_done(struct bc_state *bcs) argument 578 hdlc_frag(struct bc_state *bcs, unsigned inbits) argument 630 hdlc_unpack(unsigned char *src, unsigned count, struct bc_state *bcs) argument 836 trans_receive(unsigned char *src, unsigned count, struct bc_state *bcs) argument 874 gigaset_isoc_receive(unsigned char *src, unsigned count, struct bc_state *bcs) argument 989 gigaset_isoc_send_skb(struct bc_state *bcs, struct sk_buff *skb) argument [all...] |