Searched refs:bcs (Results 26 - 50 of 58) sorted by relevance

123

/drivers/isdn/hisax/
H A Ddiva.c401 Memhscx_empty_fifo(struct BCState *bcs, int count) argument
404 struct IsdnCardState *cs = bcs->cs;
410 if (bcs->hw.hscx.rcvidx + count > HSCX_BUFMAX) {
413 MemWriteHSCXCMDR(cs, bcs->hw.hscx.hscx, 0x80);
414 bcs->hw.hscx.rcvidx = 0;
417 ptr = bcs->hw.hscx.rcvbuf + bcs->hw.hscx.rcvidx;
420 *ptr++ = memreadreg(cs->hw.diva.cfg_reg, bcs->hw.hscx.hscx ? 0x40 : 0);
421 MemWriteHSCXCMDR(cs, bcs->hw.hscx.hscx, 0x80);
422 ptr = bcs
435 Memhscx_fill_fifo(struct BCState *bcs) argument
480 struct BCState *bcs = cs->bcs + hscx; local
571 struct BCState *bcs; local
[all...]
H A Dhisax_fcpcipnp.h53 struct fritz_bcs bcs[2]; member in struct:fritz_adapter
56 void (*write_ctrl) (struct fritz_bcs *bcs, int which);
H A Dconfig.c781 if (csta->bcs->BC_Close != NULL) {
782 csta->bcs->BC_Close(csta->bcs + 1);
783 csta->bcs->BC_Close(csta->bcs);
1305 cs->HW_Flags, cs->bcs[0].Flag, cs->bcs[1].Flag);
1306 printk(KERN_DEBUG "HiSax: bcs 0 mode %d ch%d\n",
1307 cs->bcs[0].mode, cs->bcs[
1681 hisax_b_sched_event(struct BCState *bcs, int event) argument
1746 struct BCState *bcs = b_if->bcs; local
1829 struct BCState *bcs = st->l1.bcs; local
1860 hisax_bc_setstack(struct PStack *st, struct BCState *bcs) argument
1880 hisax_bc_close(struct BCState *bcs) argument
[all...]
H A Disdnl1.c271 BChannel_proc_xmt(struct BCState *bcs) argument
273 struct PStack *st = bcs->st;
275 if (test_bit(BC_FLG_BUSY, &bcs->Flag)) {
276 debugl1(bcs->cs, "BC_BUSY Error");
282 if (!test_bit(BC_FLG_ACTIV, &bcs->Flag)) {
283 if (!test_bit(BC_FLG_BUSY, &bcs->Flag) &&
284 skb_queue_empty(&bcs->squeue)) {
291 BChannel_proc_rcv(struct BCState *bcs) argument
295 if (bcs->st->l1.l1m.state == ST_L1_WAIT_ACT) {
296 FsmDelTimer(&bcs
305 BChannel_proc_ack(struct BCState *bcs) argument
321 struct BCState *bcs = container_of(work, struct BCState, tqueue); local
364 struct BCState *bcs = cs->bcs + bc; local
[all...]
H A Dhisax_if.h48 struct BCState *bcs; member in struct:hisax_b_if
H A Dhscx.h38 extern void modehscx(struct BCState *bcs, int mode, int bc);
H A Dhfc_2bs0.h58 extern void main_irq_hfc(struct BCState *bcs);
H A Dnetjet.h66 void netjet_fill_dma(struct BCState *bcs);
H A Dteleint.c188 if (cs->bcs[0].mode) {
190 main_irq_hfc(&cs->bcs[0]);
192 if (cs->bcs[1].mode) {
194 main_irq_hfc(&cs->bcs[1]);
279 cs->bcs[0].hw.hfc.send = NULL;
280 cs->bcs[1].hw.hfc.send = NULL;
H A Dst5481.h397 struct st5481_bcs bcs[2]; member in struct:st5481_adapter
431 int st5481_setup_b(struct st5481_bcs *bcs);
432 void st5481_release_b(struct st5481_bcs *bcs);
H A Dhfc_2bds0.h124 extern void main_irq_2bds0(struct BCState *bcs);
H A Dhfc_pci.h234 extern void main_irq_hcpci(struct BCState *bcs);
H A Dhfc_sx.h195 extern void main_irq_hfcsx(struct BCState *bcs);
H A Dhfcscard.c224 cs->bcs[0].hw.hfc.send = NULL;
225 cs->bcs[1].hw.hfc.send = NULL;
H A Disurf.c286 cs->bcs[0].hw.isar.reg = &cs->hw.isurf.isar_r;
287 cs->bcs[1].hw.isar.reg = &cs->hw.isurf.isar_r;
H A Dcallc.c308 if (chanp->bcs->conmsg)
309 strcpy(ic.parm.num, chanp->bcs->conmsg);
859 chanp->bcs->BC_Close(chanp->bcs);
1091 chanp->bcs = csta->bcs + chan;
1292 chanp->bcs->conmsg = NULL;
1293 if (chanp->bcs->BC_SetStack(st, chanp->bcs))
1766 if ((len + chanp->bcs
[all...]
/drivers/isdn/gigaset/
H A Dbas-gigaset.c344 static inline void error_hangup(struct bc_state *bcs) argument
346 struct cardstate *cs = bcs->cs;
348 gigaset_add_event(cs, &bcs->at_state, EV_HUP, NULL, 0, NULL);
364 if (req_submit(cs->bcs, HD_RESET_INTERRUPT_PIPE, 0, BAS_TIMEOUT))
668 struct bc_state *bcs; local
735 bcs = cs->bcs + channel;
737 gigaset_bchannel_up(bcs);
748 bcs = cs->bcs
847 struct bc_state *bcs; local
949 starturbs(struct bc_state *bcs) argument
1153 struct bc_state *bcs = (struct bc_state *) data; local
1296 struct bc_state *bcs = (struct bc_state *) data; local
1587 req_submit(struct bc_state *bcs, int req, int val, int timeout) argument
1641 gigaset_init_bchannel(struct bc_state *bcs) argument
1697 gigaset_close_bchannel(struct bc_state *bcs) argument
2084 gigaset_freebcshw(struct bc_state *bcs) argument
2117 gigaset_initbcshw(struct bc_state *bcs) argument
2170 gigaset_reinitbcshw(struct bc_state *bcs) argument
[all...]
H A Dser-gigaset.c66 struct bc_state *bcs = &cs->bcs[0]; /* only one channel */ local
67 struct sk_buff *skb = bcs->tx_skb;
75 bcs->tx_skb = NULL;
91 gigaset_skb_sent(bcs, skb);
96 bcs->tx_skb = NULL;
164 struct bc_state *bcs; local
172 bcs = cs->bcs;
173 if (!bcs) {
317 gigaset_init_bchannel(struct bc_state *bcs) argument
328 gigaset_close_bchannel(struct bc_state *bcs) argument
339 gigaset_initbcshw(struct bc_state *bcs) argument
350 gigaset_freebcshw(struct bc_state *bcs) argument
360 gigaset_reinitbcshw(struct bc_state *bcs) argument
[all...]
H A Dusb-gigaset.c281 static int gigaset_init_bchannel(struct bc_state *bcs) argument
284 gigaset_bchannel_up(bcs);
288 static int gigaset_close_bchannel(struct bc_state *bcs) argument
291 gigaset_bchannel_down(bcs);
305 struct bc_state *bcs = &cs->bcs[0]; /* only one channel */ local
318 if (!bcs->tx_skb) { /* no skb is being sent */
329 bcs->tx_skb = skb_dequeue(&bcs->squeue);
330 if (bcs
552 gigaset_freebcshw(struct bc_state *bcs) argument
559 gigaset_initbcshw(struct bc_state *bcs) argument
566 gigaset_reinitbcshw(struct bc_state *bcs) argument
608 struct bc_state *bcs = &cs->bcs[0]; /* only one channel */ local
[all...]
/drivers/staging/keucr/
H A Dinit.c162 struct bulk_cs_wrap *bcs = (struct bulk_cs_wrap *) us->iobuf; local
199 result = usb_stor_bulk_transfer_buf(us, us->recv_bulk_pipe, bcs,
205 bcs, US_BULK_CS_WRAP_LEN, &cswlen);
212 bcs, US_BULK_CS_WRAP_LEN, NULL);
219 residue = le32_to_cpu(bcs->Residue);
232 if (bcs->Status != US_BULK_STAT_OK)
244 struct bulk_cs_wrap *bcs = (struct bulk_cs_wrap *) us->iobuf; local
270 result = usb_stor_bulk_transfer_buf(us, us->recv_bulk_pipe, bcs,
274 if (bcs->Status != US_BULK_STAT_OK)
286 struct bulk_cs_wrap *bcs local
[all...]
H A Dtransport.c583 struct bulk_cs_wrap *bcs = (struct bulk_cs_wrap *) us->iobuf; local
647 result = usb_stor_bulk_transfer_buf(us, us->recv_bulk_pipe, bcs,
652 result = usb_stor_bulk_transfer_buf(us, us->recv_bulk_pipe, bcs,
660 result = usb_stor_bulk_transfer_buf(us, us->recv_bulk_pipe, bcs,
670 residue = le32_to_cpu(bcs->Residue);
672 le32_to_cpu(bcs->Signature),
673 bcs->Tag, residue, bcs->Status); */
674 if (!(bcs->Tag == us->tag ||
676 bcs
[all...]
/drivers/usb/storage/
H A Dinitializers.c66 struct bulk_cs_wrap *bcs = (struct bulk_cs_wrap*) us->iobuf; local
87 res = usb_stor_bulk_transfer_buf(us, us->recv_bulk_pipe, bcs,
H A Dtransport.c1057 struct bulk_cs_wrap *bcs = (struct bulk_cs_wrap *) us->iobuf; local
1132 bcs, US_BULK_CS_WRAP_LEN, &cswlen);
1141 bcs, US_BULK_CS_WRAP_LEN, &cswlen);
1150 bcs, US_BULK_CS_WRAP_LEN, NULL);
1159 residue = le32_to_cpu(bcs->Residue);
1161 le32_to_cpu(bcs->Signature), bcs->Tag,
1162 residue, bcs->Status);
1163 if (!(bcs->Tag == us->tag || (us->fflags & US_FL_BULK_IGNORE_TAG)) ||
1164 bcs
[all...]
H A Drealtek_cr.c213 struct bulk_cs_wrap *bcs = (struct bulk_cs_wrap *)us->iobuf; local
251 bcs, US_BULK_CS_WRAP_LEN, &cswlen);
256 if (bcs->Signature != cpu_to_le32(US_BULK_CS_SIGN)) {
258 le32_to_cpu(bcs->Signature), US_BULK_CS_SIGN);
262 residue = bcs->Residue;
263 if (bcs->Tag != us->tag)
275 switch (bcs->Status) {
300 struct bulk_cs_wrap *bcs = (struct bulk_cs_wrap *) us->iobuf; local
336 result = usb_bulk_msg(us->pusb_dev, us->recv_bulk_pipe, bcs,
/drivers/tty/
H A Dehv_bytechan.c63 static struct ehv_bc_data *bcs; variable in typeref:struct:ehv_bc_data
546 struct ehv_bc_data *bc = &bcs[ttys->index];
561 struct ehv_bc_data *bc = &bcs[ttys->index];
725 bc = &bcs[i];
770 tty_unregister_device(ehv_bc_driver, bc - bcs);
801 unsigned int count = 0; /* Number of elements in bcs[] */
813 /* The array index of an element in bcs[] is the same as the tty index
815 * array, then you can use pointer math (e.g. "bc - bcs") to get its
818 bcs = kzalloc(count * sizeof(struct ehv_bc_data), GFP_KERNEL);
819 if (!bcs)
[all...]

Completed in 251 milliseconds

123