Lines Matching refs:wch

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()
1818 CTCM_CCW_DUMP((char *)&wch->ccw[3], sizeof(struct ccw1) * 3); in ctcmpc_chx_send_sweep()
1822 fsm_addtimer(&wch->timer, CTCM_TIME_5_SEC, CTC_EVENT_TIMER, wch); in ctcmpc_chx_send_sweep()
1823 fsm_newstate(wch->fsm, CTC_STATE_TX); in ctcmpc_chx_send_sweep()
1825 spin_lock_irqsave(get_ccwdev_lock(wch->cdev), saveflags); in ctcmpc_chx_send_sweep()
1826 wch->prof.send_stamp = jiffies; in ctcmpc_chx_send_sweep()
1827 rc = ccw_device_start(wch->cdev, &wch->ccw[3], in ctcmpc_chx_send_sweep()
1828 (unsigned long) wch, 0xff, 0); in ctcmpc_chx_send_sweep()
1829 spin_unlock_irqrestore(get_ccwdev_lock(wch->cdev), saveflags); in ctcmpc_chx_send_sweep()
1835 wch->th_seq_num = 0x00; in ctcmpc_chx_send_sweep()
1840 __func__, wch->th_seq_num, rch->th_seq_num); in ctcmpc_chx_send_sweep()
1843 ctcm_ccw_check_rc(wch, rc, "send sweep"); in ctcmpc_chx_send_sweep()