Searched refs:mw_idx (Results 1 - 4 of 4) sorted by relevance
/freebsd-11-stable/sys/dev/ntb/ |
H A D | ntb.h | 172 int ntb_mw_get_range(device_t ntb, unsigned mw_idx, vm_paddr_t *base, 192 int ntb_mw_set_trans(device_t ntb, unsigned mw_idx, bus_addr_t addr, 205 int ntb_mw_clear_trans(device_t ntb, unsigned mw_idx); 215 int ntb_mw_get_wc(device_t ntb, unsigned mw_idx, vm_memattr_t *mode); 227 int ntb_mw_set_wc(device_t ntb, unsigned mw_idx, vm_memattr_t mode);
|
H A D | ntb.c | 360 ntb_mw_get_range(device_t ntb, unsigned mw_idx, vm_paddr_t *base, argument 366 return (NTB_MW_GET_RANGE(device_get_parent(ntb), mw_idx + nc->mwoff, 371 ntb_mw_set_trans(device_t ntb, unsigned mw_idx, bus_addr_t addr, size_t size) argument 375 return (NTB_MW_SET_TRANS(device_get_parent(ntb), mw_idx + nc->mwoff, 380 ntb_mw_clear_trans(device_t ntb, unsigned mw_idx) argument 384 return (NTB_MW_CLEAR_TRANS(device_get_parent(ntb), mw_idx + nc->mwoff)); 388 ntb_mw_get_wc(device_t ntb, unsigned mw_idx, vm_memattr_t *mode) argument 392 return (NTB_MW_GET_WC(device_get_parent(ntb), mw_idx + nc->mwoff, mode)); 396 ntb_mw_set_wc(device_t ntb, unsigned mw_idx, vm_memattr_t mode) argument 400 return (NTB_MW_SET_WC(device_get_parent(ntb), mw_idx [all...] |
/freebsd-11-stable/sys/dev/ntb/ntb_hw/ |
H A D | ntb_hw_plx.c | 146 static int ntb_plx_mw_set_trans_internal(device_t dev, unsigned mw_idx); 594 ntb_plx_mw_get_range(device_t dev, unsigned mw_idx, vm_paddr_t *base, argument 603 mw_idx = ntb_plx_user_mw_to_idx(sc, mw_idx, &sp); 604 if (mw_idx >= sc->mw_count) 607 if (mw_idx == sc->b2b_mw) { 612 mw = &sc->mw_info[mw_idx]; 663 ntb_plx_mw_set_trans_internal(device_t dev, unsigned mw_idx) argument 671 mw = &sc->mw_info[mw_idx]; 672 off = (mw_idx 754 ntb_plx_mw_set_trans(device_t dev, unsigned mw_idx, bus_addr_t addr, size_t size) argument 774 ntb_plx_mw_clear_trans(device_t dev, unsigned mw_idx) argument 781 ntb_plx_mw_get_wc(device_t dev, unsigned mw_idx, vm_memattr_t *mode) argument 796 ntb_plx_mw_set_wc(device_t dev, unsigned mw_idx, vm_memattr_t mode) argument [all...] |
H A D | ntb_hw_intel.c | 2796 intel_ntb_mw_get_range(device_t dev, unsigned mw_idx, vm_paddr_t *base, argument 2806 if (mw_idx >= intel_ntb_mw_count(dev)) 2808 mw_idx = intel_ntb_user_mw_to_idx(ntb, mw_idx); 2810 bar_num = intel_ntb_mw_to_bar(ntb, mw_idx); 2813 if (mw_idx == ntb->b2b_mw_idx) { 2928 intel_ntb_mw_clear_trans(device_t dev, unsigned mw_idx) argument 2931 return (intel_ntb_mw_set_trans(dev, mw_idx, 0, 0));
|
Completed in 73 milliseconds