Home
last modified time | relevance | path

Searched refs:lstate (Results 1 – 12 of 12) sorted by relevance

/drivers/cpuidle/governors/
Dladder.c135 struct ladder_device_state *lstate; in ladder_enable_device() local
142 lstate = &ldev->states[i]; in ladder_enable_device()
144 lstate->stats.promotion_count = 0; in ladder_enable_device()
145 lstate->stats.demotion_count = 0; in ladder_enable_device()
147 lstate->threshold.promotion_count = PROMOTION_COUNT; in ladder_enable_device()
148 lstate->threshold.demotion_count = DEMOTION_COUNT; in ladder_enable_device()
151 lstate->threshold.promotion_time = state->exit_latency; in ladder_enable_device()
153 lstate->threshold.demotion_time = state->exit_latency; in ladder_enable_device()
/drivers/scsi/aic7xxx/
Daic7xxx_core.c230 struct ahc_tmode_lstate *lstate,
3963 struct ahc_tmode_lstate* lstate; in ahc_parse_msg() local
3965 lstate = tstate->enabled_luns[devinfo->lun]; in ahc_parse_msg()
3966 if (lstate != NULL) { in ahc_parse_msg()
3967 ahc_queue_lstate_event(ahc, lstate, in ahc_parse_msg()
3971 ahc_send_lstate_events(ahc, lstate); in ahc_parse_msg()
4344 struct ahc_tmode_lstate* lstate; in ahc_handle_devreset() local
4346 lstate = tstate->enabled_luns[lun]; in ahc_handle_devreset()
4347 if (lstate == NULL) in ahc_handle_devreset()
4350 ahc_queue_lstate_event(ahc, lstate, devinfo->our_scsiid, in ahc_handle_devreset()
[all …]
Daic79xx_core.c230 struct ahd_tmode_lstate *lstate,
5459 struct ahd_tmode_lstate* lstate; in ahd_parse_msg() local
5461 lstate = tstate->enabled_luns[devinfo->lun]; in ahd_parse_msg()
5462 if (lstate != NULL) { in ahd_parse_msg()
5463 ahd_queue_lstate_event(ahd, lstate, in ahd_parse_msg()
5467 ahd_send_lstate_events(ahd, lstate); in ahd_parse_msg()
5945 struct ahd_tmode_lstate* lstate; in ahd_handle_devreset() local
5947 lstate = tstate->enabled_luns[cur_lun]; in ahd_handle_devreset()
5948 if (lstate == NULL) in ahd_handle_devreset()
5951 ahd_queue_lstate_event(ahd, lstate, devinfo->our_scsiid, in ahd_handle_devreset()
[all …]
Daic7xxx.h1247 struct ahc_tmode_lstate **lstate,
Daic79xx.h1440 struct ahd_tmode_lstate **lstate,
/drivers/infiniband/hw/ipath/
Dipath_mad.c428 u16 lstate; in recv_subn_set_portinfo() local
569 lstate = (pip->portphysstate_linkdown >> 4) & 0xF; in recv_subn_set_portinfo()
570 if (lstate && !(state == IB_PORT_DOWN || state == IB_PORT_NOP)) in recv_subn_set_portinfo()
579 if (lstate == 0) in recv_subn_set_portinfo()
583 if (lstate == 0) in recv_subn_set_portinfo()
584 lstate = IPATH_IB_LINKDOWN_ONLY; in recv_subn_set_portinfo()
585 else if (lstate == 1) in recv_subn_set_portinfo()
586 lstate = IPATH_IB_LINKDOWN_SLEEP; in recv_subn_set_portinfo()
587 else if (lstate == 2) in recv_subn_set_portinfo()
588 lstate = IPATH_IB_LINKDOWN; in recv_subn_set_portinfo()
[all …]
Dipath_intr.c259 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()
Dipath_driver.c2036 u32 lstate; in ipath_set_linkstate() local
2083 lstate = IPATH_LINKARMED | IPATH_LINKACTIVE; in ipath_set_linkstate()
2096 lstate = IPATH_LINKACTIVE; in ipath_set_linkstate()
2145 ret = ipath_wait_linkstate(dd, lstate, 2000); in ipath_set_linkstate()
2286 u64 lstate, ltstate, val; in ipath_run_led_override() local
2302 lstate = ipath_ib_linkstate(dd, val); in ipath_run_led_override()
2304 dd->ipath_f_setextled(dd, lstate, ltstate); in ipath_run_led_override()
/drivers/net/
Dsungem.c1357 gp->lstate = link_aneg; in gem_begin_auto_negotiation()
1361 gp->lstate = link_force_ok; in gem_begin_auto_negotiation()
1485 switch (gp->lstate) { in gem_mdio_link_not_up()
1493 gp->lstate = link_force_ok; in gem_mdio_link_not_up()
1509 gp->lstate = link_force_try; in gem_mdio_link_not_up()
1557 if (gp->lstate == link_up) in gem_link_timer()
1560 gp->lstate = link_up; in gem_link_timer()
1572 if (gp->lstate == link_force_try && gp->want_autoneg) { in gem_link_timer()
1573 gp->lstate = link_force_ret; in gem_link_timer()
1580 } else if (gp->lstate != link_up) { in gem_link_timer()
[all …]
Dcassini.c708 int oldstate = cp->lstate; in cas_begin_auto_negotiation()
730 if (cp->lstate == link_up) { in cas_begin_auto_negotiation()
739 cp->lstate = link_down; in cas_begin_auto_negotiation()
770 cp->lstate = link_aneg; in cas_begin_auto_negotiation()
775 cp->lstate = link_force_ok; in cas_begin_auto_negotiation()
788 cp->lstate = link_aneg; in cas_begin_auto_negotiation()
790 cp->lstate = link_force_ok; in cas_begin_auto_negotiation()
1050 if (cp->lstate != link_up) { in cas_pcs_link_check()
1052 cp->lstate = link_up; in cas_pcs_link_check()
1059 } else if (cp->lstate == link_up) { in cas_pcs_link_check()
[all …]
Dsungem.h1011 enum link_state lstate; member
Dcassini.h2834 enum link_state lstate; member