Home
last modified time | relevance | path

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

/titanic_41/usr/src/uts/intel/io/pciex/hotplug/
H A Dpciehpc_acpi.c481 int dev_state = 0; in pciehpc_acpi_notify_handler() local
493 &dev_state) != AE_OK) { in pciehpc_acpi_notify_handler()
498 slot_p->hs_phy_slot_num, dev_state); in pciehpc_acpi_notify_handler()
520 slot_p->hs_phy_slot_num, dev_state); in pciehpc_acpi_notify_handler()
578 int dev_state = 0; in pciehpc_acpi_power_on_slot() local
588 &dev_state) != AE_OK) in pciehpc_acpi_power_on_slot()
594 slot_p->hs_phy_slot_num, dev_state); in pciehpc_acpi_power_on_slot()
601 slot_p->hs_phy_slot_num, dev_state, status); in pciehpc_acpi_power_on_slot()
616 int dev_state = 0; in pciehpc_acpi_power_off_slot() local
626 &dev_state) != AE_OK) in pciehpc_acpi_power_off_slot()
[all …]
/titanic_41/usr/src/uts/common/io/scsi/adapters/pmcs/
H A Dpmcs_ds.c120 } else if (*ds != xp->dev_state) { in pmcs_get_dev_state()
123 *ds, xp->dev_state); in pmcs_get_dev_state()
212 xp->dev_state = nds; in pmcs_set_dev_state()
319 tgt_dev_state = tgt->dev_state; in pmcs_dev_state_recovery()
368 tgt->dev_state = ds; in pmcs_dev_state_recovery()
498 pmcs_send_err_recovery_cmd(pmcs_hw_t *pwp, uint8_t dev_state, pmcs_phy_t *phyp, in pmcs_send_err_recovery_cmd() argument
511 tgt_dev_state = tgt->dev_state; in pmcs_send_err_recovery_cmd()
523 "%s: ds: 0x%x, tgt ds(0x%x)", __func__, dev_state, tgt_dev_state); in pmcs_send_err_recovery_cmd()
525 switch (dev_state) { in pmcs_send_err_recovery_cmd()
576 tgt->dev_state = PMCS_DEVICE_STATE_NON_OPERATIONAL; in pmcs_send_err_recovery_cmd()
[all …]
H A Dpmcs_scsa.c1168 if (xp->dev_state != in pmcs_smp_start()
1170 xp->dev_state = in pmcs_smp_start()
1302 tgt->dev_state = PMCS_DEVICE_STATE_OPERATIONAL; in pmcs_smp_init()
3225 tgt->dev_state = PMCS_DEVICE_STATE_OPERATIONAL; in pmcs_get_target()
H A Dpmcs_subr.c4987 if ((tgt->dev_state != PMCS_DEVICE_STATE_IN_RECOVERY) && in pmcs_abort()
4988 (tgt->dev_state != in pmcs_abort()
5029 if (tgt->dev_state == PMCS_DEVICE_STATE_IN_RECOVERY) { in pmcs_abort()
5103 if (xp->dev_state == PMCS_DEVICE_STATE_NON_OPERATIONAL) { in pmcs_ssp_tmf()
5167 if (xp->dev_state != ds) { in pmcs_ssp_tmf()
5183 if (xp->dev_state != ds) { in pmcs_ssp_tmf()
5351 if (tgt->dev_state != ds) { in pmcs_sata_abort_ncq()
6827 xp->dev_state = 0; in pmcs_clear_xp()
H A Dpmcs_attach.c1788 target->dev_state = PMCS_DEVICE_STATE_OPERATIONAL; in pmcs_add_new_device()
/titanic_41/usr/src/uts/common/io/usb/usba/
H A Dusbai_util.c1868 static conv_table_t dev_state[] = { variable
1879 return (usba_get_name(dev_state, state)); in usb_str_dev_state()
2258 usb_common_pwrlvl0(dev_info_t *dip, uint8_t *pm, int *dev_state) in usb_common_pwrlvl0() argument
2262 switch (*dev_state) { in usb_common_pwrlvl0()
2268 *dev_state = USB_DEV_PWRED_DOWN; in usb_common_pwrlvl0()
2285 usb_common_pwrlvl1(dev_info_t *dip, uint8_t *pm, int *dev_state) in usb_common_pwrlvl1() argument
2299 usb_common_pwrlvl2(dev_info_t *dip, uint8_t *pm, int *dev_state) in usb_common_pwrlvl2() argument
2312 usb_common_pwrlvl3(dev_info_t *dip, uint8_t *pm, int *dev_state) in usb_common_pwrlvl3() argument
2316 switch (*dev_state) { in usb_common_pwrlvl3()
2322 *dev_state = USB_DEV_ONLINE; in usb_common_pwrlvl3()
[all …]
H A Dusba_ugen.c1065 ugenp->ug_ds.dev_stat, ugenp->ug_ds.dev_state); in usb_ugen_poll()
4057 int len = min(sizeof (ugenp->ug_ds.dev_state), bp->b_bcount); in ugen_ds_req()
4084 ugenp->ug_ds.dev_state = USB_DEV_STAT_ONLINE; in ugen_ds_req()
4088 ugenp->ug_ds.dev_state = USB_DEV_STAT_DISCONNECTED; in ugen_ds_req()
4093 ugenp->ug_ds.dev_state = USB_DEV_STAT_RESUMED; in ugen_ds_req()
4098 ugenp->ug_ds.dev_state = USB_DEV_STAT_UNAVAILABLE; in ugen_ds_req()
4107 bcopy(&ugenp->ug_ds.dev_state, bp->b_un.b_addr, len); in ugen_ds_req()
/titanic_41/usr/src/uts/sun4u/io/pci/
H A Ddb21554.c626 if (dbp->dev_state & DB_SECONDARY_NEXUS) { in db_attach()
660 if (dbp->dev_state & DB_SECONDARY_NEXUS) in db_attach()
687 dbp->dev_state |= DB_ATTACHED; in db_attach()
699 dbp->dev_state &= ~DB_SUSPENDED; in db_attach()
727 if (dbp->dev_state & DB_SECONDARY_NEXUS) in db_detach()
738 dbp->dev_state &= ~DB_ATTACHED; in db_detach()
752 dbp->dev_state |= DB_SUSPENDED; in db_detach()
792 if (dbp->dev_state & DB_SECONDARY_NEXUS) in db_set_perf_parameters()
883 dbp->dev_state = DB_SECONDARY_NEXUS; in db_orientation()
889 dbp->dev_state = DB_PRIMARY_NEXUS; in db_orientation()
[all …]
/titanic_41/usr/src/uts/common/sys/fibre-channel/
H A Dfcio.h117 uint32_t dev_state; /* port state */ member
133 uint32_t dev_state; /* port state */ member
/titanic_41/usr/src/uts/sun4u/sys/pci/
H A Ddb21554_ctrl.h73 uint32_t dev_state; /* device state */ member
/titanic_41/usr/src/uts/common/sys/usb/usba/
H A Dusba_ugend.h241 uint_t dev_state; /* exported state */ member
/titanic_41/usr/src/uts/common/io/cxgbe/common/
H A Dcommon.h55 enum dev_state { DEV_STATE_UNINIT, DEV_STATE_INIT, DEV_STATE_ERR }; enum
438 enum dev_master master, enum dev_state *state);
H A Dt4_hw.c3858 enum dev_master master, enum dev_state *state) in t4_fw_hello()
/titanic_41/usr/src/uts/common/io/fibre-channel/fca/qlc/
H A Dql_nx.c1872 uint32_t dev_state, drv_state, rval; in ql_8021_idc_handler() local
1884 ql_8021_rd_32(ha, CRB_DEV_STATE, &dev_state); in ql_8021_idc_handler()
1886 switch (dev_state) { in ql_8021_idc_handler()
1953 EL(ha, "dev_state=%x, default\n", dev_state); in ql_8021_idc_handler()
/titanic_41/usr/src/uts/common/sys/scsi/adapters/pmcs/
H A Dpmcs.h107 dev_state : 4; member
/titanic_41/usr/src/cmd/picl/plugins/sun4u/daktari/psvcpolicy/
H A Dpsvcpolicy.c1982 char dev_state[32], led_state[32]; in psvc_update_FSP_fault_led_policy_0() local
2006 dev_state); in psvc_update_FSP_fault_led_policy_0()
2010 if (strcmp(dev_state, PSVC_ERROR) == 0) { in psvc_update_FSP_fault_led_policy_0()
/titanic_41/usr/src/uts/common/io/fibre-channel/fca/emlxs/
H A Demlxs_dfc.c940 port_dev->dev_state = port->ulp_statec; in emlxs_fcio_get_host_params()
954 port_dev->dev_state = FC_STATE_OFFLINE; in emlxs_fcio_get_host_params()
989 port_dev->dev_state = port->ulp_statec; in emlxs_fcio_get_host_params()
1003 port_dev->dev_state = FC_STATE_OFFLINE; in emlxs_fcio_get_host_params()
1813 port_dev->dev_state = in emlxs_fcio_get_dev_list()
1891 port_dev->dev_state = in emlxs_fcio_get_dev_list()
/titanic_41/usr/src/uts/common/io/fibre-channel/impl/
H A Dfp.c7316 val->dev_state = port->fp_state; in fp_fciocmd()
7342 val32->dev_state = val->dev_state; in fp_fciocmd()
10070 devlist[count].dev_state = pd->pd_state; in fp_fillout_p2pmap()
10547 devlist[count].dev_state = pd->pd_state; in fp_fillout_loopmap()
13258 userbuf->dev_state = pd->pd_state; in fp_gan_handler()
13263 userbuf->dev_state = in fp_gan_handler()
/titanic_41/usr/src/cmd/mdb/common/modules/pmcs/
H A Dpmcs.c793 mdb_printf(" %2d", xs.dev_state); in display_targets()
/titanic_41/usr/src/uts/common/io/cxgbe/t4nex/
H A Dt4_nexus.c1006 enum dev_state state; in prep_firmware()