Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/isdn/hardware/mISDN/
Dw6692.c446 W6692_empty_Bfifo(struct w6692_ch *wch, int count) in W6692_empty_Bfifo() argument
448 struct w6692_hw *card = wch->bch.hw; in W6692_empty_Bfifo()
453 if (unlikely(wch->bch.state == ISDN_P_NONE)) { in W6692_empty_Bfifo()
455 WriteW6692B(wch, W_B_CMDR, W_B_CMDR_RACK | W_B_CMDR_RACT); in W6692_empty_Bfifo()
456 if (wch->bch.rx_skb) in W6692_empty_Bfifo()
457 skb_trim(wch->bch.rx_skb, 0); in W6692_empty_Bfifo()
460 if (test_bit(FLG_RX_OFF, &wch->bch.Flags)) { in W6692_empty_Bfifo()
461 wch->bch.dropcnt += count; in W6692_empty_Bfifo()
462 WriteW6692B(wch, W_B_CMDR, W_B_CMDR_RACK | W_B_CMDR_RACT); in W6692_empty_Bfifo()
465 maxlen = bchannel_get_rxbuf(&wch->bch, count); in W6692_empty_Bfifo()
[all …]
/linux-6.12.1/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.c405 struct channel *rch, *wch; in ctc_mpc_establish_connectivity() local
413 wch = priv->channel[CTCM_WRITE]; in ctc_mpc_establish_connectivity()
460 (fsm_getstate(wch->fsm) > CH_XID0_PENDING)) { in ctc_mpc_establish_connectivity()
488 if ((wch->in_mpcgroup) && in ctc_mpc_establish_connectivity()
489 (fsm_getstate(wch->fsm) == CH_XID0_PENDING)) in ctc_mpc_establish_connectivity()
490 fsm_event(grp->fsm, MPCG_EVENT_XID0DO, wch); in ctc_mpc_establish_connectivity()
494 CTCM_FUNTAIL, dev->name, wch->id); in ctc_mpc_establish_connectivity()
1342 struct channel *wch; in mpc_action_go_inop() local
1365 wch = priv->channel[CTCM_WRITE]; in mpc_action_go_inop()
1383 tasklet_hi_schedule(&wch->ch_disc_tasklet); in mpc_action_go_inop()
[all …]
/linux-6.12.1/drivers/accessibility/speakup/
Dmain.c1956 u16 wch; in handle_goto() local
1965 u16 wch; in handle_goto() local
1969 wch = goto_buf[--num]; in handle_goto()
1971 spkup_write(&wch, 1); in handle_goto()
1976 wch = ch; in handle_goto()
1979 spkup_write(&wch, 1); in handle_goto()