Lines Matching refs:ccw
280 clear_normalized_cda(&ch->ccw[4]); in chx_txdone()
308 ch->ccw[1].count = ch->trans_skb->len; in chx_txdone()
311 rc = ccw_device_start(ch->cdev, &ch->ccw[0], in chx_txdone()
420 ch->ccw[1].count = ch->max_bufsize; in chx_rx()
421 rc = ccw_device_start(ch->cdev, &ch->ccw[0], in chx_rx()
478 ch->ccw[1].count = 2; /* Transfer only length */ in chx_firstio()
482 rc = ccw_device_start(ch->cdev, &ch->ccw[0], in chx_firstio()
529 ch->ccw[1].count = ch->max_bufsize; in chx_rxidle()
531 rc = ccw_device_start(ch->cdev, &ch->ccw[0], in chx_rxidle()
568 CTCM_CCW_DUMP((char *)&ch->ccw[6], sizeof(struct ccw1) * 2); in ctcm_chx_setmode()
575 rc = ccw_device_start(ch->cdev, &ch->ccw[6], in ctcm_chx_setmode()
605 clear_normalized_cda(&ch->ccw[1]); in ctcm_chx_start()
610 ch->ccw[1].cmd_code = CCW_CMD_READ; in ctcm_chx_start()
611 ch->ccw[1].flags = CCW_FLAG_SLI; in ctcm_chx_start()
612 ch->ccw[1].count = 0; in ctcm_chx_start()
614 ch->ccw[1].cmd_code = CCW_CMD_WRITE; in ctcm_chx_start()
615 ch->ccw[1].flags = CCW_FLAG_SLI | CCW_FLAG_CC; in ctcm_chx_start()
616 ch->ccw[1].count = 0; in ctcm_chx_start()
626 ch->ccw[0].cmd_code = CCW_CMD_PREPARE; in ctcm_chx_start()
627 ch->ccw[0].flags = CCW_FLAG_SLI | CCW_FLAG_CC; in ctcm_chx_start()
628 ch->ccw[0].count = 0; in ctcm_chx_start()
629 ch->ccw[0].cda = 0; in ctcm_chx_start()
630 ch->ccw[2].cmd_code = CCW_CMD_NOOP; /* jointed CE + DE */ in ctcm_chx_start()
631 ch->ccw[2].flags = CCW_FLAG_SLI; in ctcm_chx_start()
632 ch->ccw[2].count = 0; in ctcm_chx_start()
633 ch->ccw[2].cda = 0; in ctcm_chx_start()
634 memcpy(&ch->ccw[3], &ch->ccw[0], sizeof(struct ccw1) * 3); in ctcm_chx_start()
635 ch->ccw[4].cda = 0; in ctcm_chx_start()
636 ch->ccw[4].flags &= ~CCW_FLAG_IDA; in ctcm_chx_start()
715 clear_normalized_cda(&ch->ccw[1]); in ctcm_chx_cleanup()
1025 clear_normalized_cda(&ch->ccw[4]); in ctcm_chx_txretry()
1026 ch->ccw[4].count = skb->len; in ctcm_chx_txretry()
1027 if (set_normalized_cda(&ch->ccw[4], skb->data)) { in ctcm_chx_txretry()
1042 ctcmpc_dumpit((char *)&ch->ccw[3], in ctcm_chx_txretry()
1045 rc = ccw_device_start(ch->cdev, &ch->ccw[3], in ctcm_chx_txretry()
1259 clear_normalized_cda(&ch->ccw[4]); in ctcmpc_chx_txdone()
1341 clear_normalized_cda(&ch->ccw[1]); in ctcmpc_chx_txdone()
1344 (void *)(unsigned long)ch->ccw[1].cda, in ctcmpc_chx_txdone()
1346 ch->ccw[1].count = ch->max_bufsize; in ctcmpc_chx_txdone()
1348 if (set_normalized_cda(&ch->ccw[1], ch->trans_skb->data)) { in ctcmpc_chx_txdone()
1359 (void *)(unsigned long)ch->ccw[1].cda, in ctcmpc_chx_txdone()
1362 ch->ccw[1].count = ch->trans_skb->len; in ctcmpc_chx_txdone()
1366 ctcmpc_dumpit((char *)&ch->ccw[0], sizeof(struct ccw1) * 3); in ctcmpc_chx_txdone()
1367 rc = ccw_device_start(ch->cdev, &ch->ccw[0], in ctcmpc_chx_txdone()
1461 ch->ccw[1].count = ch->max_bufsize; in ctcmpc_chx_rx()
1463 ctcmpc_dumpit((char *)&ch->ccw[0], in ctcmpc_chx_rx()
1469 rc = ccw_device_start(ch->cdev, &ch->ccw[0], in ctcmpc_chx_rx()
1571 ch->ccw[1].count = ch->max_bufsize; in ctcmpc_chx_rxidle()
1572 CTCM_CCW_DUMP((char *)&ch->ccw[0], sizeof(struct ccw1) * 3); in ctcmpc_chx_rxidle()
1576 rc = ccw_device_start(ch->cdev, &ch->ccw[0], in ctcmpc_chx_rxidle()
1796 if (set_normalized_cda(&wch->ccw[4], skb->data)) { in ctcmpc_chx_send_sweep()
1808 wch->ccw[4].count = skb->len; in ctcmpc_chx_send_sweep()
1822 CTCM_CCW_DUMP((char *)&wch->ccw[3], sizeof(struct ccw1) * 3); in ctcmpc_chx_send_sweep()
1831 rc = ccw_device_start(wch->cdev, &wch->ccw[3], in ctcmpc_chx_send_sweep()