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()
1028 max_bufsize = priv->channel[CTCM_READ]->max_bufsize; in ctcm_change_mtu()
1221 if (priv->channel[CTCM_READ]->cdev == cdev) in ctcm_irq_handler()
1222 ch = priv->channel[CTCM_READ]; in ctcm_irq_handler()
1580 for (direction = CTCM_READ; direction <= CTCM_WRITE; direction++) { in ctcm_new_device()
1582 channel_get(type, direction == CTCM_READ ? in ctcm_new_device()
1586 channel_free(priv->channel[CTCM_READ]); in ctcm_new_device()
1606 priv->channel[CTCM_READ]->id, in ctcm_new_device()
1611 priv->channel[CTCM_READ]->id, in ctcm_new_device()
1622 readc = channel_get(type, read_id, CTCM_READ); in ctcm_new_device()
1647 if (priv->channel[CTCM_READ]) { in ctcm_shutdown_device()
1648 dev = priv->channel[CTCM_READ]->netdev; in ctcm_shutdown_device()
1653 channel_free(priv->channel[CTCM_READ]); in ctcm_shutdown_device()
1670 channel_remove(priv->channel[CTCM_READ]); in ctcm_shutdown_device()
1672 priv->channel[CTCM_READ] = priv->channel[CTCM_WRITE] = NULL; in ctcm_shutdown_device()