Home
last modified time | relevance | path

Searched refs:mw_size (Results 1 – 4 of 4) sorted by relevance

/linux-4.19.296/drivers/ntb/hw/intel/
Dntb_hw_gen3.c449 resource_size_t bar_size, mw_size; in intel_ntb3_mw_set_trans() local
467 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()
Dntb_hw_gen1.c809 resource_size_t bar_size, mw_size; in intel_ntb_mw_get_align() local
825 mw_size = bar_size - ndev->b2b_off; in intel_ntb_mw_get_align()
827 mw_size = bar_size; in intel_ntb_mw_get_align()
836 *size_max = mw_size; in intel_ntb_mw_get_align()
846 resource_size_t bar_size, mw_size; in intel_ntb_mw_set_trans() local
864 mw_size = bar_size - ndev->b2b_off; in intel_ntb_mw_set_trans()
866 mw_size = bar_size; in intel_ntb_mw_set_trans()
873 if (size > mw_size) in intel_ntb_mw_set_trans()
885 if (limit_reg && size != mw_size) in intel_ntb_mw_set_trans()
916 if (limit_reg && size != mw_size) in intel_ntb_mw_set_trans()
/linux-4.19.296/drivers/ntb/hw/amd/
Dntb_hw_amd.c124 resource_size_t mw_size; in amd_ntb_mw_set_trans() local
136 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()
/linux-4.19.296/drivers/ntb/
Dntb_transport.c987 resource_size_t mw_size; in ntb_transport_init_queue() local
1011 mw_size = nt->mw_vec[mw_num].phys_size; in ntb_transport_init_queue()
1013 if (max_mw_size && mw_size > max_mw_size) in ntb_transport_init_queue()
1014 mw_size = max_mw_size; in ntb_transport_init_queue()
1016 tx_size = (unsigned int)mw_size / num_qps_mw; in ntb_transport_init_queue()