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()
1232 if (priv->channel[CTCM_READ]->cdev == cdev) in ctcm_irq_handler()
1233 ch = priv->channel[CTCM_READ]; in ctcm_irq_handler()
1591 for (direction = CTCM_READ; direction <= CTCM_WRITE; direction++) { in ctcm_new_device()
1593 channel_get(type, direction == CTCM_READ ? in ctcm_new_device()
1597 channel_free(priv->channel[CTCM_READ]); in ctcm_new_device()
1616 priv->channel[CTCM_READ]->id, in ctcm_new_device()
1621 priv->channel[CTCM_READ]->id, in ctcm_new_device()
1632 readc = channel_get(type, read_id, CTCM_READ); in ctcm_new_device()
1657 if (priv->channel[CTCM_READ]) { in ctcm_shutdown_device()
1658 dev = priv->channel[CTCM_READ]->netdev; in ctcm_shutdown_device()
1663 channel_free(priv->channel[CTCM_READ]); in ctcm_shutdown_device()
1680 channel_remove(priv->channel[CTCM_READ]); in ctcm_shutdown_device()
1682 priv->channel[CTCM_READ] = priv->channel[CTCM_WRITE] = NULL; in ctcm_shutdown_device()
1710 netif_device_detach(priv->channel[CTCM_READ]->netdev); in ctcm_pm_suspend()
1711 ctcm_close(priv->channel[CTCM_READ]->netdev); in ctcm_pm_suspend()
1714 netif_device_attach(priv->channel[CTCM_READ]->netdev); in ctcm_pm_suspend()
1735 ctcm_open(priv->channel[CTCM_READ]->netdev); in ctcm_pm_resume()
1737 netif_device_attach(priv->channel[CTCM_READ]->netdev); in ctcm_pm_resume()