Searched refs:wch (Results 1 – 3 of 3) sorted by relevance
/linux-4.19.296/drivers/isdn/hardware/mISDN/ |
D | w6692.c | 460 W6692_empty_Bfifo(struct w6692_ch *wch, int count) in W6692_empty_Bfifo() argument 462 struct w6692_hw *card = wch->bch.hw; in W6692_empty_Bfifo() 467 if (unlikely(wch->bch.state == ISDN_P_NONE)) { in W6692_empty_Bfifo() 469 WriteW6692B(wch, W_B_CMDR, W_B_CMDR_RACK | W_B_CMDR_RACT); in W6692_empty_Bfifo() 470 if (wch->bch.rx_skb) in W6692_empty_Bfifo() 471 skb_trim(wch->bch.rx_skb, 0); in W6692_empty_Bfifo() 474 if (test_bit(FLG_RX_OFF, &wch->bch.Flags)) { in W6692_empty_Bfifo() 475 wch->bch.dropcnt += count; in W6692_empty_Bfifo() 476 WriteW6692B(wch, W_B_CMDR, W_B_CMDR_RACK | W_B_CMDR_RACT); in W6692_empty_Bfifo() 479 maxlen = bchannel_get_rxbuf(&wch->bch, count); in W6692_empty_Bfifo() [all …]
|
/linux-4.19.296/drivers/s390/net/ |
D | ctcm_fsms.c | 1763 struct channel *wch = priv->channel[CTCM_WRITE]; in ctcmpc_chx_send_sweep() local 1777 __func__, wch->th_seq_num); in ctcmpc_chx_send_sweep() 1781 if (fsm_getstate(wch->fsm) != CTC_STATE_TXIDLE) { in ctcmpc_chx_send_sweep() 1783 fsm_addtimer(&wch->sweep_timer, in ctcmpc_chx_send_sweep() 1784 200, CTC_EVENT_RSWEEP_TIMER, wch); in ctcmpc_chx_send_sweep() 1788 skb = skb_dequeue(&wch->sweep_queue); in ctcmpc_chx_send_sweep() 1792 if (set_normalized_cda(&wch->ccw[4], skb->data)) { in ctcmpc_chx_send_sweep() 1800 skb_queue_tail(&wch->io_queue, skb); in ctcmpc_chx_send_sweep() 1804 wch->ccw[4].count = skb->len; in ctcmpc_chx_send_sweep() 1816 header->sw.th_last_seq = wch->th_seq_num; in ctcmpc_chx_send_sweep() [all …]
|
D | ctcm_mpc.c | 402 struct channel *rch, *wch; in ctc_mpc_establish_connectivity() local 410 wch = priv->channel[CTCM_WRITE]; in ctc_mpc_establish_connectivity() 457 (fsm_getstate(wch->fsm) > CH_XID0_PENDING)) { in ctc_mpc_establish_connectivity() 485 if ((wch->in_mpcgroup) && in ctc_mpc_establish_connectivity() 486 (fsm_getstate(wch->fsm) == CH_XID0_PENDING)) in ctc_mpc_establish_connectivity() 487 fsm_event(grp->fsm, MPCG_EVENT_XID0DO, wch); in ctc_mpc_establish_connectivity() 491 CTCM_FUNTAIL, dev->name, wch->id); in ctc_mpc_establish_connectivity() 1352 struct channel *wch; in mpc_action_go_inop() local 1375 wch = priv->channel[CTCM_WRITE]; in mpc_action_go_inop() 1393 tasklet_hi_schedule(&wch->ch_disc_tasklet); in mpc_action_go_inop() [all …]
|