Home
last modified time | relevance | path

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

/linux/drivers/pci/endpoint/functions/
H A Dpci-epf-ntb.c94 u32 spad_size; member
806 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() local
1030 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 …]
H A Dpci-epf-vntb.c133 u32 spad_size; member
414 u32 spad_size, ctrl_size; in epf_ntb_config_spad_bar_alloc() local
434 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()