Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/staging/lustre/lustre/lov/
Dlov_dev.c358 __u32 sub_size; in lov_expand_targets() local
362 sub_size = dev->ld_target_nr; in lov_expand_targets()
363 if (sub_size < tgt_size) { in lov_expand_targets()
375 if (sub_size > 0) { in lov_expand_targets()
376 memcpy(newd, dev->ld_target, sub_size * sz); in lov_expand_targets()
383 lov_emerg_free(dev->ld_emrg, sub_size); in lov_expand_targets()
/linux-4.4.14/drivers/staging/most/hdm-dim2/
Ddim2_hdm.c524 u16 const sub_size = ccfg->subbuffer_size; in configure_channel() local
566 new_size = DIM_NormIsocBufferSize(buf_size, sub_size); in configure_channel()
577 hal_ret = DIM_InitIsoc(&hdm_ch->ch, is_tx, ch_addr, sub_size); in configure_channel()
580 new_size = DIM_NormSyncBufferSize(buf_size, sub_size); in configure_channel()
591 hal_ret = DIM_InitSync(&hdm_ch->ch, is_tx, ch_addr, sub_size); in configure_channel()
/linux-4.4.14/drivers/staging/most/hdm-usb/
Dhdm_usb.c238 unsigned int sub_size = cfg->subbuffer_size; in get_stream_frame_size() local
240 if (!sub_size) { in get_stream_frame_size()
246 frame_size = AV_PACKETS_PER_XACT * sub_size; in get_stream_frame_size()
253 frame_size = (USB_MTU / sub_size) * sub_size; in get_stream_frame_size()
255 frame_size = cfg->packets_per_xact * sub_size; in get_stream_frame_size()