Home
last modified time | relevance | path

Searched refs:USB_MTU (Results 1 – 1 of 1) sorted by relevance

/linux-4.4.14/drivers/staging/most/hdm-usb/
Dhdm_usb.c35 #define USB_MTU 512 macro
253 frame_size = (USB_MTU / sub_size) * sub_size; in get_stream_frame_size()
332 wr_addr = (num_frames - j) * USB_MTU; in hdm_add_padding()
338 mbo->buffer_length = num_frames * USB_MTU; in hdm_add_padding()
360 num_frames = mbo->processed_length / USB_MTU; in hdm_remove_padding()
364 mbo->virt_address + USB_MTU * j, in hdm_remove_padding()
766 if ((frame_size == 0) || (frame_size > USB_MTU)) { in hdm_configure_channel()
784 tail_space = num_frames * (USB_MTU - frame_size); in hdm_configure_channel()
788 conf->extra_len = (CEILING(temp_size, USB_MTU) * USB_MTU) in hdm_configure_channel()