/drivers/cpuidle/governors/ |
D | ladder.c | 142 struct ladder_device_state *lstate; in ladder_enable_device() local 149 lstate = &ldev->states[i]; in ladder_enable_device() 151 lstate->stats.promotion_count = 0; in ladder_enable_device() 152 lstate->stats.demotion_count = 0; in ladder_enable_device() 154 lstate->threshold.promotion_count = PROMOTION_COUNT; in ladder_enable_device() 155 lstate->threshold.demotion_count = DEMOTION_COUNT; in ladder_enable_device() 158 lstate->threshold.promotion_time = state->exit_latency; in ladder_enable_device() 160 lstate->threshold.demotion_time = state->exit_latency; in ladder_enable_device()
|
/drivers/infiniband/hw/qib/ |
D | qib_intr.c | 87 u32 lstate; in qib_handle_e_ibstatuschanged() local 91 lstate = dd->f_iblink_state(ibcs); /* linkstate */ in qib_handle_e_ibstatuschanged() 103 if (lstate >= IB_PORT_INIT && in qib_handle_e_ibstatuschanged() 118 if (lstate != IB_PORT_DOWN) { in qib_handle_e_ibstatuschanged() 120 if (lstate != IB_PORT_ACTIVE) { in qib_handle_e_ibstatuschanged() 125 if (lstate == IB_PORT_ARMED) { in qib_handle_e_ibstatuschanged()
|
D | qib_driver.c | 199 u32 lstate; in qib_set_linkstate() local 253 lstate = QIBL_LINKV; in qib_set_linkstate() 267 lstate = QIBL_LINKACTIVE; in qib_set_linkstate() 274 ret = qib_wait_linkstate(ppd, lstate, 10); in qib_set_linkstate()
|
D | qib_mad.c | 666 u16 lstate; in subn_set_portinfo() local 815 lstate = (pip->portphysstate_linkdown >> 4) & 0xF; in subn_set_portinfo() 816 if (lstate && !(state == IB_PORT_DOWN || state == IB_PORT_NOP)) in subn_set_portinfo() 825 if (lstate == 0) in subn_set_portinfo() 829 if (lstate == 0) in subn_set_portinfo() 830 lstate = QIB_IB_LINKDOWN_ONLY; in subn_set_portinfo() 831 else if (lstate == 1) in subn_set_portinfo() 832 lstate = QIB_IB_LINKDOWN_SLEEP; in subn_set_portinfo() 833 else if (lstate == 2) in subn_set_portinfo() 834 lstate = QIB_IB_LINKDOWN; in subn_set_portinfo() [all …]
|
/drivers/scsi/aic7xxx/ |
D | aic7xxx_core.c | 230 struct ahc_tmode_lstate *lstate, 3962 struct ahc_tmode_lstate* lstate; in ahc_parse_msg() local 3964 lstate = tstate->enabled_luns[devinfo->lun]; in ahc_parse_msg() 3965 if (lstate != NULL) { in ahc_parse_msg() 3966 ahc_queue_lstate_event(ahc, lstate, in ahc_parse_msg() 3970 ahc_send_lstate_events(ahc, lstate); in ahc_parse_msg() 4343 struct ahc_tmode_lstate* lstate; in ahc_handle_devreset() local 4345 lstate = tstate->enabled_luns[lun]; in ahc_handle_devreset() 4346 if (lstate == NULL) in ahc_handle_devreset() 4349 ahc_queue_lstate_event(ahc, lstate, devinfo->our_scsiid, in ahc_handle_devreset() [all …]
|
D | aic79xx_core.c | 230 struct ahd_tmode_lstate *lstate, 5468 struct ahd_tmode_lstate* lstate; in ahd_parse_msg() local 5470 lstate = tstate->enabled_luns[devinfo->lun]; in ahd_parse_msg() 5471 if (lstate != NULL) { in ahd_parse_msg() 5472 ahd_queue_lstate_event(ahd, lstate, in ahd_parse_msg() 5476 ahd_send_lstate_events(ahd, lstate); in ahd_parse_msg() 5954 struct ahd_tmode_lstate* lstate; in ahd_handle_devreset() local 5956 lstate = tstate->enabled_luns[cur_lun]; in ahd_handle_devreset() 5957 if (lstate == NULL) in ahd_handle_devreset() 5960 ahd_queue_lstate_event(ahd, lstate, devinfo->our_scsiid, in ahd_handle_devreset() [all …]
|
D | aic7xxx.h | 1247 struct ahc_tmode_lstate **lstate,
|
D | aic79xx.h | 1440 struct ahd_tmode_lstate **lstate,
|
/drivers/infiniband/hw/ipath/ |
D | ipath_mad.c | 429 u16 lstate; in recv_subn_set_portinfo() local 570 lstate = (pip->portphysstate_linkdown >> 4) & 0xF; in recv_subn_set_portinfo() 571 if (lstate && !(state == IB_PORT_DOWN || state == IB_PORT_NOP)) in recv_subn_set_portinfo() 580 if (lstate == 0) in recv_subn_set_portinfo() 584 if (lstate == 0) in recv_subn_set_portinfo() 585 lstate = IPATH_IB_LINKDOWN_ONLY; in recv_subn_set_portinfo() 586 else if (lstate == 1) in recv_subn_set_portinfo() 587 lstate = IPATH_IB_LINKDOWN_SLEEP; in recv_subn_set_portinfo() 588 else if (lstate == 2) in recv_subn_set_portinfo() 589 lstate = IPATH_IB_LINKDOWN; in recv_subn_set_portinfo() [all …]
|
D | ipath_intr.c | 259 u32 ltstate, lstate, ibstate, lastlstate; in handle_e_ibstatuschanged() local 265 lstate = ipath_ib_linkstate(dd, ibcs); /* linkstate */ in handle_e_ibstatuschanged() 289 if (lstate >= INFINIPATH_IBCS_L_STATE_INIT && in handle_e_ibstatuschanged() 408 dd->ipath_f_setextled(dd, lstate, ltstate); in handle_e_ibstatuschanged() 416 if (lstate == lastlstate) in handle_e_ibstatuschanged() 436 dd->ipath_unit, lstate, in handle_e_ibstatuschanged()
|
D | ipath_driver.c | 2002 u32 lstate; in ipath_set_linkstate() local 2049 lstate = IPATH_LINKARMED | IPATH_LINKACTIVE; in ipath_set_linkstate() 2062 lstate = IPATH_LINKACTIVE; in ipath_set_linkstate() 2111 ret = ipath_wait_linkstate(dd, lstate, 2000); in ipath_set_linkstate() 2252 u64 lstate, ltstate, val; in ipath_run_led_override() local 2268 lstate = ipath_ib_linkstate(dd, val); in ipath_run_led_override() 2270 dd->ipath_f_setextled(dd, lstate, ltstate); in ipath_run_led_override()
|
/drivers/net/ethernet/sun/ |
D | sungem.c | 1324 gp->lstate = link_aneg; in gem_begin_auto_negotiation() 1328 gp->lstate = link_force_ok; in gem_begin_auto_negotiation() 1452 switch (gp->lstate) { in gem_mdio_link_not_up() 1459 gp->lstate = link_force_ok; in gem_mdio_link_not_up() 1473 gp->lstate = link_force_try; in gem_mdio_link_not_up() 1512 if (gp->lstate == link_up) in gem_link_timer() 1515 gp->lstate = link_up; in gem_link_timer() 1527 if (gp->lstate == link_force_try && gp->want_autoneg) { in gem_link_timer() 1528 gp->lstate = link_force_ret; in gem_link_timer() 1535 } else if (gp->lstate != link_up) { in gem_link_timer() [all …]
|
D | cassini.c | 700 int oldstate = cp->lstate; in cas_begin_auto_negotiation() 723 if (cp->lstate == link_up) { in cas_begin_auto_negotiation() 730 cp->lstate = link_down; in cas_begin_auto_negotiation() 761 cp->lstate = link_aneg; in cas_begin_auto_negotiation() 766 cp->lstate = link_force_ok; in cas_begin_auto_negotiation() 779 cp->lstate = link_aneg; in cas_begin_auto_negotiation() 781 cp->lstate = link_force_ok; in cas_begin_auto_negotiation() 1035 if (cp->lstate != link_up) { in cas_pcs_link_check() 1037 cp->lstate = link_up; in cas_pcs_link_check() 1044 } else if (cp->lstate == link_up) { in cas_pcs_link_check() [all …]
|
D | sungem.h | 1001 enum link_state lstate; member
|
D | cassini.h | 2832 enum link_state lstate; member
|
/drivers/staging/lustre/lustre/obdclass/ |
D | cl_object.c | 463 static const char *lstate[] = { in cl_site_stats_print() local 488 seq_printf(m, "%s: %u ", lstate[i], in cl_site_stats_print()
|