Home
last modified time | relevance | path

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

/openbmc/linux/drivers/most/
H A Dmost_usb.c197 unsigned int sub_size = cfg->subbuffer_size; in get_stream_frame_size() local
199 if (!sub_size) { in get_stream_frame_size()
205 frame_size = AV_PACKETS_PER_XACT * sub_size; in get_stream_frame_size()
212 frame_size = (USB_MTU / sub_size) * sub_size; in get_stream_frame_size()
214 frame_size = cfg->packets_per_xact * sub_size; in get_stream_frame_size()
/openbmc/linux/drivers/staging/most/dim2/
H A Ddim2.c450 u16 const sub_size = ccfg->subbuffer_size; in configure_channel() local
499 new_size = dim_norm_isoc_buffer_size(buf_size, sub_size); in configure_channel()
510 hal_ret = dim_init_isoc(&hdm_ch->ch, is_tx, ch_addr, sub_size); in configure_channel()
513 new_size = dim_norm_sync_buffer_size(buf_size, sub_size); in configure_channel()
524 hal_ret = dim_init_sync(&hdm_ch->ch, is_tx, ch_addr, sub_size); in configure_channel()