Searched refs:cn_info (Results 1 – 8 of 8) sorted by relevance
/titanic_50/usr/src/uts/common/os/ |
H A D | ddi_hp_impl.c | 190 (void *)hdlp, hdlp->cn_info.cn_state, new_state)); in ddihp_cn_getstate() 192 if (new_state != hdlp->cn_info.cn_state) { in ddihp_cn_getstate() 193 hdlp->cn_info.cn_state = new_state; in ddihp_cn_getstate() 215 if (hdlp->cn_info.cn_state > DDI_HP_CN_STATE_OFFLINE) { in ddihp_cn_unregister() 218 (void *)dip, (void *)hdlp, hdlp->cn_info.cn_state)); in ddihp_cn_unregister() 226 kmem_free(hdlp->cn_info.cn_name, strlen(hdlp->cn_info.cn_name) + 1); in ddihp_cn_unregister() 246 "current cn_name: %s", hdlp->cn_info.cn_name)); in ddihp_cn_name_to_handle() 248 if (strcmp(cn_name, hdlp->cn_info.cn_name) == 0) { in ddihp_cn_name_to_handle() 281 hdlp->cn_info.cn_state; in ddihp_connector_ops() 287 dip, hdlp->cn_info.cn_name, op, arg, result); in ddihp_connector_ops() [all …]
|
H A D | ddi_hp_ndi.c | 101 bcopy(info_p, &(hdlp->cn_info), sizeof (*info_p)); in ndi_hp_register() 104 hdlp->cn_info.cn_name = ddi_strdup(info_p->cn_name, KM_SLEEP); in ndi_hp_register() 124 kmem_free(hdlp->cn_info.cn_name, strlen(hdlp->cn_info.cn_name) + 1); in ndi_hp_register() 297 (void *)dip, curr->cn_info.cn_name)); in ndi_hp_walk_cn() 298 switch ((*f)(&(curr->cn_info), arg)) { in ndi_hp_walk_cn() 390 if (hdlp->cn_info.cn_state != target_state) { in ddihp_cn_req_handler()
|
H A D | devcfg.c | 755 if (hdlp->cn_info.cn_child == dip) in unlink_node() 756 hdlp->cn_info.cn_child = NULL; in unlink_node()
|
/titanic_50/usr/src/cmd/mdb/common/modules/genunix/ |
H A D | hotplug.c | 78 hdl.cn_info.cn_type != DDI_HP_CN_TYPE_VIRTUAL_PORT) { in hotplug_print() 80 (uintptr_t)hdl.cn_info.cn_type_str) == -1) { in hotplug_print() 85 (uintptr_t)hdl.cn_info.cn_name) == -1) { in hotplug_print() 90 hdlp, ddihp_get_cn_state(hdl.cn_info.cn_state), in hotplug_print() 151 (uintptr_t)hdl.cn_info.cn_type_str) == -1) { in hotplug() 156 (uintptr_t)hdl.cn_info.cn_name) == -1) { in hotplug() 161 ddihp_get_cn_state(hdl.cn_info.cn_state), cn_type, cn_name); in hotplug()
|
/titanic_50/usr/src/uts/common/io/pciex/hotplug/ |
H A D | pcie_hp.c | 71 ddi_hp_cn_info_t *cn_info); 691 pcie_hp_create_port_name_num(dev_info_t *dip, ddi_hp_cn_info_t *cn_info) in pcie_hp_create_port_name_num() argument 731 cn_info->cn_name = (char *)kmem_zalloc(name_len, KM_SLEEP); in pcie_hp_create_port_name_num() 732 (void) snprintf(cn_info->cn_name, name_len, "pci.%x,%x", in pcie_hp_create_port_name_num() 734 cn_info->cn_num = (dev_num << 8) | func_num; in pcie_hp_create_port_name_num() 737 cn_info->cn_num_dpd_on = slot ? in pcie_hp_create_port_name_num() 784 ddi_hp_cn_info_t *cn_info) in pcie_hp_setup_port_name_num() argument 795 cn_info->cn_state = DDI_HP_CN_STATE_PRESENT; in pcie_hp_setup_port_name_num() 797 cn_info->cn_state = DDI_HP_CN_STATE_EMPTY; in pcie_hp_setup_port_name_num() 800 cn_info->cn_name = ddi_strdup(cn_name, KM_SLEEP); in pcie_hp_setup_port_name_num() [all …]
|
/titanic_50/usr/src/uts/common/sys/ |
H A D | ddi_hp_impl.h | 45 (hdlp->cn_info.cn_type == DDI_HP_CN_TYPE_VIRTUAL_PORT) 54 ddi_hp_cn_info_t cn_info; /* Connection info */ member
|
/titanic_50/usr/src/uts/common/io/ |
H A D | cons.c | 77 static int cn_info(dev_info_t *, ddi_info_cmd_t, void *, void **); 107 cn_info, /* info */ 240 cn_info(dev_info_t *dip, ddi_info_cmd_t infocmd, void *arg, void **result) in cn_info() function
|
H A D | devinfo.c | 3569 me->hp_connection = (int)hp_hdl->cn_info.cn_num; in di_gethpdata() 3570 me->hp_depends_on = (int)hp_hdl->cn_info.cn_num_dpd_on; in di_gethpdata() 3572 me->hp_state = (int)hp_hdl->cn_info.cn_state; in di_gethpdata() 3573 me->hp_type = (int)hp_hdl->cn_info.cn_type; in di_gethpdata() 3575 me->hp_last_change = (uint32_t)hp_hdl->cn_info.cn_last_change; in di_gethpdata() 3585 hp->hp_child = hp_hdl->cn_info.cn_child; in di_gethpdata() 3591 if (hp_hdl->cn_info.cn_name) { in di_gethpdata() 3592 size = strlen(hp_hdl->cn_info.cn_name) + 1; in di_gethpdata() 3595 hp_hdl->cn_info.cn_name); in di_gethpdata() 3600 if (hp_hdl->cn_info.cn_type_str) { in di_gethpdata() [all …]
|