Lines Matching refs:ctrl_size
1001 u32 spad_size, ctrl_size; in epf_ntb_config_spad_bar_alloc() local
1029 ctrl_size = sizeof(struct epf_ntb_ctrl); in epf_ntb_config_spad_bar_alloc()
1035 ctrl_size = ALIGN(ctrl_size, 8); in epf_ntb_config_spad_bar_alloc()
1036 ntb_epc->msix_table_offset = ctrl_size; in epf_ntb_config_spad_bar_alloc()
1040 ctrl_size = ctrl_size + msix_table_size + pba_size; in epf_ntb_config_spad_bar_alloc()
1044 ctrl_size = roundup_pow_of_two(ctrl_size); in epf_ntb_config_spad_bar_alloc()
1047 ctrl_size = ALIGN(ctrl_size, align); 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()
1066 size = ctrl_size + spad_size; in epf_ntb_config_spad_bar_alloc()
1067 else if (size < ctrl_size + spad_size) in epf_ntb_config_spad_bar_alloc()
1080 ctrl->spad_offset = ctrl_size; in epf_ntb_config_spad_bar_alloc()