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()
907 if (ctcm_transmit_skb(priv->channel[CTCM_WRITE], skb) != 0) in ctcm_tx()
990 if (ctcmpc_transmit_skb(priv->channel[CTCM_WRITE], skb) != 0) { in ctcmpc_tx()
1223 else if (priv->channel[CTCM_WRITE]->cdev == cdev) in ctcm_irq_handler()
1224 ch = priv->channel[CTCM_WRITE]; in ctcm_irq_handler()
1580 for (direction = CTCM_READ; direction <= CTCM_WRITE; direction++) { in ctcm_new_device()
1585 if (direction == CTCM_WRITE) in ctcm_new_device()
1607 priv->channel[CTCM_WRITE]->id, priv->protocol); in ctcm_new_device()
1612 priv->channel[CTCM_WRITE]->id, priv->protocol); in ctcm_new_device()
1625 writec = channel_get(type, write_id, CTCM_WRITE); in ctcm_new_device()
1657 if (priv->channel[CTCM_WRITE]) in ctcm_shutdown_device()
1658 channel_free(priv->channel[CTCM_WRITE]); in ctcm_shutdown_device()
1671 channel_remove(priv->channel[CTCM_WRITE]); in ctcm_shutdown_device()
1672 priv->channel[CTCM_READ] = priv->channel[CTCM_WRITE] = NULL; in ctcm_shutdown_device()