Searched refs:spad_size (Results 1 – 2 of 2) sorted by relevance
94 u32 spad_size; member806 epf_bar->size = peer_ntb_epc->spad_size; in epf_ntb_peer_spad_bar_set()1001 u32 spad_size, ctrl_size; in epf_ntb_config_spad_bar_alloc() local1030 spad_size = spad_count * 4; in epf_ntb_config_spad_bar_alloc()1045 spad_size = roundup_pow_of_two(spad_size); in epf_ntb_config_spad_bar_alloc()1048 spad_size = ALIGN(spad_size, align); in epf_ntb_config_spad_bar_alloc()1052 if (peer_size < spad_size) in epf_ntb_config_spad_bar_alloc()1054 spad_size = peer_size; in epf_ntb_config_spad_bar_alloc()1062 if (spad_size > ctrl_size) in epf_ntb_config_spad_bar_alloc()1063 ctrl_size = spad_size; in epf_ntb_config_spad_bar_alloc()[all …]
133 u32 spad_size; member414 u32 spad_size, ctrl_size; in epf_ntb_config_spad_bar_alloc() local434 spad_size = 2 * spad_count * sizeof(u32); in epf_ntb_config_spad_bar_alloc()438 spad_size = roundup_pow_of_two(spad_size); in epf_ntb_config_spad_bar_alloc()441 spad_size = ALIGN(spad_size, align); in epf_ntb_config_spad_bar_alloc()445 size = ctrl_size + spad_size; in epf_ntb_config_spad_bar_alloc()446 else if (size < ctrl_size + spad_size) in epf_ntb_config_spad_bar_alloc()462 ntb->spad_size = spad_size; in epf_ntb_config_spad_bar_alloc()