Lines Matching defs:stride
412 unsigned int stride = instance->rx_channel.stride;
416 * the length of avail data may not be a multiple of stride */
421 unsigned int space_left = stride - buf_usage;
438 for (; avail_data >= stride; avail_data -= stride, source += stride)
442 /* length was not a multiple of stride -
461 unsigned int stride = instance->tx_channel.stride;
464 bytes_written += stride, target += stride) {
1076 instance->rx_channel.stride = ATM_CELL_SIZE + driver->rx_padding;
1077 instance->tx_channel.stride = ATM_CELL_SIZE + driver->tx_padding;
1087 /* tx buffer size must be a positive multiple of the stride */
1088 instance->tx_channel.buf_size = max(instance->tx_channel.stride,
1089 snd_buf_bytes - (snd_buf_bytes % instance->tx_channel.stride));
1164 instance->cell_buf = kmalloc(instance->rx_channel.stride, GFP_KERNEL);