Searched refs:bcs (Results 1 - 25 of 87) sorted by last modified time

1234

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/openssl/crypto/bn/asm/
H A Dsparcv8plus.S603 * 'bcs,a %xcc,.+8; inc %rd' pair. But the performance improvement
663 bcs,a %xcc,.+8
668 bcs,a %xcc,.+8
677 bcs,a %xcc,.+8
682 bcs,a %xcc,.+8
687 bcs,a %xcc,.+8 !=
696 bcs,a %xcc,.+8 !=
700 bcs,a %xcc,.+8 !=
705 bcs,a %xcc,.+8
710 bcs,
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/isdn/gigaset/
H A Dasyncdata.c112 struct bc_state *bcs = inbuf->bcs; local
113 int inputstate = bcs->inputstate;
114 __u16 fcs = bcs->fcs;
115 struct sk_buff *skb = bcs->skb;
150 ++bcs->emptycount;
158 gigaset_rcv_error(NULL, cs, bcs);
161 ++bcs->emptycount;
175 bcs->rcvbytes, skb->len);
177 gigaset_rcv_error(compskb, cs, bcs);
273 struct bc_state *bcs = inbuf->bcs; local
550 gigaset_m10x_send_skb(struct bc_state *bcs, struct sk_buff *skb) argument
[all...]
H A Dbas-gigaset.c313 static inline void error_hangup(struct bc_state *bcs) argument
315 struct cardstate *cs = bcs->cs;
318 __func__, bcs->channel);
320 if (!gigaset_add_event(cs, &bcs->at_state, EV_HUP, NULL, 0, NULL))
337 req_submit(cs->bcs, HD_CLOSE_ATCHANNEL, 0, BAS_TIMEOUT);
602 struct bc_state *bcs; local
658 bcs = cs->bcs + channel;
660 gigaset_bchannel_up(bcs);
671 bcs
763 struct bc_state *bcs; local
862 starturbs(struct bc_state *bcs) argument
1064 struct bc_state *bcs = (struct bc_state *) data; local
1228 struct bc_state *bcs = (struct bc_state *) data; local
1361 struct bc_state *bcs = (struct bc_state *) data; local
1488 req_submit(struct bc_state *bcs, int req, int val, int timeout) argument
1545 gigaset_init_bchannel(struct bc_state *bcs) argument
1591 gigaset_close_bchannel(struct bc_state *bcs) argument
1967 gigaset_freebcshw(struct bc_state *bcs) argument
2000 gigaset_initbcshw(struct bc_state *bcs) argument
2052 gigaset_reinitbcshw(struct bc_state *bcs) argument
[all...]
H A Dcommon.c154 if (test_timeout(&cs->bcs[channel].at_state))
175 int gigaset_get_channel(struct bc_state *bcs) argument
179 spin_lock_irqsave(&bcs->cs->lock, flags);
180 if (bcs->use_count) {
182 bcs->channel);
183 spin_unlock_irqrestore(&bcs->cs->lock, flags);
186 ++bcs->use_count;
187 bcs->busy = 1;
188 gig_dbg(DEBUG_ANY, "allocated channel %d", bcs->channel);
189 spin_unlock_irqrestore(&bcs
193 gigaset_free_channel(struct bc_state *bcs) argument
333 gigaset_freebcs(struct bc_state *bcs) argument
469 gigaset_at_init(struct at_state_t *at_state, struct bc_state *bcs, struct cardstate *cs, int cid) argument
498 gigaset_inbuf_init(struct inbuf_t *inbuf, struct bc_state *bcs, struct cardstate *cs, int inputstate) argument
552 gigaset_initbcs(struct bc_state *bcs, struct cardstate *cs, int channel) argument
761 gigaset_bcs_reinit(struct bc_state *bcs) argument
[all...]
H A Dev-layer.c697 struct bc_state *bcs = (*at_state_p)->bcs; local
711 if (bcs) {
713 cs->ops->close_bchannel(bcs);
727 * a newly allocated one with bcs=NULL
742 if (gigaset_get_channel(cs->bcs + i)) {
743 ret = &cs->bcs[i].at_state;
768 at_state = &cs->bcs[i].at_state;
850 if (cid == cs->bcs[i].at_state.cid)
851 return &cs->bcs[
866 bchannel_down(struct bc_state *bcs) argument
883 bchannel_up(struct bc_state *bcs) argument
903 struct bc_state *bcs = at_state->bcs; local
1068 handle_icall(struct cardstate *cs, struct bc_state *bcs, struct at_state_t **p_at_state) argument
1141 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
1560 struct bc_state *bcs; local
1704 struct bc_state *bcs; local
[all...]
H A Dgigaset.h319 struct bc_state *bcs; member in struct:inbuf_t
357 * - bcs: pointer to the B Channel control structure
362 struct bc_state *bcs; member in struct:isow_urbctx_t
386 struct bc_state *bcs; member in struct:at_state_t
460 struct bc_state *bcs; /* Array of struct bc_state */ member in struct:cardstate
609 int (*init_bchannel)(struct bc_state *bcs);
613 int (*close_bchannel)(struct bc_state *bcs);
615 int (*initbcshw)(struct bc_state *bcs);
617 int (*freebcshw)(struct bc_state *bcs);
619 void (*reinitbcshw)(struct bc_state *bcs);
707 gigaset_isdn_rcv_err(struct bc_state *bcs) argument
814 gigaset_bchannel_down(struct bc_state *bcs) argument
824 gigaset_bchannel_up(struct bc_state *bcs) argument
838 gigaset_rcv_skb(struct sk_buff *skb, struct cardstate *cs, struct bc_state *bcs) argument
849 gigaset_rcv_error(struct sk_buff *procskb, struct cardstate *cs, struct bc_state *bcs) argument
[all...]
H A Di4l.c40 struct bc_state *bcs; local
52 bcs = &cs->bcs[channel];
76 return cs->ops->send_skb(bcs, skb);
79 void gigaset_skb_sent(struct bc_state *bcs, struct sk_buff *skb) argument
84 ++bcs->trans_up;
87 dev_warn(bcs->cs->dev, "%s: skb->len==%d\n",
94 bcs->cs->myid, bcs->channel, len);
96 response.driver = bcs
114 struct bc_state *bcs; local
318 gigaset_i4l_channel_cmd(struct bc_state *bcs, int cmd) argument
330 struct bc_state *bcs = at_state->bcs; local
409 struct bc_state *bcs = at_state->bcs; local
453 struct bc_state *bcs = at_state->bcs; local
[all...]
H A Disocdata.c501 int gigaset_isoc_buildframe(struct bc_state *bcs, unsigned char *in, int len) argument
505 switch (bcs->proto2) {
507 result = hdlc_buildframe(bcs->hw.bas->isooutbuf, in, len);
512 result = trans_buildframe(bcs->hw.bas->isooutbuf, in, len);
520 * append byte c to current skb of B channel structure *bcs, updating fcs
522 static inline void hdlc_putbyte(unsigned char c, struct bc_state *bcs) argument
524 bcs->fcs = crc_ccitt_byte(bcs->fcs, c);
525 if (unlikely(bcs->skb == NULL)) {
529 if (unlikely(bcs
542 hdlc_flush(struct bc_state *bcs) argument
561 hdlc_done(struct bc_state *bcs) argument
606 hdlc_frag(struct bc_state *bcs, unsigned inbits) argument
662 hdlc_unpack(unsigned char *src, unsigned count, struct bc_state *bcs) argument
855 trans_receive(unsigned char *src, unsigned count, struct bc_state *bcs) argument
898 gigaset_isoc_receive(unsigned char *src, unsigned count, struct bc_state *bcs) argument
991 gigaset_isoc_send_skb(struct bc_state *bcs, struct sk_buff *skb) argument
[all...]
H A Dser-gigaset.c68 struct bc_state *bcs = &cs->bcs[0]; /* only one channel */ local
69 struct sk_buff *skb = bcs->tx_skb;
77 bcs->tx_skb = NULL;
92 gigaset_skb_sent(bcs, skb);
97 bcs->tx_skb = NULL;
165 struct bc_state *bcs; local
168 if (!cs || !(bcs = cs->bcs)) {
172 if (!bcs
326 gigaset_init_bchannel(struct bc_state *bcs) argument
337 gigaset_close_bchannel(struct bc_state *bcs) argument
348 gigaset_initbcshw(struct bc_state *bcs) argument
359 gigaset_freebcshw(struct bc_state *bcs) argument
369 gigaset_reinitbcshw(struct bc_state *bcs) argument
[all...]
H A Dusb-gigaset.c240 static int gigaset_init_bchannel(struct bc_state *bcs) argument
243 gigaset_bchannel_up(bcs);
247 static int gigaset_close_bchannel(struct bc_state *bcs) argument
250 gigaset_bchannel_down(bcs);
264 struct bc_state *bcs = &cs->bcs[0]; /* only one channel */ local
278 if (!bcs->tx_skb) { /* no skb is being sent */
291 bcs->tx_skb = skb_dequeue(&bcs->squeue);
292 if (bcs
530 gigaset_freebcshw(struct bc_state *bcs) argument
537 gigaset_initbcshw(struct bc_state *bcs) argument
544 gigaset_reinitbcshw(struct bc_state *bcs) argument
585 struct bc_state *bcs = &cs->bcs[0]; /* only one channel */ local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/isdn/hisax/
H A Davm_pci.c166 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
297 hdlc_fill_fifo(struct BCState *bcs) argument
361 HDLC_irq(struct BCState *bcs, u_int stat) argument
457 struct BCState *bcs; local
492 struct BCState *bcs = st->l1.bcs; local
550 close_hdlcstate(struct BCState *bcs) argument
569 open_hdlcstate(struct IsdnCardState *cs, struct BCState *bcs) argument
597 setstack_hdlc(struct PStack *st, struct BCState *bcs) argument
[all...]
H A Dcallc.c308 if (chanp->bcs->conmsg)
309 strcpy(ic.parm.num, chanp->bcs->conmsg);
861 chanp->bcs->BC_Close(chanp->bcs);
1093 chanp->bcs = csta->bcs + chan;
1294 chanp->bcs->conmsg = NULL;
1295 if (chanp->bcs->BC_SetStack(st, chanp->bcs))
1768 if ((len + chanp->bcs
[all...]
H A Dconfig.c777 if (csta->bcs->BC_Close != NULL) {
778 csta->bcs->BC_Close(csta->bcs + 1);
779 csta->bcs->BC_Close(csta->bcs);
1240 cs->HW_Flags, cs->bcs[0].Flag, cs->bcs[1].Flag);
1241 printk(KERN_DEBUG "HiSax: bcs 0 mode %d ch%d\n",
1242 cs->bcs[0].mode, cs->bcs[
1605 hisax_b_sched_event(struct BCState *bcs, int event) argument
1670 struct BCState *bcs = b_if->bcs; local
1751 struct BCState *bcs = st->l1.bcs; local
1781 hisax_bc_setstack(struct PStack *st, struct BCState *bcs) argument
1801 hisax_bc_close(struct BCState *bcs) argument
[all...]
H A Ddiva.c403 Memhscx_empty_fifo(struct BCState *bcs, int count) argument
406 struct IsdnCardState *cs = bcs->cs;
412 if (bcs->hw.hscx.rcvidx + count > HSCX_BUFMAX) {
415 MemWriteHSCXCMDR(cs, bcs->hw.hscx.hscx, 0x80);
416 bcs->hw.hscx.rcvidx = 0;
419 ptr = bcs->hw.hscx.rcvbuf + bcs->hw.hscx.rcvidx;
422 *ptr++ = memreadreg(cs->hw.diva.cfg_reg, bcs->hw.hscx.hscx ? 0x40 : 0);
423 MemWriteHSCXCMDR(cs, bcs->hw.hscx.hscx, 0x80);
424 ptr = bcs
437 Memhscx_fill_fifo(struct BCState *bcs) argument
482 struct BCState *bcs = cs->bcs + hscx; local
573 struct BCState *bcs; local
[all...]
H A Delsa_ser.c240 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 Dgazel.c421 cs->bcs[i].hw.hscx.tsaxr0 = 0x1f;
422 cs->bcs[i].hw.hscx.tsaxr1 = 0x23;
H A Dhfc_2bds0.c141 GetFreeFifoBytes_B(struct BCState *bcs) argument
145 if (bcs->hw.hfc.f1 == bcs->hw.hfc.f2)
146 return (bcs->cs->hw.hfcD.bfifosize);
147 s = bcs->hw.hfc.send[bcs->hw.hfc.f1] - bcs->hw.hfc.send[bcs->hw.hfc.f2];
149 s += bcs->cs->hw.hfcD.bfifosize;
150 s = bcs
181 hfc_empty_fifo(struct BCState *bcs, int count) argument
259 hfc_fill_fifo(struct BCState *bcs) argument
337 hfc_send_data(struct BCState *bcs) argument
349 main_rec_2bds0(struct BCState *bcs) argument
403 mode_2bs0(struct BCState *bcs, int mode, int bc) argument
453 struct BCState *bcs = st->l1.bcs; local
509 close_2bs0(struct BCState *bcs) argument
524 open_hfcstate(struct IsdnCardState *cs, struct BCState *bcs) argument
538 setstack_2b(struct PStack *st, struct BCState *bcs) argument
766 struct BCState *bcs; local
[all...]
H A Dhfc_2bds0.h124 extern void main_irq_2bds0(struct BCState *bcs);
H A Dhfc_2bs0.c56 GetFreeFifoBytes(struct BCState *bcs) argument
60 if (bcs->hw.hfc.f1 == bcs->hw.hfc.f2)
61 return (bcs->cs->hw.hfc.fifosize);
62 s = bcs->hw.hfc.send[bcs->hw.hfc.f1] - bcs->hw.hfc.send[bcs->hw.hfc.f2];
64 s += bcs->cs->hw.hfc.fifosize;
65 s = bcs
70 ReadZReg(struct BCState *bcs, u_char reg) argument
82 hfc_clear_fifo(struct BCState *bcs) argument
143 hfc_empty_fifo(struct BCState *bcs, int count) argument
236 hfc_fill_fifo(struct BCState *bcs) argument
325 main_irq_hfc(struct BCState *bcs) argument
398 mode_hfc(struct BCState *bcs, int mode, int bc) argument
454 struct BCState *bcs = st->l1.bcs; local
511 close_hfcstate(struct BCState *bcs) argument
527 open_hfcstate(struct IsdnCardState *cs, struct BCState *bcs) argument
541 setstack_hfc(struct PStack *st, struct BCState *bcs) argument
555 init_send(struct BCState *bcs) argument
[all...]
H A Dhfc_2bs0.h58 extern void main_irq_hfc(struct BCState *bcs);
H A Dhfc_pci.c194 hfcpci_sched_event(struct BCState *bcs, int event) argument
196 test_and_set_bit(event, &bcs->event);
197 schedule_work(&bcs->tqueue);
207 if (cs->bcs[0].mode && (cs->bcs[0].channel == channel))
208 return (&cs->bcs[0]);
209 else if (cs->bcs[1].mode && (cs->bcs[1].channel == channel))
210 return (&cs->bcs[1]);
273 hfcpci_empty_fifo(struct BCState *bcs, bzfifo_typ argument
400 hfcpci_empty_fifo_trans(struct BCState *bcs, bzfifo_type * bz, u_char * bdata) argument
452 main_rec_hfcpci(struct BCState *bcs) argument
592 hfcpci_fill_fifo(struct BCState *bcs) argument
939 struct BCState *bcs; local
1259 hfcpci_send_data(struct BCState *bcs) argument
1274 mode_hfcpci(struct BCState *bcs, int mode, int bc) argument
1397 struct BCState *bcs = st->l1.bcs; local
1457 close_hfcpci(struct BCState *bcs) argument
1475 open_hfcpcistate(struct IsdnCardState *cs, struct BCState *bcs) argument
1492 setstack_2b(struct PStack *st, struct BCState *bcs) argument
[all...]
H A Dhfc_pci.h234 extern void main_irq_hcpci(struct BCState *bcs);
H A Dhfc_sx.c437 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 Dhfc_sx.h195 extern void main_irq_hfcsx(struct BCState *bcs);
H A Dhfcscard.c227 cs->bcs[0].hw.hfc.send = NULL;
228 cs->bcs[1].hw.hfc.send = NULL;

Completed in 147 milliseconds

1234