Lines Matching refs:CTCM_WRITE
269 ch->flags |= (direction == CTCM_WRITE) in channel_get()
609 ch = priv->channel[CTCM_WRITE]; in ctcmpc_send_sweep_req()
914 if (ctcm_transmit_skb(priv->channel[CTCM_WRITE], skb) != 0) in ctcm_tx()
997 if (ctcmpc_transmit_skb(priv->channel[CTCM_WRITE], skb) != 0) { in ctcmpc_tx()
1230 else if (priv->channel[CTCM_WRITE]->cdev == cdev) in ctcm_irq_handler()
1231 ch = priv->channel[CTCM_WRITE]; in ctcm_irq_handler()
1587 for (direction = CTCM_READ; direction <= CTCM_WRITE; direction++) { in ctcm_new_device()
1592 if (direction == CTCM_WRITE) in ctcm_new_device()
1614 priv->channel[CTCM_WRITE]->id, priv->protocol); in ctcm_new_device()
1619 priv->channel[CTCM_WRITE]->id, priv->protocol); in ctcm_new_device()
1632 writec = channel_get(type, write_id, CTCM_WRITE); in ctcm_new_device()
1664 if (priv->channel[CTCM_WRITE]) in ctcm_shutdown_device()
1665 channel_free(priv->channel[CTCM_WRITE]); in ctcm_shutdown_device()
1678 channel_remove(priv->channel[CTCM_WRITE]); in ctcm_shutdown_device()
1679 priv->channel[CTCM_READ] = priv->channel[CTCM_WRITE] = NULL; in ctcm_shutdown_device()