Searched defs:bcs (Results 26 - 40 of 40) sorted by relevance

12

/drivers/isdn/hisax/
H A Dhfc_pci.c192 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...]
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 Dconfig.c781 if (csta->bcs->BC_Close != NULL) {
782 csta->bcs->BC_Close(csta->bcs + 1);
783 csta->bcs->BC_Close(csta->bcs);
1301 cs->HW_Flags, cs->bcs[0].Flag, cs->bcs[1].Flag);
1302 printk(KERN_DEBUG "HiSax: bcs 0 mode %d ch%d\n",
1303 cs->bcs[0].mode, cs->bcs[
1673 hisax_b_sched_event(struct BCState *bcs, int event) argument
1738 struct BCState *bcs = b_if->bcs; local
1821 struct BCState *bcs = st->l1.bcs; local
1852 hisax_bc_setstack(struct PStack *st, struct BCState *bcs) argument
1872 hisax_bc_close(struct BCState *bcs) argument
[all...]
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.c223 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 Disar.c32 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 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 Dhisax.h213 struct BCState *bcs; member in struct:Layer1
537 struct BCState *bcs; member in struct:Channel
567 struct BCState *bcs; member in struct:elsa_hw
941 struct BCState bcs[2 + MAX_WAITING_CALLS]; member in struct:IsdnCardState
/drivers/isdn/gigaset/
H A Dbas-gigaset.c345 static inline void error_hangup(struct bc_state *bcs) argument
347 struct cardstate *cs = bcs->cs;
349 gigaset_add_event(cs, &bcs->at_state, EV_HUP, NULL, 0, NULL);
365 if (req_submit(cs->bcs, HD_RESET_INTERRUPT_PIPE, 0, BAS_TIMEOUT))
675 struct bc_state *bcs; local
742 bcs = cs->bcs + channel;
744 gigaset_bchannel_up(bcs);
755 bcs = cs->bcs
854 struct bc_state *bcs; local
955 starturbs(struct bc_state *bcs) argument
1159 struct bc_state *bcs = (struct bc_state *) data; local
1302 struct bc_state *bcs = (struct bc_state *) data; local
1593 req_submit(struct bc_state *bcs, int req, int val, int timeout) argument
1647 gigaset_init_bchannel(struct bc_state *bcs) argument
1703 gigaset_close_bchannel(struct bc_state *bcs) argument
2088 gigaset_freebcshw(struct bc_state *bcs) argument
2120 gigaset_initbcshw(struct bc_state *bcs) argument
2173 gigaset_reinitbcshw(struct bc_state *bcs) argument
[all...]
H A Dcapi.c76 /* values for bcs->apconnstate */
364 * @bcs: B channel descriptor structure.
370 void gigaset_skb_sent(struct bc_state *bcs, struct sk_buff *dskb) argument
372 struct cardstate *cs = bcs->cs;
374 struct gigaset_capi_appl *ap = bcs->ap;
379 ++bcs->trans_up;
387 if (bcs->apconnstate < APCONN_ACTIVE) {
399 bcs->channel + 1, CAPIMSG_HANDLE_REQ(req),
408 * @bcs: B channel descriptor structure.
415 void gigaset_skb_rcvd(struct bc_state *bcs, struc argument
471 gigaset_isdn_rcv_err(struct bc_state *bcs) argument
498 struct bc_state *bcs = at_state->bcs; local
683 send_disconnect_ind(struct bc_state *bcs, struct gigaset_capi_appl *ap, u16 reason) argument
717 send_disconnect_b3_ind(struct bc_state *bcs, struct gigaset_capi_appl *ap) argument
754 gigaset_isdn_connD(struct bc_state *bcs) argument
823 gigaset_isdn_hupD(struct bc_state *bcs) argument
853 gigaset_isdn_connB(struct bc_state *bcs) argument
927 gigaset_isdn_hupB(struct bc_state *bcs) argument
1032 remove_appl_from_channel(struct bc_state *bcs, struct gigaset_capi_appl *ap) argument
1334 struct bc_state *bcs; local
1628 struct bc_state *bcs; local
1800 struct bc_state *bcs; local
1847 struct bc_state *bcs; local
1917 struct bc_state *bcs; local
2017 struct bc_state *bcs; local
2069 struct bc_state *bcs; local
[all...]
H A Dev-layer.c641 struct cardstate *cs, struct bc_state *bcs)
657 cs->ops->close_bchannel(bcs);
660 if (bcs->chstate & (CHS_D_UP | CHS_NOTIFY_LL)) {
661 bcs->chstate &= ~(CHS_D_UP | CHS_NOTIFY_LL);
662 gigaset_isdn_hupD(bcs);
669 * a newly allocated one with bcs=NULL
684 if (gigaset_get_channel(cs->bcs + i) >= 0) {
685 ret = &cs->bcs[i].at_state;
710 at_state = &cs->bcs[i].at_state;
773 if (cid == cs->bcs[
640 disconnect_bc(struct at_state_t *at_state, struct cardstate *cs, struct bc_state *bcs) argument
789 bchannel_down(struct bc_state *bcs) argument
806 bchannel_up(struct bc_state *bcs) argument
821 struct bc_state *bcs = at_state->bcs; local
860 struct bc_state *bcs = at_state->bcs; local
1003 handle_icall(struct cardstate *cs, struct bc_state *bcs, struct at_state_t *at_state) argument
1074 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
1505 struct bc_state *bcs; local
1648 struct bc_state *bcs; local
[all...]
H A Dgigaset.h318 * - bcs: pointer to the B Channel control structure
324 struct bc_state *bcs; member in struct:isow_urbctx_t
349 struct bc_state *bcs; member in struct:at_state_t
423 struct bc_state *bcs; /* Array of struct bc_state */ member in struct:cardstate
579 int (*init_bchannel)(struct bc_state *bcs);
583 int (*close_bchannel)(struct bc_state *bcs);
585 /* Called by gigaset_initcs() for setting up bcs->hw.xxx */
586 int (*initbcshw)(struct bc_state *bcs);
588 /* Called by gigaset_freecs() for freeing bcs->hw.xxx */
589 void (*freebcshw)(struct bc_state *bcs);
780 gigaset_bchannel_down(struct bc_state *bcs) argument
788 gigaset_bchannel_up(struct bc_state *bcs) argument
795 gigaset_new_rx_skb(struct bc_state *bcs) argument
[all...]
/drivers/usb/storage/
H A Drealtek_cr.c214 struct bulk_cs_wrap *bcs = (struct bulk_cs_wrap *)us->iobuf; local
252 bcs, US_BULK_CS_WRAP_LEN, &cswlen);
257 if (bcs->Signature != cpu_to_le32(US_BULK_CS_SIGN)) {
259 le32_to_cpu(bcs->Signature), US_BULK_CS_SIGN);
263 residue = bcs->Residue;
264 if (bcs->Tag != us->tag)
276 switch (bcs->Status) {
301 struct bulk_cs_wrap *bcs = (struct bulk_cs_wrap *) us->iobuf; local
337 result = usb_bulk_msg(us->pusb_dev, us->recv_bulk_pipe, bcs,
H A Dene_ub6250.c500 struct bulk_cs_wrap *bcs = (struct bulk_cs_wrap *) us->iobuf; local
538 result = usb_stor_bulk_transfer_buf(us, us->recv_bulk_pipe, bcs,
544 bcs, US_BULK_CS_WRAP_LEN, &cswlen);
551 bcs, US_BULK_CS_WRAP_LEN, NULL);
558 residue = le32_to_cpu(bcs->Residue);
569 if (bcs->Status != US_BULK_STAT_OK)
/drivers/gpu/drm/i915/
H A Di915_irq.c1631 u32 rcs, bcs, vcs; local
1648 bcs = tmp >> GEN8_BCS_IRQ_SHIFT;
1650 if (bcs & GT_RENDER_USER_INTERRUPT)
1652 if (bcs & GT_CONTEXT_SWITCH_INTERRUPT)

Completed in 1435 milliseconds

12