Lines Matching refs:direction
252 char *id, int direction) in channel_get() argument
261 CTCM_FUNTAIL, type, id, direction); in channel_get()
268 ch->flags |= (direction == CTCM_WRITE) in channel_get()
1530 int direction; in ctcm_new_device() local
1591 for (direction = CTCM_READ; direction <= CTCM_WRITE; direction++) { in ctcm_new_device()
1592 priv->channel[direction] = in ctcm_new_device()
1593 channel_get(type, direction == CTCM_READ ? in ctcm_new_device()
1594 read_id : write_id, direction); in ctcm_new_device()
1595 if (priv->channel[direction] == NULL) { in ctcm_new_device()
1596 if (direction == CTCM_WRITE) in ctcm_new_device()
1600 priv->channel[direction]->netdev = dev; in ctcm_new_device()
1601 priv->channel[direction]->protocol = priv->protocol; in ctcm_new_device()
1602 priv->channel[direction]->max_bufsize = priv->buffer_size; in ctcm_new_device()