Lines Matching refs:CTCM_READ
390 (CHANNEL_DIRECTION(ch->flags) == CTCM_READ) ? in ctcm_ch_alloc_buffer()
402 (CHANNEL_DIRECTION(ch->flags) == CTCM_READ) ? in ctcm_ch_alloc_buffer()
615 grp->sweep_rsp_pend_num = grp->active_channels[CTCM_READ]; in ctcmpc_send_sweep_req()
616 grp->sweep_req_pend_num = grp->active_channels[CTCM_READ]; in ctcmpc_send_sweep_req()
1035 max_bufsize = priv->channel[CTCM_READ]->max_bufsize; in ctcm_change_mtu()
1228 if (priv->channel[CTCM_READ]->cdev == cdev) in ctcm_irq_handler()
1229 ch = priv->channel[CTCM_READ]; in ctcm_irq_handler()
1587 for (direction = CTCM_READ; direction <= CTCM_WRITE; direction++) { in ctcm_new_device()
1589 channel_get(type, direction == CTCM_READ ? in ctcm_new_device()
1593 channel_free(priv->channel[CTCM_READ]); in ctcm_new_device()
1613 priv->channel[CTCM_READ]->id, in ctcm_new_device()
1618 priv->channel[CTCM_READ]->id, in ctcm_new_device()
1629 readc = channel_get(type, read_id, CTCM_READ); in ctcm_new_device()
1654 if (priv->channel[CTCM_READ]) { in ctcm_shutdown_device()
1655 dev = priv->channel[CTCM_READ]->netdev; in ctcm_shutdown_device()
1660 channel_free(priv->channel[CTCM_READ]); in ctcm_shutdown_device()
1677 channel_remove(priv->channel[CTCM_READ]); in ctcm_shutdown_device()
1679 priv->channel[CTCM_READ] = priv->channel[CTCM_WRITE] = NULL; in ctcm_shutdown_device()