Home
last modified time | relevance | path

Searched refs:wch (Results 1 – 4 of 4) sorted by relevance

/drivers/isdn/hardware/mISDN/
Dw6692.c445 W6692_empty_Bfifo(struct w6692_ch *wch, int count) in W6692_empty_Bfifo() argument
447 struct w6692_hw *card = wch->bch.hw; in W6692_empty_Bfifo()
452 if (unlikely(wch->bch.state == ISDN_P_NONE)) { in W6692_empty_Bfifo()
454 WriteW6692B(wch, W_B_CMDR, W_B_CMDR_RACK | W_B_CMDR_RACT); in W6692_empty_Bfifo()
455 if (wch->bch.rx_skb) in W6692_empty_Bfifo()
456 skb_trim(wch->bch.rx_skb, 0); in W6692_empty_Bfifo()
459 if (test_bit(FLG_RX_OFF, &wch->bch.Flags)) { in W6692_empty_Bfifo()
460 wch->bch.dropcnt += count; in W6692_empty_Bfifo()
461 WriteW6692B(wch, W_B_CMDR, W_B_CMDR_RACK | W_B_CMDR_RACT); in W6692_empty_Bfifo()
464 maxlen = bchannel_get_rxbuf(&wch->bch, count); in W6692_empty_Bfifo()
[all …]
/drivers/s390/net/
Dctcm_fsms.c1749 struct channel *wch = priv->channel[CTCM_WRITE]; in ctcmpc_chx_send_sweep() local
1763 __func__, wch->th_seq_num); in ctcmpc_chx_send_sweep()
1767 if (fsm_getstate(wch->fsm) != CTC_STATE_TXIDLE) { in ctcmpc_chx_send_sweep()
1769 fsm_addtimer(&wch->sweep_timer, in ctcmpc_chx_send_sweep()
1770 200, CTC_EVENT_RSWEEP_TIMER, wch); in ctcmpc_chx_send_sweep()
1774 skb = skb_dequeue(&wch->sweep_queue); in ctcmpc_chx_send_sweep()
1778 if (set_normalized_cda(&wch->ccw[4], skb->data)) { in ctcmpc_chx_send_sweep()
1786 skb_queue_tail(&wch->io_queue, skb); in ctcmpc_chx_send_sweep()
1790 wch->ccw[4].count = skb->len; in ctcmpc_chx_send_sweep()
1802 header->sw.th_last_seq = wch->th_seq_num; in ctcmpc_chx_send_sweep()
[all …]
Dctcm_mpc.c403 struct channel *rch, *wch; in ctc_mpc_establish_connectivity() local
411 wch = priv->channel[CTCM_WRITE]; in ctc_mpc_establish_connectivity()
458 (fsm_getstate(wch->fsm) > CH_XID0_PENDING)) { in ctc_mpc_establish_connectivity()
486 if ((wch->in_mpcgroup) && in ctc_mpc_establish_connectivity()
487 (fsm_getstate(wch->fsm) == CH_XID0_PENDING)) in ctc_mpc_establish_connectivity()
488 fsm_event(grp->fsm, MPCG_EVENT_XID0DO, wch); in ctc_mpc_establish_connectivity()
492 CTCM_FUNTAIL, dev->name, wch->id); in ctc_mpc_establish_connectivity()
1339 struct channel *wch; in mpc_action_go_inop() local
1362 wch = priv->channel[CTCM_WRITE]; in mpc_action_go_inop()
1380 tasklet_hi_schedule(&wch->ch_disc_tasklet); in mpc_action_go_inop()
[all …]
/drivers/accessibility/speakup/
Dmain.c1942 u16 wch; in handle_goto() local
1951 u16 wch; in handle_goto() local
1955 wch = goto_buf[--num]; in handle_goto()
1957 spkup_write(&wch, 1); in handle_goto()
1962 wch = ch; in handle_goto()
1965 spkup_write(&wch, 1); in handle_goto()