Home
last modified time | relevance | path

Searched refs:curr_state (Results 1 – 11 of 11) sorted by relevance

/titanic_41/usr/src/uts/common/os/
H A Dddi_hp_impl.c383 ddi_hp_cn_state_t curr_state = hdlp->cn_info.cn_state; in ddihp_port_ops() local
386 if (curr_state != hdlp->cn_info.cn_state) { in ddihp_port_ops()
592 ddi_hp_cn_state_t curr_state = hdlp->cn_info.cn_state; in ddihp_cn_pre_change_state() local
596 if (curr_state > target_state && in ddihp_cn_pre_change_state()
597 curr_state == DDI_HP_CN_STATE_ENABLED) { in ddihp_cn_pre_change_state()
651 ddi_hp_cn_state_t curr_state = hdlp->cn_info.cn_state; in ddihp_cn_post_change_state() local
654 if (new_state != curr_state) { in ddihp_cn_post_change_state()
659 if (curr_state < new_state && in ddihp_cn_post_change_state()
667 if (curr_state != hdlp->cn_info.cn_state) { in ddihp_cn_post_change_state()
842 ddi_hp_cn_state_t curr_state = hdlp->cn_info.cn_state; in ddihp_port_change_state() local
[all …]
/titanic_41/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/
H A Dlm_util.c198 lm_status_t lm_wait_state_change(struct _lm_device_t *pdev, volatile u32_t * curr_state, u32_t new_… in lm_wait_state_change() argument
209 *curr_state = new_state; in lm_wait_state_change()
216 while ((*curr_state != new_state) && to_cnt--) in lm_wait_state_change()
236 if ( *curr_state != new_state) in lm_wait_state_change()
240 *curr_state, new_state); in lm_wait_state_change()
H A Dlm_sp.c67 IN volatile u32_t *curr_state, in lm_empty_ramrod_eth() argument
73 DbgMessage(pdev, INFORMi|INFORMl2sp, "#lm_empty_ramrod_eth_conn, curr_state=%d\n",curr_state); in lm_empty_ramrod_eth()
95 if (curr_state != NULL) in lm_empty_ramrod_eth()
98 curr_state, in lm_empty_ramrod_eth()
1106 IN u32_t curr_state, in lm_eq_ramrod_post_sync() argument
1114 *p_curr_state = curr_state; in lm_eq_ramrod_post_sync()
1427 IN const u32_t curr_state) in lm_niv_post_command() argument
1430 const niv_ramrod_state_t niv_ramrod_state = curr_state; in lm_niv_post_command()
1432 DbgBreakIf((NIV_RAMROD_COMPLETED == curr_state)|| in lm_niv_post_command()
1433 (NIV_RAMROD_NOT_POSTED == curr_state)); in lm_niv_post_command()
/titanic_41/usr/src/uts/common/io/pciex/hotplug/
H A Dpcishpc.c1494 ddi_hp_cn_state_t curr_state; in pcishpc_upgrade_slot_state() local
1501 curr_state = slot_p->hs_info.cn_state; in pcishpc_upgrade_slot_state()
1502 while ((curr_state < target_state) && (rv == DDI_SUCCESS)) { in pcishpc_upgrade_slot_state()
1504 switch (curr_state) { in pcishpc_upgrade_slot_state()
1511 curr_state = slot_p->hs_info.cn_state; in pcishpc_upgrade_slot_state()
1512 if (curr_state < DDI_HP_CN_STATE_PRESENT) in pcishpc_upgrade_slot_state()
1516 rv = pcishpc_slot_poweron(slot_p, &curr_state); in pcishpc_upgrade_slot_state()
1519 curr_state = slot_p->hs_info.cn_state = in pcishpc_upgrade_slot_state()
1535 ddi_hp_cn_state_t curr_state; in pcishpc_downgrade_slot_state() local
1539 curr_state = slot_p->hs_info.cn_state; in pcishpc_downgrade_slot_state()
[all …]
H A Dpciehpc.c507 ddi_hp_cn_state_t curr_state = slot_p->hs_info.cn_state; in pciehpc_get_slot_state() local
546 if (curr_state == DDI_HP_CN_STATE_POWERED) { in pciehpc_get_slot_state()
547 slot_p->hs_info.cn_state = curr_state; in pciehpc_get_slot_state()
1393 ddi_hp_cn_state_t curr_state; in pciehpc_upgrade_slot_state() local
1400 curr_state = slot_p->hs_info.cn_state; in pciehpc_upgrade_slot_state()
1401 while ((curr_state < target_state) && (rv == DDI_SUCCESS)) { in pciehpc_upgrade_slot_state()
1403 switch (curr_state) { in pciehpc_upgrade_slot_state()
1410 curr_state = slot_p->hs_info.cn_state; in pciehpc_upgrade_slot_state()
1411 if (curr_state < DDI_HP_CN_STATE_PRESENT) in pciehpc_upgrade_slot_state()
1416 &curr_state); in pciehpc_upgrade_slot_state()
[all …]
H A Dpcie_hp.c919 ddi_hp_cn_state_t curr_state; in pcie_hp_common_ops() local
938 curr_state = state_arg.cn_state; in pcie_hp_common_ops()
943 if (curr_state < target_state) { in pcie_hp_common_ops()
945 switch (curr_state) { in pcie_hp_common_ops()
980 switch (curr_state) { in pcie_hp_common_ops()
1004 *(ddi_hp_cn_state_t *)result = curr_state; in pcie_hp_common_ops()
/titanic_41/usr/src/uts/intel/io/pciex/hotplug/
H A Dpciehpc_acpi.c480 ddi_hp_cn_state_t curr_state; in pciehpc_acpi_notify_handler() local
500 curr_state = slot_p->hs_info.cn_state; in pciehpc_acpi_notify_handler()
525 if (curr_state < DDI_HP_CN_STATE_POWERED) { in pciehpc_acpi_notify_handler()
/titanic_41/usr/src/lib/libnwam/common/
H A Dlibnwam_loc.c1068 boolean_t curr_state, enabled = B_FALSE; in loc_set_enabled() local
1084 if (nwam_loc_is_enabled(loch, &curr_state) == NWAM_SUCCESS && in loc_set_enabled()
1085 curr_state == enabled) in loc_set_enabled()
/titanic_41/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/include/
H A Dlm.h1773 lm_status_t lm_wait_state_change(struct _lm_device_t *pdev, volatile u32_t * curr_state, u32_t new_…
H A Dlm5710.h3544 IN volatile u32_t *curr_state,
3560 IN u32_t curr_state,
3684 lm_status_t lm_wait_state_change(struct _lm_device_t *pdev, volatile u32_t * curr_state, u32_t new_…
/titanic_41/usr/src/cmd/picl/plugins/sun4u/daktari/psvcpolicy/
H A Dpsvcpolicy.c1852 char curr_state[32], prev_state[32], led_state[32]; in psvc_check_disk_fault_policy_0() local
1887 curr_state[0] = 0; in psvc_check_disk_fault_policy_0()