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()
988 max_bufsize = priv->channel[CTCM_READ]->max_bufsize; in ctcm_change_mtu()
1181 if (priv->channel[CTCM_READ]->cdev == cdev) in ctcm_irq_handler()
1182 ch = priv->channel[CTCM_READ]; in ctcm_irq_handler()
1540 for (direction = CTCM_READ; direction <= CTCM_WRITE; direction++) { in ctcm_new_device()
1542 channel_get(type, direction == CTCM_READ ? in ctcm_new_device()
1546 channel_free(priv->channel[CTCM_READ]); in ctcm_new_device()
1566 priv->channel[CTCM_READ]->id, in ctcm_new_device()
1571 priv->channel[CTCM_READ]->id, in ctcm_new_device()
1582 readc = channel_get(type, read_id, CTCM_READ); in ctcm_new_device()
1607 if (priv->channel[CTCM_READ]) { in ctcm_shutdown_device()
1608 dev = priv->channel[CTCM_READ]->netdev; in ctcm_shutdown_device()
1613 channel_free(priv->channel[CTCM_READ]); in ctcm_shutdown_device()
1630 channel_remove(priv->channel[CTCM_READ]); in ctcm_shutdown_device()
1632 priv->channel[CTCM_READ] = priv->channel[CTCM_WRITE] = NULL; in ctcm_shutdown_device()