Lines Matching refs:num_frames
280 unsigned int j, num_frames; in hdm_add_padding() local
284 num_frames = mbo->buffer_length / frame_size; in hdm_add_padding()
286 if (num_frames < 1) { in hdm_add_padding()
292 for (j = num_frames - 1; j > 0; j--) in hdm_add_padding()
296 mbo->buffer_length = num_frames * USB_MTU; in hdm_add_padding()
314 unsigned int j, num_frames; in hdm_remove_padding() local
318 num_frames = mbo->processed_length / USB_MTU; in hdm_remove_padding()
320 for (j = 1; j < num_frames; j++) in hdm_remove_padding()
325 mbo->processed_length = frame_size * num_frames; in hdm_remove_padding()
569 unsigned int num_frames; in hdm_configure_channel() local
613 num_frames = conf->buffer_size / frame_size; in hdm_configure_channel()
618 conf->buffer_size = num_frames * frame_size; in hdm_configure_channel()
624 conf->extra_len = num_frames * (USB_MTU - frame_size); in hdm_configure_channel()