Home
last modified time | relevance | path

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

/Linux-v5.4/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 …]
/Linux-v5.4/drivers/s390/net/
Dctcm_fsms.c1755 struct channel *wch = priv->channel[CTCM_WRITE]; in ctcmpc_chx_send_sweep() local
1769 __func__, wch->th_seq_num); in ctcmpc_chx_send_sweep()
1773 if (fsm_getstate(wch->fsm) != CTC_STATE_TXIDLE) { in ctcmpc_chx_send_sweep()
1775 fsm_addtimer(&wch->sweep_timer, in ctcmpc_chx_send_sweep()
1776 200, CTC_EVENT_RSWEEP_TIMER, wch); in ctcmpc_chx_send_sweep()
1780 skb = skb_dequeue(&wch->sweep_queue); in ctcmpc_chx_send_sweep()
1784 if (set_normalized_cda(&wch->ccw[4], skb->data)) { in ctcmpc_chx_send_sweep()
1792 skb_queue_tail(&wch->io_queue, skb); in ctcmpc_chx_send_sweep()
1796 wch->ccw[4].count = skb->len; in ctcmpc_chx_send_sweep()
1808 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()
1355 struct channel *wch; in mpc_action_go_inop() local
1378 wch = priv->channel[CTCM_WRITE]; in mpc_action_go_inop()
1396 tasklet_hi_schedule(&wch->ch_disc_tasklet); in mpc_action_go_inop()
[all …]
/Linux-v5.4/drivers/staging/speakup/
Dmain.c1945 u16 wch; in handle_goto() local
1954 u16 wch; in handle_goto() local
1958 wch = goto_buf[--num]; in handle_goto()
1960 spkup_write(&wch, 1); in handle_goto()
1965 wch = ch; in handle_goto()
1968 spkup_write(&wch, 1); in handle_goto()