Lines Matching refs:CTCM_READ
389 (CHANNEL_DIRECTION(ch->flags) == CTCM_READ) ? in ctcm_ch_alloc_buffer()
401 (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()
1039 max_bufsize = priv->channel[CTCM_READ]->max_bufsize; in ctcm_change_mtu()
1230 if (priv->channel[CTCM_READ]->cdev == cdev) in ctcm_irq_handler()
1231 ch = priv->channel[CTCM_READ]; in ctcm_irq_handler()
1589 for (direction = CTCM_READ; direction <= CTCM_WRITE; direction++) { in ctcm_new_device()
1591 channel_get(type, direction == CTCM_READ ? in ctcm_new_device()
1595 channel_free(priv->channel[CTCM_READ]); in ctcm_new_device()
1614 priv->channel[CTCM_READ]->id, in ctcm_new_device()
1619 priv->channel[CTCM_READ]->id, in ctcm_new_device()
1630 readc = channel_get(type, read_id, CTCM_READ); in ctcm_new_device()
1655 if (priv->channel[CTCM_READ]) { in ctcm_shutdown_device()
1656 dev = priv->channel[CTCM_READ]->netdev; in ctcm_shutdown_device()
1661 channel_free(priv->channel[CTCM_READ]); in ctcm_shutdown_device()
1679 if (priv->channel[CTCM_READ]) in ctcm_shutdown_device()
1680 channel_remove(priv->channel[CTCM_READ]); in ctcm_shutdown_device()
1683 priv->channel[CTCM_READ] = priv->channel[CTCM_WRITE] = NULL; in ctcm_shutdown_device()
1711 netif_device_detach(priv->channel[CTCM_READ]->netdev); in ctcm_pm_suspend()
1712 ctcm_close(priv->channel[CTCM_READ]->netdev); in ctcm_pm_suspend()
1715 netif_device_attach(priv->channel[CTCM_READ]->netdev); in ctcm_pm_suspend()
1736 ctcm_open(priv->channel[CTCM_READ]->netdev); in ctcm_pm_resume()
1738 netif_device_attach(priv->channel[CTCM_READ]->netdev); in ctcm_pm_resume()