Lines Matching refs:cn_state

480 			if ((slot_p->hs_info.cn_state !=  in pcishpc_slot_get_property()
515 if (slot_p->hs_info.cn_state <= DDI_HP_CN_STATE_EMPTY) in pcishpc_slot_get_property()
787 *((ddi_hp_cn_state_t *)result) = slot_p->hs_info.cn_state; in pcishpc_hp_ops()
799 *((ddi_hp_cn_state_t *)result) = slot_p->hs_info.cn_state; in pcishpc_hp_ops()
981 slot_p->hs_info.cn_state = DDI_HP_CN_STATE_EMPTY; in pcishpc_create_slot()
1037 if (slot_p->hs_info.cn_state >= DDI_HP_CN_STATE_ENABLED) in pcishpc_register_slot()
1212 if (slot_p->hs_info.cn_state >= DDI_HP_CN_STATE_POWERED) { in pcishpc_slot_poweron()
1217 *result_state = slot_p->hs_info.cn_state; in pcishpc_slot_poweron()
1221 if (slot_p->hs_info.cn_state == DDI_HP_CN_STATE_EMPTY) { in pcishpc_slot_poweron()
1253 slot_p->hs_info.cn_state, slot_p->hs_ctrl->hc_curr_bus_speed, in pcishpc_slot_poweron()
1277 slot_p->hs_info.cn_state = DDI_HP_CN_STATE_ENABLED; in pcishpc_slot_poweron()
1296 slot_p->hs_info.cn_state = DDI_HP_CN_STATE_POWERED; in pcishpc_slot_poweron()
1304 if (slot_p->hs_info.cn_state < DDI_HP_CN_STATE_POWERED) { in pcishpc_slot_poweron()
1311 *result_state = slot_p->hs_info.cn_state; in pcishpc_slot_poweron()
1332 if (slot_p->hs_info.cn_state < DDI_HP_CN_STATE_POWERED) { in pcishpc_slot_poweroff()
1337 *result_state = slot_p->hs_info.cn_state; in pcishpc_slot_poweroff()
1354 slot_p->hs_info.cn_state, slot_p->hs_ctrl->hc_curr_bus_speed, in pcishpc_slot_poweroff()
1379 slot_p->hs_info.cn_state = DDI_HP_CN_STATE_PRESENT; in pcishpc_slot_poweroff()
1397 if (slot_p->hs_info.cn_state > DDI_HP_CN_STATE_PRESENT) { in pcishpc_slot_poweroff()
1406 *result_state = slot_p->hs_info.cn_state; in pcishpc_slot_poweroff()
1505 curr_state = slot_p->hs_info.cn_state; in pcishpc_upgrade_slot_state()
1515 curr_state = slot_p->hs_info.cn_state; in pcishpc_upgrade_slot_state()
1523 curr_state = slot_p->hs_info.cn_state = in pcishpc_upgrade_slot_state()
1543 curr_state = slot_p->hs_info.cn_state; in pcishpc_downgrade_slot_state()
1553 curr_state = slot_p->hs_info.cn_state; in pcishpc_downgrade_slot_state()
1562 curr_state = slot_p->hs_info.cn_state = in pcishpc_downgrade_slot_state()
1584 curr_state = slot_p->hs_info.cn_state; in pcishpc_change_slot_state()
1747 if (slot_p->hs_info.cn_state <= in pcishpc_attn_btn_handler()
1795 ddi_hp_cn_state_t curr_state = slot_p->hs_info.cn_state; in pcishpc_get_slot_state()
1802 slot_p->hs_info.cn_state = pcishpc_slot_shpc_to_hpc(reg); in pcishpc_get_slot_state()
1804 slot_p->hs_info.cn_state > DDI_HP_CN_STATE_POWERED) { in pcishpc_get_slot_state()
1814 slot_p->hs_info.cn_state = DDI_HP_CN_STATE_POWERED; in pcishpc_get_slot_state()
2219 return (pcishpc_set_slot_state(slot_p, slot_p->hs_info.cn_state)); in pcishpc_setled()