Searched refs:mw_size (Results 1 – 5 of 5) sorted by relevance
35 resource_size_t mw_size; in ntb_msi_init() local58 &mw_size); in ntb_msi_init()63 mw_size); in ntb_msi_init()103 resource_size_t mw_size = SZ_32K; in ntb_msi_setup_mws() local104 resource_size_t mw_min_size = mw_size; in ntb_msi_setup_mws()139 mw_size = round_up(mw_size, size_align); in ntb_msi_setup_mws()140 mw_size = max(mw_size, size_max); in ntb_msi_setup_mws()141 if (mw_size < mw_min_size) in ntb_msi_setup_mws()142 mw_min_size = mw_size; in ntb_msi_setup_mws()145 addr, mw_size); in ntb_msi_setup_mws()
1163 resource_size_t mw_size; in ntb_transport_init_queue() local1187 mw_size = nt->mw_vec[mw_num].phys_size; in ntb_transport_init_queue()1189 if (max_mw_size && mw_size > max_mw_size) in ntb_transport_init_queue()1190 mw_size = max_mw_size; in ntb_transport_init_queue()1192 tx_size = (unsigned int)mw_size / num_qps_mw; in ntb_transport_init_queue()
449 resource_size_t bar_size, mw_size; in intel_ntb3_mw_set_trans() local467 mw_size = bar_size - ndev->b2b_off; in intel_ntb3_mw_set_trans()469 mw_size = bar_size; in intel_ntb3_mw_set_trans()476 if (size > mw_size) in intel_ntb3_mw_set_trans()485 if (limit_reg && size != mw_size) in intel_ntb3_mw_set_trans()488 limit = base + mw_size; in intel_ntb3_mw_set_trans()516 if (limit_reg && size != mw_size) in intel_ntb3_mw_set_trans()519 limit = base + mw_size; in intel_ntb3_mw_set_trans()
807 resource_size_t bar_size, mw_size; in intel_ntb_mw_get_align() local823 mw_size = bar_size - ndev->b2b_off; in intel_ntb_mw_get_align()825 mw_size = bar_size; in intel_ntb_mw_get_align()834 *size_max = mw_size; in intel_ntb_mw_get_align()844 resource_size_t bar_size, mw_size; in intel_ntb_mw_set_trans() local862 mw_size = bar_size - ndev->b2b_off; in intel_ntb_mw_set_trans()864 mw_size = bar_size; in intel_ntb_mw_set_trans()871 if (size > mw_size) in intel_ntb_mw_set_trans()883 if (limit_reg && size != mw_size) in intel_ntb_mw_set_trans()914 if (limit_reg && size != mw_size) in intel_ntb_mw_set_trans()
124 resource_size_t mw_size; in amd_ntb_mw_set_trans() local136 mw_size = pci_resource_len(ntb->pdev, bar); in amd_ntb_mw_set_trans()139 if (size > mw_size) in amd_ntb_mw_set_trans()