/titanic_44/usr/src/uts/i86pc/io/dr/ |
H A D | dr_io.c | 74 err = drmach_configure(cp->sbdev_id, 0); in dr_attach_io() 78 err = drmach_io_post_attach(cp->sbdev_id); in dr_attach_io() 93 err = drmach_unconfigure(cp->sbdev_id, 0); in dr_detach_io() 96 err = drmach_unconfigure(cp->sbdev_id, DEVI_BRANCH_DESTROY); in dr_detach_io() 99 err = drmach_io_post_release(cp->sbdev_id); in dr_detach_io() 151 err = drmach_get_dip(ip->sbi_cm.sbdev_id, &dip); in dr_check_io_refs() 179 f, (uint_t)(uintptr_t)ip->sbi_cm.sbdev_id); in dr_check_io_refs() 200 ip->sbi_cm.sbdev_id)) != 0) { in dr_pre_release_io() 209 err = drmach_release(ip->sbi_cm.sbdev_id); in dr_pre_release_io() 225 err = drmach_io_unrelease(ip->sbi_cm.sbdev_id); in dr_pre_release_io() [all …]
|
H A D | dr_mem_acpi.c | 142 mp->sbm_cm.sbdev_id, &mlist); in dr_get_memlist() 174 err = drmach_configure(cp->sbdev_id, 0); in dr_attach_mem() 223 mp->sbm_cm.sbdev_id, mc->ml_address, mc->ml_size); in dr_attach_mem() 236 err = drmach_unconfigure(cp->sbdev_id, 0); in dr_attach_mem() 306 if (mp->sbm_cm.sbdev_id == (drmachid_t)0) in dr_mem_status() 310 err = drmach_status(mp->sbm_cm.sbdev_id, &pstat); in dr_mem_status() 384 mp->sbm_cm.sbdev_id)) { in dr_mem_status() 450 err = drmach_mem_enable(mp->sbm_cm.sbdev_id); in dr_pre_attach_mem() 508 mp->sbm_cm.sbdev_id, in dr_post_attach_mem() 599 } else if (mp->sbm_cm.sbdev_id != (drmachid_t)0) { in dr_init_mem_unit() [all …]
|
H A D | dr_cpu.c | 115 err = drmach_get_dip(cp->sbc_cm.sbdev_id, &dip); in dr_cpu_set_prop() 181 err = drmach_cpu_get_id(cp->sbc_cm.sbdev_id, &cpuid); in dr_init_cpu_unit() 188 err = drmach_cpu_get_impl(cp->sbc_cm.sbdev_id, &impl); in dr_init_cpu_unit() 266 err = drmach_configure(cp->sbdev_id, 0); in dr_attach_cpu() 272 err = drmach_cpu_get_id(cp->sbdev_id, &cpuid); in dr_attach_cpu() 276 err = drmach_unconfigure(cp->sbdev_id, DEVI_BRANCH_DESTROY); in dr_attach_cpu() 281 err = drmach_unconfigure(cp->sbdev_id, DEVI_BRANCH_DESTROY); in dr_attach_cpu() 433 err = drmach_release(up->sbc_cm.sbdev_id); in dr_pre_release_cpu() 565 err = drmach_cpu_get_id(cp->sbdev_id, &cpuid); in dr_detach_cpu() 571 err = drmach_unconfigure(cp->sbdev_id, DEVI_BRANCH_DESTROY); in dr_detach_cpu() [all …]
|
H A D | dr.c | 1543 ASSERT(cp->sbdev_id != (drmachid_t)0); in dr_dev_is_target() 2840 dp->du_common.sbdev_id = id; in dr_dev_found() 2929 err = drmach_cpu_get_id(cp->sbdev_id, &cpuid); in dr_check_unit_attached() 2942 err = drmach_mem_get_slice_info(cp->sbdev_id, in dr_check_unit_attached() 2966 err = drmach_io_is_attached(cp->sbdev_id, &yes); in dr_check_unit_attached() 2977 f, cp->sbdev_type, cp->sbdev_id); in dr_check_unit_attached() 3013 id = cp->sbdev_id; in dr_pt_try_drmach()
|
/titanic_44/usr/src/uts/sun4u/ngdr/io/ |
H A D | dr_io.c | 96 err = drmach_configure(cp->sbdev_id, 0); in dr_attach_io() 100 err = drmach_io_post_attach(cp->sbdev_id); in dr_attach_io() 115 err = drmach_unconfigure(cp->sbdev_id, 0); in dr_detach_io() 118 err = drmach_unconfigure(cp->sbdev_id, DEVI_BRANCH_DESTROY); in dr_detach_io() 121 err = drmach_io_post_release(cp->sbdev_id); in dr_detach_io() 173 err = drmach_get_dip(ip->sbi_cm.sbdev_id, &dip); in dr_check_io_refs() 201 f, (uint_t)(uintptr_t)ip->sbi_cm.sbdev_id); in dr_check_io_refs() 222 ip->sbi_cm.sbdev_id)) != 0) { in dr_pre_release_io() 231 err = drmach_release(ip->sbi_cm.sbdev_id); in dr_pre_release_io() 247 err = drmach_io_unrelease(ip->sbi_cm.sbdev_id); in dr_pre_release_io() [all …]
|
H A D | dr_cpu.c | 91 ASSERT(drmach_cpu_get_id(cp->sbc_cm.sbdev_id, &cpuid) == 0); in dr_cpu_unit_is_sane() 141 err = drmach_get_dip(cp->sbc_cm.sbdev_id, &dip); in dr_cpu_set_prop() 235 err = drmach_cpu_get_id(cp->sbc_cm.sbdev_id, &cpuid); in dr_init_cpu_unit() 242 err = drmach_cpu_get_impl(cp->sbc_cm.sbdev_id, &impl); in dr_init_cpu_unit() 338 err = drmach_configure(cp->sbdev_id, 0); in dr_attach_cpu() 344 err = drmach_cpu_get_id(cp->sbdev_id, &cpuid); in dr_attach_cpu() 348 err = drmach_unconfigure(cp->sbdev_id, DEVI_BRANCH_DESTROY); in dr_attach_cpu() 353 err = drmach_unconfigure(cp->sbdev_id, DEVI_BRANCH_DESTROY); in dr_attach_cpu() 499 err = drmach_release(up->sbc_cm.sbdev_id); in dr_pre_release_cpu() 627 err = drmach_cpu_get_id(cp->sbdev_id, &cpuid); in dr_detach_cpu() [all …]
|
H A D | dr_mem.c | 150 mp->sbm_cm.sbdev_id, &mlist); in dr_get_memlist() 271 f, err, mp->sbm_cm.sbdev_id); in dr_release_mem() 296 err = drmach_configure(cp->sbdev_id, 0); in dr_attach_mem() 338 mp->sbm_cm.sbdev_id, mc->ml_address, mc->ml_size); in dr_attach_mem() 350 err = drmach_unconfigure(cp->sbdev_id, in dr_attach_mem() 372 cpuid = drmach_mem_cpu_affinity(mp->sbm_cm.sbdev_id); in dr_mem_ecache_scrub() 457 affinity_set(drmach_mem_cpu_affinity(t_mp->sbm_cm.sbdev_id)); in dr_move_memory() 460 t_mp->sbm_cm.sbdev_id, _ptob64(t_mp->sbm_slice_offset), in dr_move_memory() 461 s_mp->sbm_cm.sbdev_id, c_ml, &cr_id); in dr_move_memory() 602 err = drmach_mem_disable(s_mp->sbm_cm.sbdev_id); in dr_detach_mem() [all …]
|
H A D | dr.c | 1573 ASSERT(cp->sbdev_id != (drmachid_t)0); in dr_dev_is_target() 2871 dp->du_common.sbdev_id = id; in dr_dev_found() 2960 err = drmach_cpu_get_id(cp->sbdev_id, &cpuid); in dr_check_unit_attached() 2973 err = drmach_mem_get_base_physaddr(cp->sbdev_id, &basepa); in dr_check_unit_attached() 2983 err = drmach_mem_get_slice_size(cp->sbdev_id, &endpa); in dr_check_unit_attached() 3009 err = drmach_io_is_attached(cp->sbdev_id, &yes); in dr_check_unit_attached() 3020 f, cp->sbdev_type, cp->sbdev_id); in dr_check_unit_attached() 3056 id = cp->sbdev_id; in dr_pt_try_drmach()
|
/titanic_44/usr/src/uts/sun4u/opl/io/ |
H A D | dr_mem.c | 172 mp->sbm_cm.sbdev_id, &mlist); in dr_get_memlist() 293 f, err, mp->sbm_cm.sbdev_id); in dr_release_mem() 318 err = drmach_configure(cp->sbdev_id, 0); in dr_attach_mem() 360 mp->sbm_cm.sbdev_id, mc->ml_address, mc->ml_size); in dr_attach_mem() 372 err = drmach_unconfigure(cp->sbdev_id, 0); in dr_attach_mem() 486 t_mp->sbm_cm.sbdev_id, s_mp->sbm_cm.sbdev_id, c_ml, &cr_id); in dr_move_memory() 610 err = drmach_mem_disable(s_mp->sbm_cm.sbdev_id); in dr_detach_mem() 631 err = drmach_unconfigure(s_mp->sbm_cm.sbdev_id, 0); in dr_detach_mem() 723 if (mp->sbm_cm.sbdev_id == (drmachid_t)0) in dr_mem_status() 727 err = drmach_status(mp->sbm_cm.sbdev_id, &pstat); in dr_mem_status() [all …]
|
/titanic_44/usr/src/uts/sun4u/ngdr/sys/ |
H A D | dr.h | 286 drmachid_t sbdev_id; member
|
/titanic_44/usr/src/uts/i86pc/sys/ |
H A D | dr.h | 316 drmachid_t sbdev_id; member
|