Home
last modified time | relevance | path

Searched refs:basepa (Results 1 – 20 of 20) sorted by relevance

/titanic_41/usr/src/uts/sun4u/starfire/os/
H A Dpda.c142 uint64_t basepa, endpa; in pda_get_mem_size() local
150 basepa = mc_asr_to_pa(asr); in pda_get_mem_size()
155 basepa &= ~(endpa - 1); in pda_get_mem_size()
156 endpa += basepa; in pda_get_mem_size()
157 basepfn = (pfn_t)(basepa >> PAGESHIFT); in pda_get_mem_size()
185 pda_mem_add_span(pda_handle_t ph, uint64_t basepa, uint64_t nbytes) in pda_mem_add_span() argument
194 a_pfn = (pfn_t)(basepa >> BDA_PAGESHIFT); in pda_mem_add_span()
220 pda_mem_del_span(pda_handle_t ph, uint64_t basepa, uint64_t nbytes) in pda_mem_del_span() argument
230 d_pfn = (pfn_t)(basepa >> BDA_PAGESHIFT); in pda_mem_del_span()
/titanic_41/usr/src/uts/i86pc/sys/
H A Ddrmach.h147 uint64_t *basepa, uint64_t *endpa,
155 uint64_t basepa, uint64_t size);
157 uint64_t basepa, uint64_t size);
/titanic_41/usr/src/uts/sun4u/starfire/sys/
H A Dpda.h210 uint64_t basepa,
213 uint64_t basepa,
H A Ddrmach.h130 uint64_t basepa, uint64_t size);
132 uint64_t basepa, uint64_t size);
/titanic_41/usr/src/uts/sun4u/starcat/sys/
H A Ddrmach.h139 uint64_t basepa, uint64_t size);
141 uint64_t basepa, uint64_t size);
/titanic_41/usr/src/uts/sun4u/opl/sys/
H A Ddrmach.h340 uint64_t basepa, uint64_t size);
342 uint64_t basepa, uint64_t size);
/titanic_41/usr/src/uts/i86pc/io/dr/
H A Ddr_mem_acpi.c106 uint64_t basepa = _ptob64(mp->sbm_basepfn); in dr_get_memlist() local
111 basepa &= ~mp->sbm_alignment_mask; in dr_get_memlist()
120 mlist = memlist_del_span(mlist, 0ull, basepa); in dr_get_memlist()
H A Ddr.c2920 uint64_t basepa, endpa; in dr_check_unit_attached() local
2943 &basepa, &endpa, NULL); in dr_check_unit_attached()
2956 (basepa >= (ml->ml_address + ml->ml_size))) in dr_check_unit_attached()
/titanic_41/usr/src/uts/sun4u/sys/
H A Dsbd.h67 uint64_t *basepa; member
H A Dsbdpriv.h717 uint64_t *basepa);
/titanic_41/usr/src/uts/sun4u/ngdr/io/
H A Ddr_mem.c113 uint64_t basepa = _ptob64(mp->sbm_basepfn); in dr_get_memlist() local
118 basepa &= ~(mp->sbm_slice_size - 1); in dr_get_memlist()
127 mlist = memlist_del_span(mlist, 0ull, basepa); in dr_get_memlist()
133 basepa += mp->sbm_slice_size; in dr_get_memlist()
135 if (endpa > basepa) in dr_get_memlist()
138 basepa, in dr_get_memlist()
139 endpa - basepa); in dr_get_memlist()
H A Ddr.c2951 uint64_t basepa, endpa; in dr_check_unit_attached() local
2973 err = drmach_mem_get_base_physaddr(cp->sbdev_id, &basepa); in dr_check_unit_attached()
2990 basepa &= ~(endpa - 1); in dr_check_unit_attached()
2991 endpa += basepa; in dr_check_unit_attached()
2999 (basepa >= (ml->ml_address + ml->ml_size))) in dr_check_unit_attached()
/titanic_41/usr/src/uts/sun4u/opl/io/
H A Ddr_mem.c136 uint64_t basepa = _ptob64(mp->sbm_basepfn); in dr_get_memlist() local
141 basepa &= ~(mp->sbm_slice_size - 1); in dr_get_memlist()
150 mlist = memlist_del_span(mlist, 0ull, basepa); in dr_get_memlist()
156 basepa += mp->sbm_slice_size; in dr_get_memlist()
158 if (endpa > basepa) in dr_get_memlist()
160 mlist, basepa, in dr_get_memlist()
161 endpa - basepa); in dr_get_memlist()
H A Ddrmach.c428 uint64_t basepa, endpa; in drmach_setup_mc_info() local
431 basepa = mp->slice_base + mp->slice_size; in drmach_setup_mc_info()
433 ml = memlist_del_span(ml, basepa, endpa - basepa); in drmach_setup_mc_info()
2276 drmach_mem_add_span(drmachid_t id, uint64_t basepa, uint64_t size) in drmach_mem_add_span() argument
2278 pfn_t basepfn = (pfn_t)(basepa >> PAGESHIFT); in drmach_mem_add_span()
2307 drmach_mem_del_span(drmachid_t id, uint64_t basepa, uint64_t size) in drmach_mem_del_span() argument
2309 pfn_t basepfn = (pfn_t)(basepa >> PAGESHIFT); in drmach_mem_del_span()
H A Dmc-opl.c2905 uint64_t basepa; in mc_resume() local
2912 basepa = mcp->mc_start_address; in mc_resume()
2918 if (basepa != mcp->mc_start_address) { in mc_resume()
/titanic_41/usr/src/uts/sun4u/io/
H A Dsbd.c3846 uint64_t basepa, endpa; in sbd_check_unit_attached() local
3869 if (sbdphw_get_base_physaddr(hdp, dip, &basepa)) { in sbd_check_unit_attached()
3877 basepa &= ~(endpa - 1); in sbd_check_unit_attached()
3878 endpa += basepa; in sbd_check_unit_attached()
3885 (basepa >= (ml->ml_address + ml->ml_size))) in sbd_check_unit_attached()
4706 uint64_t basepa, endpa; in sbd_board_discovery() local
4717 if (sbdphw_get_base_physaddr(hdp, dip, &basepa)) { in sbd_board_discovery()
4736 basepa &= ~(endpa - 1); in sbd_board_discovery()
4737 endpa += basepa; in sbd_board_discovery()
4745 (basepa >= (ml->ml_address + ml->ml_size))) in sbd_board_discovery()
H A Dsbd_mem.c1423 uint64_t basepa; in sbd_init_mem_unit_data() local
1439 if (sbdphw_get_base_physaddr(hdp, mp->sbm_cm.sbdev_dip, &basepa)) { in sbd_init_mem_unit_data()
1449 mp->sbm_basepfn = _b64top(basepa); in sbd_init_mem_unit_data()
/titanic_41/usr/src/uts/sun4u/starfire/io/
H A Ddrmach.c2937 drmach_mem_add_span(drmachid_t id, uint64_t basepa, uint64_t size) in drmach_mem_add_span() argument
2939 pfn_t basepfn = (pfn_t)(basepa >> PAGESHIFT); in drmach_mem_add_span()
2967 pda_mem_add_span(ph, basepa, size); in drmach_mem_add_span()
2975 drmach_mem_del_span(drmachid_t id, uint64_t basepa, uint64_t size) in drmach_mem_del_span() argument
2978 pfn_t basepfn = (pfn_t)(basepa >> PAGESHIFT); in drmach_mem_del_span()
3010 pda_mem_del_span(ph, basepa, size); in drmach_mem_del_span()
/titanic_41/usr/src/uts/i86pc/io/acpi/drmach_acpi/
H A Ddrmach_acpi.c2585 drmach_mem_add_span(drmachid_t id, uint64_t basepa, uint64_t size) in drmach_mem_add_span() argument
2587 _NOTE(ARGUNUSED(basepa)); in drmach_mem_add_span()
/titanic_41/usr/src/uts/sun4u/starcat/io/
H A Ddrmach.c6391 drmach_mem_add_span(drmachid_t id, uint64_t basepa, uint64_t size) in drmach_mem_add_span() argument
6393 pfn_t basepfn = (pfn_t)(basepa >> PAGESHIFT); in drmach_mem_add_span()
6418 drmach_mem_del_span(drmachid_t id, uint64_t basepa, uint64_t size) in drmach_mem_del_span() argument
6420 pfn_t basepfn = (pfn_t)(basepa >> PAGESHIFT); in drmach_mem_del_span()