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()
867 if (ctcm_transmit_skb(priv->channel[CTCM_WRITE], skb) != 0) in ctcm_tx()
950 if (ctcmpc_transmit_skb(priv->channel[CTCM_WRITE], skb) != 0) { in ctcmpc_tx()
1183 else if (priv->channel[CTCM_WRITE]->cdev == cdev) in ctcm_irq_handler()
1184 ch = priv->channel[CTCM_WRITE]; in ctcm_irq_handler()
1540 for (direction = CTCM_READ; direction <= CTCM_WRITE; direction++) { in ctcm_new_device()
1545 if (direction == CTCM_WRITE) in ctcm_new_device()
1567 priv->channel[CTCM_WRITE]->id, priv->protocol); in ctcm_new_device()
1572 priv->channel[CTCM_WRITE]->id, priv->protocol); in ctcm_new_device()
1585 writec = channel_get(type, write_id, CTCM_WRITE); in ctcm_new_device()
1617 if (priv->channel[CTCM_WRITE]) in ctcm_shutdown_device()
1618 channel_free(priv->channel[CTCM_WRITE]); in ctcm_shutdown_device()
1631 channel_remove(priv->channel[CTCM_WRITE]); in ctcm_shutdown_device()
1632 priv->channel[CTCM_READ] = priv->channel[CTCM_WRITE] = NULL; in ctcm_shutdown_device()