Lines Matching refs:wch

1755 	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()
1810 CTCM_CCW_DUMP((char *)&wch->ccw[3], sizeof(struct ccw1) * 3); in ctcmpc_chx_send_sweep()
1814 fsm_addtimer(&wch->timer, CTCM_TIME_5_SEC, CTC_EVENT_TIMER, wch); in ctcmpc_chx_send_sweep()
1815 fsm_newstate(wch->fsm, CTC_STATE_TX); in ctcmpc_chx_send_sweep()
1817 spin_lock_irqsave(get_ccwdev_lock(wch->cdev), saveflags); in ctcmpc_chx_send_sweep()
1818 wch->prof.send_stamp = jiffies; in ctcmpc_chx_send_sweep()
1819 rc = ccw_device_start(wch->cdev, &wch->ccw[3], 0, 0xff, 0); in ctcmpc_chx_send_sweep()
1820 spin_unlock_irqrestore(get_ccwdev_lock(wch->cdev), saveflags); in ctcmpc_chx_send_sweep()
1826 wch->th_seq_num = 0x00; in ctcmpc_chx_send_sweep()
1831 __func__, wch->th_seq_num, rch->th_seq_num); in ctcmpc_chx_send_sweep()
1834 ctcm_ccw_check_rc(wch, rc, "send sweep"); in ctcmpc_chx_send_sweep()